public class Blog extends ModifiableDataObject (Code)
Blog is a list of entries. Simples blog has name, description and set of
entries added over the time.
version: $Id: Blog.java,v 1.4 2007/01/18 06:03:31 bastafidli Exp $ author: Miro Halas
Field Summary
final public static int[]
ALL_COLUMNS Static variable for array of all columns codes.
Blog(int iId, int iDomainId, String strBlogFolder, String strCaption, String strComments, Timestamp creationTimestamp, Timestamp modificationTimestamp) Create blog from a given parameters.
Static variable for array of all columns codes.
The order is important since it is used to retrieve all data from the
persistence store efficiently so do not modify it unless you make
changes to other places as well.
final public static int COL_BLOG_MODIFICATION_DATE(Code)
Code for table column.
DEFAULT_LIST_COLUMNS
final public static int[] DEFAULT_LIST_COLUMNS(Code)
Default columns to retrieve when asked for list of objects.
These should be only columns visible to user on the screen and not any
internal columns. Also the columns should be retrievable efficiently so
that the default view is very quick.
DEFAULT_LIST_SORT_COLUMNS
final public static int[] DEFAULT_LIST_SORT_COLUMNS(Code)
Default columns to sort by when asked for list of objects.
DEFAULT_LIST_SORT_ORDER
final public static String[] DEFAULT_LIST_SORT_ORDER(Code)
Default order in which the columns will be sorted.
Create blog from a given parameters.
Parameters: iId - - Unique ID identifying this Blog Parameters: iDomainId - - Id of the domain this blog belongs to Parameters: strBlogFolder - - Folder allows to categorize Blogs to groups Parameters: strCaption - - More descriptive name of the Blog Parameters: strComments - - Any additional description of the Blog Parameters: creationTimestamp - - Timestamp when the Blog was created Parameters: modificationTimestamp - - Timestamp when the Blog was last time modified