@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 KBTemplateModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in KBTemplateImpl
.
KBTemplate
,
KBTemplateImpl
,
KBTemplateModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(KBTemplate kbTemplate) |
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
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.Date |
getModifiedDate()
Returns the modified date of this kb template.
|
long |
getPrimaryKey()
Returns the primary key of this kb template.
|
java.io.Serializable |
getPrimaryKeyObj() |
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.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
void |
setCachedModel(boolean cachedModel) |
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 |
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 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 |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this kb template.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kb template.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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.
|
com.liferay.portal.kernel.model.CacheModel<KBTemplate> |
toCacheModel() |
KBTemplate |
toEscapedModel() |
java.lang.String |
toString() |
KBTemplate |
toUnescapedModel() |
java.lang.String |
toXmlString() |
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this kb template@AutoEscape java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this kb templatelong getKbTemplateId()
void setKbTemplateId(long kbTemplateId)
kbTemplateId
- the kb template ID of this kb templatelong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this kb templatelong getCompanyId()
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
void setCompanyId(long companyId)
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 templatelong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this kb templatejava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this kb template@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this kb templatejava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
void setCreateDate(java.util.Date createDate)
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 templatejava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
void setModifiedDate(java.util.Date modifiedDate)
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 template@AutoEscape java.lang.String getTitle()
void setTitle(java.lang.String title)
title
- the title of this kb template@AutoEscape java.lang.String getContent()
void setContent(java.lang.String content)
content
- the content of this kb templatejava.util.Date getLastPublishDate()
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this kb 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.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void 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.StagedModel
int compareTo(KBTemplate kbTemplate)
compareTo
in interface java.lang.Comparable<KBTemplate>
int hashCode()
hashCode
in class java.lang.Object
com.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.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>