Coverage Report - net.spy.digg.Story
 
Classes in this File Line Coverage Branch Coverage Complexity
Story
N/A
N/A
1
 
 1  
 package net.spy.digg;
 2  
 
 3  
 /**
 4  
  * A Digg story.
 5  
  */
 6  
 public interface Story {
 7  
 
 8  
         /**
 9  
          * Get the number of comments on this story.
 10  
          */
 11  
         int getComments();
 12  
 
 13  
         /**
 14  
          * Get the topic container of this story.
 15  
          * Note that this container will not contain all of the topics.
 16  
          */
 17  
         TopicContainer getContainer();
 18  
 
 19  
         /**
 20  
          * Get the description of this story.
 21  
          */
 22  
         String getDescription();
 23  
 
 24  
         /**
 25  
          * Get the link to this story within digg.
 26  
          */
 27  
         String getDiggLink();
 28  
 
 29  
         /**
 30  
          * Get the number of diggs on this story.
 31  
          */
 32  
         int getDiggs();
 33  
 
 34  
         /**
 35  
          * Get the ID of this story.
 36  
          */
 37  
         int getId();
 38  
 
 39  
         /**
 40  
          * Get the link to this story.
 41  
          */
 42  
         String getLink();
 43  
 
 44  
         /**
 45  
          * Get the status of this story.
 46  
          */
 47  
         String getStatus();
 48  
 
 49  
         /**
 50  
          * Get the timestamp this story was promoted.
 51  
          *
 52  
          * @return the number of milliseconds, or -1 if this story has no promote
 53  
          * date.
 54  
          */
 55  
         long getPromoteTimestamp();
 56  
 
 57  
         /**
 58  
          * Add the media type of this story.
 59  
          */
 60  
         String getMedia();
 61  
 
 62  
         /**
 63  
          * Get the timestamp this story was submitted.
 64  
          */
 65  
         long getSubmittedTimestamp();
 66  
 
 67  
         /**
 68  
          * Get the title of this story.
 69  
          */
 70  
         String getTitle();
 71  
 
 72  
         /**
 73  
          * Get the topic of this story.
 74  
          */
 75  
         Topic getTopic();
 76  
 
 77  
         /**
 78  
          * Get the user who submitted this story.
 79  
          */
 80  
         User getUser();
 81  
 
 82  
         /**
 83  
          * If this story has a thumbnail, return it here.  Otherwise return null.
 84  
          */
 85  
         Thumbnail getThumbnail();
 86  
 }