| java.lang.Object net.sf.thingamablog.generator.ListContainer net.sf.thingamablog.generator.BlogEntryContainer
ARC_PAGE | final public static int ARC_PAGE(Code) | | Constant indicating an archive page
|
CAT_PAGE | final public static int CAT_PAGE(Code) | | Constant indicating a category page
|
ENTRY_PAGE | final public static int ENTRY_PAGE(Code) | | |
FRONT_PAGE | final public static int FRONT_PAGE(Code) | | Constant for front page entries
|
NAME | final public static String NAME(Code) | | The name of the container
|
RSS_PAGE | final public static int RSS_PAGE(Code) | | Constant for the feed
|
BlogEntryContainer | public BlogEntryContainer(TBWeblog blog, int type)(Code) | | |
BlogEntryContainer | public BlogEntryContainer(TBWeblog blog, long id)(Code) | | |
getListDataSize | public int getListDataSize()(Code) | | |
isLimtEntryBody | public boolean isLimtEntryBody()(Code) | | Indicates if RSS entry bodies will be limited
|
isVisible | public boolean isVisible()(Code) | | |
setDefaultDateFormat | public void setDefaultDateFormat(String format)(Code) | | Sets the default date format for entry dates. Can be overriden
in the templates
Parameters: format - The date format string that should work with SimpleDateFormat |
setDefaultIsLimit | public void setDefaultIsLimit(boolean limit)(Code) | | Sets the default limit attribute. The limit attribute
specifies if the number of entries per page should be
limited. This can be overriden in the template.
A value of "1" limits the entries.
Parameters: limit - true to limit, false otherwise |
setDefaultLimitBy | public void setDefaultLimitBy(int limit)(Code) | | Sets the default number to limit entries by
Parameters: limit - The number to limit entries to |
setDefaultSortOrder | public void setDefaultSortOrder(boolean ascending)(Code) | | Sets the default chronological order of the entries.
This can be overriden in the template with the attribute "sort_order"
Parameters: ascending - The chronological order |
setDefaultTimeFormat | public void setDefaultTimeFormat(String format)(Code) | | Sets the default time format
Parameters: format - The default time format |
setLimitEntryBody | public void setLimitEntryBody(boolean b)(Code) | | Indicates whether or not entries on RSS pages should be truncated
Can be overriden in the RSS template
Parameters: b - true to limit RSS entry bodies, false otherwise |
|
|