@ProviderType public interface KBTemplateModel extends com.liferay.portal.kernel.model.BaseModel<KBTemplate>, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel
This interface and its corresponding implementation com.liferay.knowledge.base.model.impl.KBTemplateModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.knowledge.base.model.impl.KBTemplateImpl.
KBTemplate,
com.liferay.knowledge.base.model.impl.KBTemplateImpl,
com.liferay.knowledge.base.model.impl.KBTemplateModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(KBTemplate kbTemplate) |
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.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() |
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.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
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 |
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() |
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributeslong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this k b template@AutoEscape java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this k b templatelong getKbTemplateId()
void setKbTemplateId(long kbTemplateId)
kbTemplateId - the kb template ID of this k b templatelong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this k b templatelong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelvoid setCompanyId(long companyId)
setCompanyId 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 templatelong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this k b templatejava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this k b template@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this k b templatejava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this k b templatejava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this k b template@AutoEscape java.lang.String getTitle()
void setTitle(java.lang.String title)
title - the title of this k b template@AutoEscape java.lang.String getContent()
void setContent(java.lang.String content)
content - the content of this k b templatejava.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelvoid setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this k b templateboolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelcom.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelvoid setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>clone in interface com.liferay.portal.kernel.model.StagedModelint compareTo(KBTemplate kbTemplate)
compareTo in interface java.lang.Comparable<KBTemplate>int hashCode()
hashCode in class java.lang.Objectcom.liferay.portal.kernel.model.CacheModel<KBTemplate> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>KBTemplate toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>KBTemplate toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>