|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.data.DataObject
org.opensubsystems.core.data.BasicDataObject
org.opensubsystems.core.data.ModifiableDataObject
org.opensubsystems.blog.data.Blog
public class Blog
Blog is a list of entries. Simples blog has name, description and set of entries added over the time.
| Field Summary | |
|---|---|
protected java.lang.Boolean |
m_bIsPreformated
Flag signaling if the text contains formatting or not. |
protected java.lang.String |
m_strCaption
Caption is more descriptive name of the blog. |
protected java.lang.String |
m_strComments
Comments is any additional description of the blog. |
protected java.lang.String |
m_strFolder
Folder allows to organize blogs within folders. |
protected static int |
s_iCaptionMaxLength
Maximal length of the caption field. |
protected static int |
s_iCommentsMaxLength
Maximal length of the comments field. |
protected static int |
s_iFolderMaxLength
Maximal length of the folder field. |
| Fields inherited from class org.opensubsystems.core.data.ModifiableDataObject |
|---|
m_modificationTimestamp |
| Fields inherited from class org.opensubsystems.core.data.BasicDataObject |
|---|
m_creationTimestamp, m_iDomainId |
| Fields inherited from class org.opensubsystems.core.data.DataObject |
|---|
NEW_ID, NEW_ID_OBJ, NEW_ID_STR |
| Constructor Summary | |
|---|---|
Blog()
Empty blog initialized to default parameters |
|
Blog(int iDomainId)
Empty blog for a specified domain initialized to default parameters |
|
Blog(int iId,
int iDomainId,
java.lang.String strBlogFolder,
java.lang.String strCaption,
java.lang.String strComments,
java.sql.Timestamp creationTimestamp,
java.sql.Timestamp modificationTimestamp)
Create blog from a given parameters. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCaption()
Caption is more descriptive name of the blog. |
int |
getCaptionMaxLength()
|
static int |
getCaptionMaxLengthStatic()
|
java.lang.String |
getComments()
Comments is any additional description of the blog. |
int |
getCommentsMaxLength()
|
static int |
getCommentsMaxLengthStatic()
|
java.lang.String |
getFolder()
Folder allows to organize blogs within folders. |
int |
getFolderMaxLength()
|
static int |
getFolderMaxLengthStatic()
|
boolean |
getIsPreformated()
Flag signaling if the text contains formatting or not. |
boolean |
isSame(java.lang.Object oObject)
|
static void |
setCaptionMaxLength(int iCaptionMaxLength)
|
static void |
setCommentsMaxLength(int iCommentsMaxLength)
|
static void |
setFolderMaxLength(int iFolderMaxLength)
|
| Methods inherited from class org.opensubsystems.core.data.ModifiableDataObject |
|---|
equals, getModificationTimestamp, hashCode, restore, setModificationTimestamp |
| Methods inherited from class org.opensubsystems.core.data.BasicDataObject |
|---|
getCreationTimestamp, getDomainId, getId, getIdAsObject, restore, setCreationTimestamp, setId |
| Methods inherited from class org.opensubsystems.core.data.DataObject |
|---|
isFromPersistenceStore, setFromPersistenceStore |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static int s_iFolderMaxLength
protected static int s_iCaptionMaxLength
protected static int s_iCommentsMaxLength
protected java.lang.Boolean m_bIsPreformated
protected java.lang.String m_strFolder
protected java.lang.String m_strCaption
protected java.lang.String m_strComments
| Constructor Detail |
|---|
public Blog()
public Blog(int iDomainId)
iDomainId - - Id of the domain this blog belongs to
public Blog(int iId,
int iDomainId,
java.lang.String strBlogFolder,
java.lang.String strCaption,
java.lang.String strComments,
java.sql.Timestamp creationTimestamp,
java.sql.Timestamp modificationTimestamp)
iId - - Unique ID identifying this BlogiDomainId - - Id of the domain this blog belongs tostrBlogFolder - - Folder allows to categorize Blogs to groupsstrCaption - - More descriptive name of the BlogstrComments - - Any additional description of the BlogcreationTimestamp - - Timestamp when the Blog was createdmodificationTimestamp - - Timestamp when the Blog was last time modified| Method Detail |
|---|
public java.lang.String getFolder()
public java.lang.String getCaption()
public java.lang.String getComments()
public static int getCaptionMaxLengthStatic()
public int getCaptionMaxLength()
public static int getCommentsMaxLengthStatic()
public int getCommentsMaxLength()
public static int getFolderMaxLengthStatic()
public int getFolderMaxLength()
public static void setCaptionMaxLength(int iCaptionMaxLength)
iCaptionMaxLength - - maximal length for captionpublic static void setCommentsMaxLength(int iCommentsMaxLength)
iCommentsMaxLength - - maximal length for commentspublic static void setFolderMaxLength(int iFolderMaxLength)
iFolderMaxLength - - maximal length for folderpublic boolean getIsPreformated()
public boolean isSame(java.lang.Object oObject)
isSame in class org.opensubsystems.core.data.DataObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||