@ProviderType public class KBTemplateWrapper extends java.lang.Object implements KBTemplate, com.liferay.portal.kernel.model.ModelWrapper<KBTemplate>
This class is a wrapper for KBTemplate.
KBTemplate,
Serialized FormKB_TEMPLATE_ID_ACCESSOR| Constructor and Description |
|---|
KBTemplateWrapper(KBTemplate kbTemplate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(KBTemplate kbTemplate) |
boolean |
equals(java.lang.Object obj) |
long |
getCompanyId()
Returns the company ID of this k b template.
|
java.lang.String |
getContent()
Returns the content of this k b template.
|
java.util.Date |
getCreateDate()
Returns the create date of this k b template.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this k b template.
|
long |
getKbTemplateId()
Returns the kb template ID of this k b template.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this k b template.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this k b template.
|
long |
getPrimaryKey()
Returns the primary key of this k b template.
|
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getTitle()
Returns the title of this k b template.
|
long |
getUserId()
Returns the user ID of this k b template.
|
java.lang.String |
getUserName()
Returns the user name of this k b template.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this k b template.
|
java.lang.String |
getUuid()
Returns the uuid of this k b template.
|
KBTemplate |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this k b template.
|
void |
setContent(java.lang.String content)
Sets the content of this k b template.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this k b template.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this k b template.
|
void |
setKbTemplateId(long kbTemplateId)
Sets the kb template ID of this k b template.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this k b template.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this k b template.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this k b template.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setTitle(java.lang.String title)
Sets the title of this k b template.
|
void |
setUserId(long userId)
Sets the user ID of this k b template.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this k b template.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this k b template.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this k b template.
|
com.liferay.portal.kernel.model.CacheModel<KBTemplate> |
toCacheModel() |
KBTemplate |
toEscapedModel() |
java.lang.String |
toString() |
KBTemplate |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public KBTemplateWrapper(KBTemplate kbTemplate)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public KBTemplate toEscapedModel()
toEscapedModel in interface KBTemplateModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public KBTemplate toUnescapedModel()
toUnescapedModel in interface KBTemplateModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public boolean isCachedModel()
isCachedModel in interface KBTemplateModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public boolean isEscapedModel()
isEscapedModel in interface KBTemplateModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public boolean isNew()
isNew in interface KBTemplateModelisNew in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface KBTemplateModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic com.liferay.portal.kernel.model.CacheModel<KBTemplate> toCacheModel()
toCacheModel in interface KBTemplateModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public int compareTo(KBTemplate kbTemplate)
compareTo in interface KBTemplateModelcompareTo in interface java.lang.Comparable<KBTemplate>public int hashCode()
hashCode in interface KBTemplateModelhashCode in class java.lang.Objectpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface KBTemplateModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Object clone()
clone in interface KBTemplateModelclone in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class java.lang.Objectpublic java.lang.String getContent()
getContent in interface KBTemplateModelpublic java.lang.String getTitle()
getTitle in interface KBTemplateModelpublic java.lang.String getUserName()
getUserName in interface KBTemplateModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface KBTemplateModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface KBTemplateModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String toString()
toString in interface KBTemplateModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface KBTemplateModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public java.util.Date getCreateDate()
getCreateDate in interface KBTemplateModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface KBTemplateModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface KBTemplateModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCompanyId()
getCompanyId in interface KBTemplateModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getGroupId()
getGroupId in interface KBTemplateModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getKbTemplateId()
getKbTemplateId in interface KBTemplateModelpublic long getPrimaryKey()
getPrimaryKey in interface KBTemplateModelpublic long getUserId()
getUserId in interface KBTemplateModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface KBTemplateModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public void setCompanyId(long companyId)
setCompanyId in interface KBTemplateModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this k b templatepublic void setContent(java.lang.String content)
setContent in interface KBTemplateModelcontent - the content of this k b templatepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface KBTemplateModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this k b templatepublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface KBTemplateModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface KBTemplateModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface KBTemplateModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public void setGroupId(long groupId)
setGroupId in interface KBTemplateModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this k b templatepublic void setKbTemplateId(long kbTemplateId)
setKbTemplateId in interface KBTemplateModelkbTemplateId - the kb template ID of this k b templatepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface KBTemplateModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this k b templatepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface KBTemplateModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this k b templatepublic void setNew(boolean n)
setNew in interface KBTemplateModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface KBTemplateModelprimaryKey - the primary key of this k b templatepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface KBTemplateModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setTitle(java.lang.String title)
setTitle in interface KBTemplateModeltitle - the title of this k b templatepublic void setUserId(long userId)
setUserId in interface KBTemplateModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this k b templatepublic void setUserName(java.lang.String userName)
setUserName in interface KBTemplateModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this k b templatepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface KBTemplateModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this k b templatepublic void setUuid(java.lang.String uuid)
setUuid in interface KBTemplateModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this k b templatepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic KBTemplate getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<KBTemplate>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>