public class AdminContent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clickUrl
click URL - the URL that is executed when the content item is clicked
|
private int |
contentId
content_id - (business Id of the content)
|
private int |
contentTypeId
content_type_id - (business Id of the content type)
|
private java.lang.String |
custom1
custom1
|
private java.lang.String |
custom2
custom2
|
private java.lang.String |
custom3
custom3
|
private java.lang.String |
custom4
custom4
|
private java.util.Date |
dateAdded
dateAdded
|
private java.util.Date |
dateFrom
Date From - Content only valid on or after this date
|
private java.util.Date |
dateTo
Date To - Content only valid on or before this date
|
private java.util.Date |
dateUpdated
dateUpdated
|
private AdminContentDescription[] |
descriptions
Array of AdminContentDescription objects
|
private boolean |
enabled
Enabled
|
private int |
expressionId
expressionId - identifies an expression that is associated with this content
|
private int |
id
id - the internal (non-business id)
|
private int |
objectId
objectId - identifies an associated object if applicable
|
private int |
objectTypeId
objectTypeId - identifies the type of an associated object if applicable
Any values are possible but constants are available for these:
KKConstants.OBJECT_TYPE_PRODUCT
KKConstants.OBJECT_TYPE_CATEGORY
|
private java.lang.String |
searchKey
search_key - used for searching for content such as the content applicable to a certain
category
|
private int |
updatedBy
updated by
|
Constructor and Description |
---|
AdminContent()
Constructor
|
AdminContent(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the AdminContent object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClickUrl() |
int |
getContentId() |
int |
getContentTypeId() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.util.Date |
getDateAdded() |
java.util.Date |
getDateFrom() |
java.util.Date |
getDateTo() |
java.util.Date |
getDateUpdated() |
AdminContentDescription[] |
getDescriptions() |
int |
getExpressionId() |
int |
getId() |
int |
getObjectId() |
int |
getObjectTypeId() |
java.lang.String |
getSearchKey() |
int |
getUpdatedBy() |
boolean |
isEnabled() |
void |
setClickUrl(java.lang.String clickUrl) |
void |
setContentId(int contentId) |
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 |
setDateAdded(java.util.Date dateAdded) |
void |
setDateFrom(java.util.Date dateFrom) |
void |
setDateTo(java.util.Date dateTo) |
void |
setDateUpdated(java.util.Date dateUpdated) |
void |
setDescriptions(AdminContentDescription[] descriptions) |
void |
setEnabled(boolean enabled) |
void |
setExpressionId(int expressionId) |
void |
setId(int id) |
void |
setObjectId(int objectId) |
void |
setObjectTypeId(int objectTypeId)
Any values are possible but constants are available for these:
KKConstants.OBJECT_TYPE_PRODUCT
KKConstants.OBJECT_TYPE_CATEGORY
|
void |
setSearchKey(java.lang.String searchKey) |
void |
setUpdatedBy(int updatedBy) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private int contentId
private int contentTypeId
private int objectId
private int objectTypeId
private java.lang.String searchKey
private java.lang.String clickUrl
private java.util.Date dateFrom
private java.util.Date dateTo
private boolean enabled
private int expressionId
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private int updatedBy
private java.util.Date dateUpdated
private java.util.Date dateAdded
private AdminContentDescription[] descriptions
public AdminContent()
public AdminContent(com.workingdogs.village.Record vr, com.konakart.db.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 int getId()
public void setId(int id)
id
- the id to setpublic int getContentId()
public void setContentId(int contentId)
contentId
- the contentId to setpublic int getContentTypeId()
public void setContentTypeId(int contentTypeId)
contentTypeId
- the contentTypeId to setpublic int getObjectId()
public void setObjectId(int objectId)
objectId
- the objectId to setpublic java.lang.String getClickUrl()
public void setClickUrl(java.lang.String clickUrl)
clickUrl
- the clickUrl to setpublic java.util.Date getDateFrom()
public void setDateFrom(java.util.Date dateFrom)
dateFrom
- the dateFrom to setpublic java.util.Date getDateTo()
public void setDateTo(java.util.Date dateTo)
dateTo
- the dateTo to setpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- the enabled to setpublic int getExpressionId()
public void setExpressionId(int expressionId)
expressionId
- the expressionId to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setpublic java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setpublic AdminContentDescription[] getDescriptions()
public void setDescriptions(AdminContentDescription[] descriptions)
descriptions
- the descriptions to setpublic int getUpdatedBy()
public void setUpdatedBy(int updatedBy)
updatedBy
- the updatedBy to setpublic java.util.Date getDateUpdated()
public void setDateUpdated(java.util.Date dateUpdated)
dateUpdated
- the dateUpdated to setpublic java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- the dateAdded to setpublic int getObjectTypeId()
public void setObjectTypeId(int objectTypeId)
objectTypeId
- the objectTypeId to setpublic java.lang.String getSearchKey()
public void setSearchKey(java.lang.String searchKey)
searchKey
- the searchKey to setCopyright © 2018 DS Data Systems UK Ltd.