|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.domain.TimePeriod
net.sourceforge.pebble.domain.Day
public class Day
Represents a blog at a daily level. This manages a collection of BlogEntry instances.
Method Summary | |
---|---|
void |
addPublishedBlogEntry(java.lang.String blogEntryId)
|
void |
addUnpublishedBlogEntry(java.lang.String blogEntryId)
|
boolean |
before(Day day)
Determines if the this Day is before (in the calendar) the specified Day. |
java.util.List<java.lang.String> |
getBlogEntries()
Gets a Collection containing all the blog entries for this day. |
int |
getDay()
Gets the day that this Day is for. |
java.util.Date |
getEndOfDay()
|
java.lang.String |
getFirstBlogEntry()
Gets the first entry that was posted on this day. |
java.lang.String |
getLastBlogEntry()
Gets the last entry that was posted on this day. |
Month |
getMonth()
Gets a reference to the parent Month instance. |
java.lang.String |
getNextBlogEntry(java.lang.String blogEntry)
Gets the blog entry posted next (afterwards) to the one specified. |
Day |
getNextDay()
Gets the Day instance for the next day. |
int |
getNumberOfBlogEntries()
|
java.lang.String |
getPermalink()
Gets the permalink to display all entries for this Day. |
java.lang.String |
getPreviousBlogEntry(java.lang.String blogEntry)
Gets the blog entry posted previous (before) to the one specified. |
Day |
getPreviousDay()
Gets the Day instance for the previous day. |
java.util.Date |
getStartOfDay()
|
boolean |
hasBlogEntries()
Determines whether this day has entries. |
void |
removeBlogEntry(BlogEntry blogEntry)
|
Methods inherited from class net.sourceforge.pebble.domain.TimePeriod |
---|
getBlog, getDate, setDate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Month getMonth()
public int getDay()
public java.lang.String getPermalink()
getPermalink
in interface Permalinkable
public java.util.List<java.lang.String> getBlogEntries()
public int getNumberOfBlogEntries()
public void addPublishedBlogEntry(java.lang.String blogEntryId)
public void addUnpublishedBlogEntry(java.lang.String blogEntryId)
public void removeBlogEntry(BlogEntry blogEntry)
public boolean hasBlogEntries()
public Day getPreviousDay()
public Day getNextDay()
public java.lang.String getPreviousBlogEntry(java.lang.String blogEntry)
blogEntry
- a BlogEntry
public java.lang.String getFirstBlogEntry()
public java.lang.String getLastBlogEntry()
public java.lang.String getNextBlogEntry(java.lang.String blogEntry)
blogEntry
- a BlogEntry
public java.util.Date getStartOfDay()
public java.util.Date getEndOfDay()
public boolean before(Day day)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |