Package com.liferay.knowledge.base.model
Class KBTemplateWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBTemplate>
com.liferay.knowledge.base.model.KBTemplateWrapper
- All Implemented Interfaces:
KBTemplate
,KBTemplateModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<KBTemplate>
,com.liferay.portal.kernel.model.change.tracking.CTModel<KBTemplate>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.ModelWrapper<KBTemplate>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,Serializable
,Cloneable
,Comparable<KBTemplate>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.knowledge.base.model.KBTemplate
KB_TEMPLATE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this kb template.Returns the content of this kb template.Returns the create date of this kb template.long
Returns the ct collection ID of this kb template.long
Returns the group ID of this kb template.long
Returns the kb template ID of this kb template.Returns the last publish date of this kb template.Returns the modified date of this kb template.long
Returns the mvcc version of this kb template.long
Returns the primary key of this kb template.com.liferay.exportimport.kernel.lar.StagedModelType
getTitle()
Returns the title of this kb template.long
Returns the user ID of this kb template.Returns the user name of this kb template.Returns the user uuid of this kb template.getUuid()
Returns the uuid of this kb template.void
persist()
void
setCompanyId
(long companyId) Sets the company ID of this kb template.void
setContent
(String content) Sets the content of this kb template.void
setCreateDate
(Date createDate) Sets the create date of this kb template.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID 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
(Date lastPublishDate) Sets the last publish date of this kb template.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(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
Sets the title of this kb template.void
setUserId
(long userId) Sets the user ID of this kb template.void
setUserName
(String userName) Sets the user name of this kb template.void
setUserUuid
(String userUuid) Sets the user uuid of this kb template.void
Sets the uuid of this kb template.protected KBTemplateWrapper
wrap
(KBTemplate kbTemplate) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
KBTemplateWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<KBTemplate>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<KBTemplate>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<KBTemplate>
- Specified by:
cloneWithOriginalValues
in interfaceKBTemplateModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this kb template.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceKBTemplateModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this kb template
-
getContent
Returns the content of this kb template.- Specified by:
getContent
in interfaceKBTemplateModel
- Returns:
- the content of this kb template
-
getCreateDate
Returns the create date of this kb template.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceKBTemplateModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this kb template
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this kb template.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBTemplate>
- Specified by:
getCtCollectionId
in interfaceKBTemplateModel
- Returns:
- the ct collection ID of this kb template
-
getGroupId
public long getGroupId()Returns the group ID of this kb template.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
getGroupId
in interfaceKBTemplateModel
- Returns:
- the group ID of this kb template
-
getKbTemplateId
public long getKbTemplateId()Returns the kb template ID of this kb template.- Specified by:
getKbTemplateId
in interfaceKBTemplateModel
- Returns:
- the kb template ID of this kb template
-
getLastPublishDate
Returns the last publish date of this kb template.- Specified by:
getLastPublishDate
in interfaceKBTemplateModel
- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this kb template
-
getModifiedDate
Returns the modified date of this kb template.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceKBTemplateModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this kb template
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this kb template.- Specified by:
getMvccVersion
in interfaceKBTemplateModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this kb template
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this kb template.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBTemplate>
- Specified by:
getPrimaryKey
in interfaceKBTemplateModel
- Returns:
- the primary key of this kb template
-
getTitle
Returns the title of this kb template.- Specified by:
getTitle
in interfaceKBTemplateModel
- Returns:
- the title of this kb template
-
getUserId
public long getUserId()Returns the user ID of this kb template.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceKBTemplateModel
- Returns:
- the user ID of this kb template
-
getUserName
Returns the user name of this kb template.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceKBTemplateModel
- Returns:
- the user name of this kb template
-
getUserUuid
Returns the user uuid of this kb template.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceKBTemplateModel
- Returns:
- the user uuid of this kb template
-
getUuid
Returns the uuid of this kb template.- Specified by:
getUuid
in interfaceKBTemplateModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this kb template
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this kb template.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceKBTemplateModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this kb template
-
setContent
Sets the content of this kb template.- Specified by:
setContent
in interfaceKBTemplateModel
- Parameters:
content
- the content of this kb template
-
setCreateDate
Sets the create date of this kb template.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceKBTemplateModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this kb template
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this kb template.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBTemplate>
- Specified by:
setCtCollectionId
in interfaceKBTemplateModel
- Parameters:
ctCollectionId
- the ct collection ID of this kb template
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this kb template.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
setGroupId
in interfaceKBTemplateModel
- Parameters:
groupId
- the group ID of this kb template
-
setKbTemplateId
public void setKbTemplateId(long kbTemplateId) Sets the kb template ID of this kb template.- Specified by:
setKbTemplateId
in interfaceKBTemplateModel
- Parameters:
kbTemplateId
- the kb template ID of this kb template
-
setLastPublishDate
Sets the last publish date of this kb template.- Specified by:
setLastPublishDate
in interfaceKBTemplateModel
- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this kb template
-
setModifiedDate
Sets the modified date of this kb template.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceKBTemplateModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this kb template
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this kb template.- Specified by:
setMvccVersion
in interfaceKBTemplateModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this kb template
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this kb template.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KBTemplate>
- Specified by:
setPrimaryKey
in interfaceKBTemplateModel
- Parameters:
primaryKey
- the primary key of this kb template
-
setTitle
Sets the title of this kb template.- Specified by:
setTitle
in interfaceKBTemplateModel
- Parameters:
title
- the title of this kb template
-
setUserId
public void setUserId(long userId) Sets the user ID of this kb template.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceKBTemplateModel
- Parameters:
userId
- the user ID of this kb template
-
setUserName
Sets the user name of this kb template.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceKBTemplateModel
- Parameters:
userName
- the user name of this kb template
-
setUserUuid
Sets the user uuid of this kb template.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceKBTemplateModel
- Parameters:
userUuid
- the user uuid of this kb template
-
setUuid
Sets the uuid of this kb template.- Specified by:
setUuid
in interfaceKBTemplateModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this kb template
-
toXmlString
- Specified by:
toXmlString
in interfaceKBTemplateModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<KBTemplate>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<KBTemplate>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KBTemplate>
-