net.spy.digg
Interface Story

All Known Implementing Classes:
StoryImpl

public interface Story

A Digg story.


Method Summary
 int getComments()
          Get the number of comments on this story.
 TopicContainer getContainer()
          Get the topic container of this story.
 java.lang.String getDescription()
          Get the description of this story.
 java.lang.String getDiggLink()
          Get the link to this story within digg.
 int getDiggs()
          Get the number of diggs on this story.
 int getId()
          Get the ID of this story.
 java.lang.String getLink()
          Get the link to this story.
 java.lang.String getMedia()
          Add the media type of this story.
 long getPromoteTimestamp()
          Get the timestamp this story was promoted.
 java.lang.String getShortURL()
          Get the short URL for this story.
 int getShortURLViewCount()
          Get the number of times this short URL was viewed.
 java.lang.String getStatus()
          Get the status of this story.
 long getSubmittedTimestamp()
          Get the timestamp this story was submitted.
 Thumbnail getThumbnail()
          If this story has a thumbnail, return it here.
 java.lang.String getTitle()
          Get the title of this story.
 Topic getTopic()
          Get the topic of this story.
 User getUser()
          Get the user who submitted this story.
 

Method Detail

getComments

int getComments()
Get the number of comments on this story.


getContainer

TopicContainer getContainer()
Get the topic container of this story. Note that this container will not contain all of the topics.


getDescription

java.lang.String getDescription()
Get the description of this story.


getDiggLink

java.lang.String getDiggLink()
Get the link to this story within digg.


getDiggs

int getDiggs()
Get the number of diggs on this story.


getId

int getId()
Get the ID of this story.


getLink

java.lang.String getLink()
Get the link to this story.


getShortURL

java.lang.String getShortURL()
Get the short URL for this story.


getShortURLViewCount

int getShortURLViewCount()
Get the number of times this short URL was viewed.


getStatus

java.lang.String getStatus()
Get the status of this story.


getPromoteTimestamp

long getPromoteTimestamp()
Get the timestamp this story was promoted.

Returns:
the number of milliseconds, or -1 if this story has no promote date.

getMedia

java.lang.String getMedia()
Add the media type of this story.


getSubmittedTimestamp

long getSubmittedTimestamp()
Get the timestamp this story was submitted.


getTitle

java.lang.String getTitle()
Get the title of this story.


getTopic

Topic getTopic()
Get the topic of this story.


getUser

User getUser()
Get the user who submitted this story.


getThumbnail

Thumbnail getThumbnail()
If this story has a thumbnail, return it here. Otherwise return null.