public class KBTemplateWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBTemplate> 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 |
---|---|
long |
getCompanyId()
Returns the company ID of this kb template.
|
java.lang.String |
getContent()
Returns the content of this kb template.
|
java.util.Date |
getCreateDate()
Returns the create date of this kb template.
|
long |
getGroupId()
Returns the group ID of this kb template.
|
long |
getKbTemplateId()
Returns the kb template ID of this kb template.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this kb template.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this kb template.
|
long |
getMvccVersion()
Returns the mvcc version of this kb template.
|
long |
getPrimaryKey()
Returns the primary key of this kb template.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getTitle()
Returns the title of this kb template.
|
long |
getUserId()
Returns the user ID of this kb template.
|
java.lang.String |
getUserName()
Returns the user name of this kb template.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this kb template.
|
java.lang.String |
getUuid()
Returns the uuid of this kb template.
|
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this kb template.
|
void |
setContent(java.lang.String content)
Sets the content of this kb template.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kb template.
|
void |
setGroupId(long groupId)
Sets the group ID of this kb template.
|
void |
setKbTemplateId(long kbTemplateId)
Sets the kb template ID of this kb template.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this kb 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 kb template.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this kb template.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kb template.
|
void |
setTitle(java.lang.String title)
Sets the title of this kb template.
|
void |
setUserId(long userId)
Sets the user ID of this kb template.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this kb template.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this kb template.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this kb template.
|
protected KBTemplateWrapper |
wrap(KBTemplate kbTemplate) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public KBTemplateWrapper(KBTemplate kbTemplate)
public 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 long getCompanyId()
getCompanyId
in interface KBTemplateModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getContent()
getContent
in interface KBTemplateModel
public java.util.Date getCreateDate()
getCreateDate
in interface KBTemplateModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getGroupId()
getGroupId
in interface KBTemplateModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getKbTemplateId()
getKbTemplateId
in interface KBTemplateModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface KBTemplateModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface KBTemplateModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface KBTemplateModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface KBTemplateModel
public java.lang.String getTitle()
getTitle
in interface KBTemplateModel
public long getUserId()
getUserId
in interface KBTemplateModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface KBTemplateModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface KBTemplateModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface KBTemplateModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface KBTemplateModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this kb templatepublic void setContent(java.lang.String content)
setContent
in interface KBTemplateModel
content
- the content of this kb templatepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface KBTemplateModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this kb templatepublic void setGroupId(long groupId)
setGroupId
in interface KBTemplateModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this kb templatepublic void setKbTemplateId(long kbTemplateId)
setKbTemplateId
in interface KBTemplateModel
kbTemplateId
- the kb template ID of this kb templatepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface KBTemplateModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this kb templatepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface KBTemplateModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this kb templatepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface KBTemplateModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this kb templatepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface KBTemplateModel
primaryKey
- the primary key of this kb templatepublic void setTitle(java.lang.String title)
setTitle
in interface KBTemplateModel
title
- the title of this kb templatepublic void setUserId(long userId)
setUserId
in interface KBTemplateModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this kb templatepublic void setUserName(java.lang.String userName)
setUserName
in interface KBTemplateModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this kb templatepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface KBTemplateModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this kb templatepublic void setUuid(java.lang.String uuid)
setUuid
in interface KBTemplateModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this kb templatepublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected KBTemplateWrapper wrap(KBTemplate kbTemplate)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBTemplate>