@JSON(strict=true) @ProviderType public class KBTemplateModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<KBTemplate> implements KBTemplateModel
This implementation and its corresponding interface KBTemplateModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in KBTemplateImpl
.
KBTemplateImpl
,
KBTemplate
,
KBTemplateModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static long |
MODIFIEDDATE_COLUMN_BITMASK |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
UUID_COLUMN_BITMASK |
Constructor and Description |
---|
KBTemplateModelImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(KBTemplate kbTemplate) |
boolean |
equals(java.lang.Object obj) |
long |
getColumnBitmask() |
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.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 kb template.
|
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
java.lang.String |
getOriginalUuid() |
long |
getPrimaryKey()
Returns the primary key of this kb template.
|
java.io.Serializable |
getPrimaryKeyObj() |
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.
|
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
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.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 |
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 |
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() |
static KBTemplate |
toModel(KBTemplateSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<KBTemplate> |
toModels(KBTemplateSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long MODIFIEDDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static KBTemplate toModel(KBTemplateSoap soapModel)
soapModel
- the soap model instance to convertpublic static java.util.List<KBTemplate> toModels(KBTemplateSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
KBTemplateModel
getPrimaryKey
in interface KBTemplateModel
public void setPrimaryKey(long primaryKey)
KBTemplateModel
setPrimaryKey
in interface KBTemplateModel
primaryKey
- the primary key of this kb templatepublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface KBTemplateModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface KBTemplateModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBTemplate>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBTemplate>
@JSON public java.lang.String getUuid()
KBTemplateModel
getUuid
in interface KBTemplateModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(java.lang.String uuid)
KBTemplateModel
setUuid
in interface KBTemplateModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this kb templatepublic java.lang.String getOriginalUuid()
@JSON public long getKbTemplateId()
KBTemplateModel
getKbTemplateId
in interface KBTemplateModel
public void setKbTemplateId(long kbTemplateId)
KBTemplateModel
setKbTemplateId
in interface KBTemplateModel
kbTemplateId
- the kb template ID of this kb template@JSON public long getGroupId()
KBTemplateModel
getGroupId
in interface KBTemplateModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public void setGroupId(long groupId)
KBTemplateModel
setGroupId
in interface KBTemplateModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this kb templatepublic long getOriginalGroupId()
@JSON public long getCompanyId()
KBTemplateModel
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 void setCompanyId(long companyId)
KBTemplateModel
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 long getOriginalCompanyId()
@JSON public long getUserId()
KBTemplateModel
getUserId
in interface KBTemplateModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
KBTemplateModel
setUserId
in interface KBTemplateModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this kb templatepublic java.lang.String getUserUuid()
KBTemplateModel
getUserUuid
in interface KBTemplateModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(java.lang.String userUuid)
KBTemplateModel
setUserUuid
in interface KBTemplateModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this kb template@JSON public java.lang.String getUserName()
KBTemplateModel
getUserName
in interface KBTemplateModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(java.lang.String userName)
KBTemplateModel
setUserName
in interface KBTemplateModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this kb template@JSON public java.util.Date getCreateDate()
KBTemplateModel
getCreateDate
in interface KBTemplateModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(java.util.Date createDate)
KBTemplateModel
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 template@JSON public java.util.Date getModifiedDate()
KBTemplateModel
getModifiedDate
in interface KBTemplateModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
KBTemplateModel
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 template@JSON public java.lang.String getTitle()
KBTemplateModel
getTitle
in interface KBTemplateModel
public void setTitle(java.lang.String title)
KBTemplateModel
setTitle
in interface KBTemplateModel
title
- the title of this kb template@JSON public java.lang.String getContent()
KBTemplateModel
getContent
in interface KBTemplateModel
public void setContent(java.lang.String content)
KBTemplateModel
setContent
in interface KBTemplateModel
content
- the content of this kb template@JSON public java.util.Date getLastPublishDate()
KBTemplateModel
getLastPublishDate
in interface KBTemplateModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public void setLastPublishDate(java.util.Date lastPublishDate)
KBTemplateModel
setLastPublishDate
in interface KBTemplateModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this kb templatepublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface KBTemplateModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBTemplate>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface KBTemplateModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBTemplate>
public KBTemplate toEscapedModel()
toEscapedModel
in interface KBTemplateModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBTemplate>
public java.lang.Object clone()
clone
in interface KBTemplateModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBTemplate>
public int compareTo(KBTemplate kbTemplate)
compareTo
in interface KBTemplateModel
compareTo
in interface java.lang.Comparable<KBTemplate>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface KBTemplateModel
hashCode
in class java.lang.Object
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>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBTemplate>
public com.liferay.portal.kernel.model.CacheModel<KBTemplate> toCacheModel()
toCacheModel
in interface KBTemplateModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<KBTemplate>
public java.lang.String toString()
toString
in interface KBTemplateModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface KBTemplateModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<KBTemplate>