| Constructor and Description |
|---|
Content()
Constructor
|
Content(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Language object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClickUrl() |
int |
getContentId() |
ContentTypeIf |
getContentType() |
int |
getContentTypeId() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.util.Calendar |
getDateFrom() |
java.util.Calendar |
getDateTo() |
ContentDescriptionIf |
getDescription() |
int |
getExpressionId() |
int |
getId() |
int |
getObjectId() |
int |
getObjectTypeId() |
java.lang.String |
getSearchKey() |
boolean |
isEnabled() |
void |
replaceTemplates()
Replace any templates in the Content with their values
|
void |
setClickUrl(java.lang.String clickUrl) |
void |
setContentId(int contentId) |
void |
setContentType(ContentTypeIf contentType) |
void |
setContentTypeId(int contentTypeId) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setDateFrom(java.util.Calendar dateFrom) |
void |
setDateTo(java.util.Calendar dateTo) |
void |
setDescription(ContentDescriptionIf description) |
void |
setEnabled(boolean enabled) |
void |
setExpressionId(int expressionId) |
void |
setId(int id) |
void |
setObjectId(int objectId) |
void |
setObjectTypeId(int objectTypeId) |
void |
setSearchKey(java.lang.String searchKey) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public Content()
public Content(com.workingdogs.village.Record vr,
KKCriteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column namescom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringBrief()
public void replaceTemplates()
public void setId(int id)
public java.lang.String getCustom1()
getCustom1 in interface ContentIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface ContentIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface ContentIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface ContentIfcustom2 - the custom2 to setpublic int getContentId()
getContentId in interface ContentIfpublic void setContentId(int contentId)
setContentId in interface ContentIfcontentId - the contentId to setpublic int getContentTypeId()
getContentTypeId in interface ContentIfpublic void setContentTypeId(int contentTypeId)
setContentTypeId in interface ContentIfcontentTypeId - the contentTypeId to setpublic int getObjectId()
getObjectId in interface ContentIfpublic void setObjectId(int objectId)
setObjectId in interface ContentIfobjectId - the objectId to setpublic java.lang.String getClickUrl()
getClickUrl in interface ContentIfpublic void setClickUrl(java.lang.String clickUrl)
setClickUrl in interface ContentIfclickUrl - the clickUrl to setpublic java.util.Calendar getDateFrom()
getDateFrom in interface ContentIfpublic void setDateFrom(java.util.Calendar dateFrom)
setDateFrom in interface ContentIfdateFrom - the dateFrom to setpublic java.util.Calendar getDateTo()
public void setDateTo(java.util.Calendar dateTo)
public boolean isEnabled()
public void setEnabled(boolean enabled)
setEnabled in interface ContentIfenabled - the enabled to setpublic int getExpressionId()
getExpressionId in interface ContentIfpublic void setExpressionId(int expressionId)
setExpressionId in interface ContentIfexpressionId - the expressionId to setpublic java.lang.String getCustom3()
getCustom3 in interface ContentIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface ContentIfcustom3 - the custom3 to setpublic java.lang.String getCustom4()
getCustom4 in interface ContentIfpublic void setCustom4(java.lang.String custom4)
setCustom4 in interface ContentIfcustom4 - the custom4 to setpublic int getObjectTypeId()
getObjectTypeId in interface ContentIfpublic void setObjectTypeId(int objectTypeId)
setObjectTypeId in interface ContentIfobjectTypeId - the objectTypeId to setpublic ContentDescriptionIf getDescription()
getDescription in interface ContentIfpublic void setDescription(ContentDescriptionIf description)
setDescription in interface ContentIfdescription - the description to setpublic ContentTypeIf getContentType()
getContentType in interface ContentIfpublic void setContentType(ContentTypeIf contentType)
setContentType in interface ContentIfcontentType - the contentType to setpublic java.lang.String getSearchKey()
getSearchKey in interface ContentIfpublic void setSearchKey(java.lang.String searchKey)
setSearchKey in interface ContentIfsearchKey - the searchKey to setCopyright © 2018 DS Data Systems UK Ltd.