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.Object
public java.lang.String toStringBrief()
public void replaceTemplates()
public void setId(int id)
public java.lang.String getCustom1()
getCustom1
in interface ContentIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface ContentIf
custom1
- the custom1 to setpublic java.lang.String getCustom2()
getCustom2
in interface ContentIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface ContentIf
custom2
- the custom2 to setpublic int getContentId()
getContentId
in interface ContentIf
public void setContentId(int contentId)
setContentId
in interface ContentIf
contentId
- the contentId to setpublic int getContentTypeId()
getContentTypeId
in interface ContentIf
public void setContentTypeId(int contentTypeId)
setContentTypeId
in interface ContentIf
contentTypeId
- the contentTypeId to setpublic int getObjectId()
getObjectId
in interface ContentIf
public void setObjectId(int objectId)
setObjectId
in interface ContentIf
objectId
- the objectId to setpublic java.lang.String getClickUrl()
getClickUrl
in interface ContentIf
public void setClickUrl(java.lang.String clickUrl)
setClickUrl
in interface ContentIf
clickUrl
- the clickUrl to setpublic java.util.Calendar getDateFrom()
getDateFrom
in interface ContentIf
public void setDateFrom(java.util.Calendar dateFrom)
setDateFrom
in interface ContentIf
dateFrom
- 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 ContentIf
enabled
- the enabled to setpublic int getExpressionId()
getExpressionId
in interface ContentIf
public void setExpressionId(int expressionId)
setExpressionId
in interface ContentIf
expressionId
- the expressionId to setpublic java.lang.String getCustom3()
getCustom3
in interface ContentIf
public void setCustom3(java.lang.String custom3)
setCustom3
in interface ContentIf
custom3
- the custom3 to setpublic java.lang.String getCustom4()
getCustom4
in interface ContentIf
public void setCustom4(java.lang.String custom4)
setCustom4
in interface ContentIf
custom4
- the custom4 to setpublic int getObjectTypeId()
getObjectTypeId
in interface ContentIf
public void setObjectTypeId(int objectTypeId)
setObjectTypeId
in interface ContentIf
objectTypeId
- the objectTypeId to setpublic ContentDescriptionIf getDescription()
getDescription
in interface ContentIf
public void setDescription(ContentDescriptionIf description)
setDescription
in interface ContentIf
description
- the description to setpublic ContentTypeIf getContentType()
getContentType
in interface ContentIf
public void setContentType(ContentTypeIf contentType)
setContentType
in interface ContentIf
contentType
- the contentType to setpublic java.lang.String getSearchKey()
getSearchKey
in interface ContentIf
public void setSearchKey(java.lang.String searchKey)
setSearchKey
in interface ContentIf
searchKey
- the searchKey to setCopyright © 2018 DS Data Systems UK Ltd.