@JSON(strict=true) @ProviderType public class DDMTemplateVersionModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMTemplateVersion> implements DDMTemplateVersionModel
This implementation and its corresponding interface DDMTemplateVersionModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DDMTemplateVersionImpl
.
DDMTemplateVersionImpl
,
DDMTemplateVersion
,
DDMTemplateVersionModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static long |
STATUS_COLUMN_BITMASK |
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 long |
TEMPLATEID_COLUMN_BITMASK |
static long |
TEMPLATEVERSIONID_COLUMN_BITMASK |
static java.lang.String |
TX_MANAGER |
static long |
VERSION_COLUMN_BITMASK |
Constructor and Description |
---|
DDMTemplateVersionModelImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(DDMTemplateVersion ddmTemplateVersion) |
boolean |
equals(java.lang.Object obj) |
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this ddm template version.
|
long |
getClassNameId()
Returns the class name ID of this ddm template version.
|
long |
getClassPK()
Returns the class pk of this ddm template version.
|
long |
getColumnBitmask() |
long |
getCompanyId()
Returns the company ID of this ddm template version.
|
java.util.Date |
getCreateDate()
Returns the create date of this ddm template version.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this ddm template version.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this ddm template version in the language.
|
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault)
Returns the localized description of this ddm template version in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this ddm template version in the language.
|
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault)
Returns the localized description of this ddm template version in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this ddm template version.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this ddm template version.
|
java.lang.String |
getLanguage()
Returns the language of this ddm template version.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.String |
getName()
Returns the name of this ddm template version.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this ddm template version in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this ddm template version in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this ddm template version in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this ddm template version in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getNameMap()
Returns a map of the locales and localized names of this ddm template version.
|
int |
getOriginalStatus() |
long |
getOriginalTemplateId() |
java.lang.String |
getOriginalVersion() |
long |
getPrimaryKey()
Returns the primary key of this ddm template version.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getScript()
Returns the script of this ddm template version.
|
int |
getStatus()
Returns the status of this ddm template version.
|
long |
getStatusByUserId()
Returns the status by user ID of this ddm template version.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this ddm template version.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this ddm template version.
|
java.util.Date |
getStatusDate()
Returns the status date of this ddm template version.
|
long |
getTemplateId()
Returns the template ID of this ddm template version.
|
long |
getTemplateVersionId()
Returns the template version ID of this ddm template version.
|
long |
getUserId()
Returns the user ID of this ddm template version.
|
java.lang.String |
getUserName()
Returns the user name of this ddm template version.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this ddm template version.
|
java.lang.String |
getVersion()
Returns the version of this ddm template version.
|
int |
hashCode() |
boolean |
isApproved()
Returns
true if this ddm template version is approved. |
boolean |
isDenied()
Returns
true if this ddm template version is denied. |
boolean |
isDraft()
Returns
true if this ddm template version is a draft. |
boolean |
isEntityCacheEnabled() |
boolean |
isExpired()
Returns
true if this ddm template version is expired. |
boolean |
isFinderCacheEnabled() |
boolean |
isInactive()
Returns
true if this ddm template version is inactive. |
boolean |
isIncomplete()
Returns
true if this ddm template version is incomplete. |
boolean |
isPending()
Returns
true if this ddm template version is pending. |
boolean |
isScheduled()
Returns
true if this ddm template version is scheduled. |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues() |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this ddm template version.
|
void |
setClassPK(long classPK)
Sets the class pk of this ddm template version.
|
void |
setCompanyId(long companyId)
Sets the company ID of this ddm template version.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this ddm template version.
|
void |
setDescription(java.lang.String description)
Sets the description of this ddm template version.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this ddm template version in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this ddm template version in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this ddm template version from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
Sets the localized descriptions of this ddm template version from the map of locales and localized descriptions, and sets the default locale.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this ddm template version.
|
void |
setLanguage(java.lang.String language)
Sets the language of this ddm template version.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.String name)
Sets the name of this ddm template version.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this ddm template version in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this ddm template version in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this ddm template version from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
Sets the localized names of this ddm template version from the map of locales and localized names, and sets the default locale.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ddm template version.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setScript(java.lang.String script)
Sets the script of this ddm template version.
|
void |
setStatus(int status)
Sets the status of this ddm template version.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this ddm template version.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this ddm template version.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this ddm template version.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this ddm template version.
|
void |
setTemplateId(long templateId)
Sets the template ID of this ddm template version.
|
void |
setTemplateVersionId(long templateVersionId)
Sets the template version ID of this ddm template version.
|
void |
setUserId(long userId)
Sets the user ID of this ddm template version.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this ddm template version.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this ddm template version.
|
void |
setVersion(java.lang.String version)
Sets the version of this ddm template version.
|
com.liferay.portal.kernel.model.CacheModel<DDMTemplateVersion> |
toCacheModel() |
DDMTemplateVersion |
toEscapedModel() |
static DDMTemplateVersion |
toModel(DDMTemplateVersionSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<DDMTemplateVersion> |
toModels(DDMTemplateVersionSoap[] 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 STATUS_COLUMN_BITMASK
public static final long TEMPLATEID_COLUMN_BITMASK
public static final long VERSION_COLUMN_BITMASK
public static final long TEMPLATEVERSIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static DDMTemplateVersion toModel(DDMTemplateVersionSoap soapModel)
soapModel
- the soap model instance to convertpublic static java.util.List<DDMTemplateVersion> toModels(DDMTemplateVersionSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
DDMTemplateVersionModel
getPrimaryKey
in interface DDMTemplateVersionModel
public void setPrimaryKey(long primaryKey)
DDMTemplateVersionModel
setPrimaryKey
in interface DDMTemplateVersionModel
primaryKey
- the primary key of this ddm template versionpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface DDMTemplateVersionModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface DDMTemplateVersionModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
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<DDMTemplateVersion>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMTemplateVersion>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMTemplateVersion>
@JSON public long getTemplateVersionId()
DDMTemplateVersionModel
getTemplateVersionId
in interface DDMTemplateVersionModel
public void setTemplateVersionId(long templateVersionId)
DDMTemplateVersionModel
setTemplateVersionId
in interface DDMTemplateVersionModel
templateVersionId
- the template version ID of this ddm template version@JSON public long getGroupId()
DDMTemplateVersionModel
getGroupId
in interface DDMTemplateVersionModel
public void setGroupId(long groupId)
DDMTemplateVersionModel
setGroupId
in interface DDMTemplateVersionModel
groupId
- the group ID of this ddm template version@JSON public long getCompanyId()
DDMTemplateVersionModel
getCompanyId
in interface DDMTemplateVersionModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public void setCompanyId(long companyId)
DDMTemplateVersionModel
setCompanyId
in interface DDMTemplateVersionModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this ddm template version@JSON public long getUserId()
DDMTemplateVersionModel
getUserId
in interface DDMTemplateVersionModel
public void setUserId(long userId)
DDMTemplateVersionModel
setUserId
in interface DDMTemplateVersionModel
userId
- the user ID of this ddm template versionpublic java.lang.String getUserUuid()
DDMTemplateVersionModel
getUserUuid
in interface DDMTemplateVersionModel
public void setUserUuid(java.lang.String userUuid)
DDMTemplateVersionModel
setUserUuid
in interface DDMTemplateVersionModel
userUuid
- the user uuid of this ddm template version@JSON public java.lang.String getUserName()
DDMTemplateVersionModel
getUserName
in interface DDMTemplateVersionModel
public void setUserName(java.lang.String userName)
DDMTemplateVersionModel
setUserName
in interface DDMTemplateVersionModel
userName
- the user name of this ddm template version@JSON public java.util.Date getCreateDate()
DDMTemplateVersionModel
getCreateDate
in interface DDMTemplateVersionModel
public void setCreateDate(java.util.Date createDate)
DDMTemplateVersionModel
setCreateDate
in interface DDMTemplateVersionModel
createDate
- the create date of this ddm template versionpublic java.lang.String getClassName()
DDMTemplateVersionModel
getClassName
in interface DDMTemplateVersionModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassName(java.lang.String className)
setClassName
in interface DDMTemplateVersionModel
@JSON public long getClassNameId()
DDMTemplateVersionModel
getClassNameId
in interface DDMTemplateVersionModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassNameId(long classNameId)
DDMTemplateVersionModel
setClassNameId
in interface DDMTemplateVersionModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this ddm template version@JSON public long getClassPK()
DDMTemplateVersionModel
getClassPK
in interface DDMTemplateVersionModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public void setClassPK(long classPK)
DDMTemplateVersionModel
setClassPK
in interface DDMTemplateVersionModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this ddm template version@JSON public long getTemplateId()
DDMTemplateVersionModel
getTemplateId
in interface DDMTemplateVersionModel
public void setTemplateId(long templateId)
DDMTemplateVersionModel
setTemplateId
in interface DDMTemplateVersionModel
templateId
- the template ID of this ddm template versionpublic long getOriginalTemplateId()
@JSON public java.lang.String getVersion()
DDMTemplateVersionModel
getVersion
in interface DDMTemplateVersionModel
public void setVersion(java.lang.String version)
DDMTemplateVersionModel
setVersion
in interface DDMTemplateVersionModel
version
- the version of this ddm template versionpublic java.lang.String getOriginalVersion()
@JSON public java.lang.String getName()
DDMTemplateVersionModel
getName
in interface DDMTemplateVersionModel
public java.lang.String getName(java.util.Locale locale)
DDMTemplateVersionModel
getName
in interface DDMTemplateVersionModel
locale
- the locale of the languagepublic java.lang.String getName(java.util.Locale locale, boolean useDefault)
DDMTemplateVersionModel
getName
in interface DDMTemplateVersionModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getName(java.lang.String languageId)
DDMTemplateVersionModel
getName
in interface DDMTemplateVersionModel
languageId
- the ID of the languagepublic java.lang.String getName(java.lang.String languageId, boolean useDefault)
DDMTemplateVersionModel
getName
in interface DDMTemplateVersionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface DDMTemplateVersionModel
@JSON public java.lang.String getNameCurrentValue()
getNameCurrentValue
in interface DDMTemplateVersionModel
public java.util.Map<java.util.Locale,java.lang.String> getNameMap()
DDMTemplateVersionModel
getNameMap
in interface DDMTemplateVersionModel
public void setName(java.lang.String name)
DDMTemplateVersionModel
setName
in interface DDMTemplateVersionModel
name
- the name of this ddm template versionpublic void setName(java.lang.String name, java.util.Locale locale)
DDMTemplateVersionModel
setName
in interface DDMTemplateVersionModel
name
- the localized name of this ddm template versionlocale
- the locale of the languagepublic void setName(java.lang.String name, java.util.Locale locale, java.util.Locale defaultLocale)
DDMTemplateVersionModel
setName
in interface DDMTemplateVersionModel
name
- the localized name of this ddm template versionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId
in interface DDMTemplateVersionModel
public void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
DDMTemplateVersionModel
setNameMap
in interface DDMTemplateVersionModel
nameMap
- the locales and localized names of this ddm template versionpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Locale defaultLocale)
DDMTemplateVersionModel
setNameMap
in interface DDMTemplateVersionModel
nameMap
- the locales and localized names of this ddm template versiondefaultLocale
- the default locale@JSON public java.lang.String getDescription()
DDMTemplateVersionModel
getDescription
in interface DDMTemplateVersionModel
public java.lang.String getDescription(java.util.Locale locale)
DDMTemplateVersionModel
getDescription
in interface DDMTemplateVersionModel
locale
- the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale, boolean useDefault)
DDMTemplateVersionModel
getDescription
in interface DDMTemplateVersionModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getDescription(java.lang.String languageId)
DDMTemplateVersionModel
getDescription
in interface DDMTemplateVersionModel
languageId
- the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId, boolean useDefault)
DDMTemplateVersionModel
getDescription
in interface DDMTemplateVersionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface DDMTemplateVersionModel
@JSON public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface DDMTemplateVersionModel
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
DDMTemplateVersionModel
getDescriptionMap
in interface DDMTemplateVersionModel
public void setDescription(java.lang.String description)
DDMTemplateVersionModel
setDescription
in interface DDMTemplateVersionModel
description
- the description of this ddm template versionpublic void setDescription(java.lang.String description, java.util.Locale locale)
DDMTemplateVersionModel
setDescription
in interface DDMTemplateVersionModel
description
- the localized description of this ddm template versionlocale
- the locale of the languagepublic void setDescription(java.lang.String description, java.util.Locale locale, java.util.Locale defaultLocale)
DDMTemplateVersionModel
setDescription
in interface DDMTemplateVersionModel
description
- the localized description of this ddm template versionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId
in interface DDMTemplateVersionModel
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
DDMTemplateVersionModel
setDescriptionMap
in interface DDMTemplateVersionModel
descriptionMap
- the locales and localized descriptions of this ddm template versionpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.util.Locale defaultLocale)
DDMTemplateVersionModel
setDescriptionMap
in interface DDMTemplateVersionModel
descriptionMap
- the locales and localized descriptions of this ddm template versiondefaultLocale
- the default locale@JSON public java.lang.String getLanguage()
DDMTemplateVersionModel
getLanguage
in interface DDMTemplateVersionModel
public void setLanguage(java.lang.String language)
DDMTemplateVersionModel
setLanguage
in interface DDMTemplateVersionModel
language
- the language of this ddm template version@JSON public java.lang.String getScript()
DDMTemplateVersionModel
getScript
in interface DDMTemplateVersionModel
public void setScript(java.lang.String script)
DDMTemplateVersionModel
setScript
in interface DDMTemplateVersionModel
script
- the script of this ddm template version@JSON public int getStatus()
DDMTemplateVersionModel
getStatus
in interface DDMTemplateVersionModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatus(int status)
DDMTemplateVersionModel
setStatus
in interface DDMTemplateVersionModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this ddm template versionpublic int getOriginalStatus()
@JSON public long getStatusByUserId()
DDMTemplateVersionModel
getStatusByUserId
in interface DDMTemplateVersionModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserId(long statusByUserId)
DDMTemplateVersionModel
setStatusByUserId
in interface DDMTemplateVersionModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this ddm template versionpublic java.lang.String getStatusByUserUuid()
DDMTemplateVersionModel
getStatusByUserUuid
in interface DDMTemplateVersionModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserUuid(java.lang.String statusByUserUuid)
DDMTemplateVersionModel
setStatusByUserUuid
in interface DDMTemplateVersionModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this ddm template version@JSON public java.lang.String getStatusByUserName()
DDMTemplateVersionModel
getStatusByUserName
in interface DDMTemplateVersionModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusByUserName(java.lang.String statusByUserName)
DDMTemplateVersionModel
setStatusByUserName
in interface DDMTemplateVersionModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this ddm template version@JSON public java.util.Date getStatusDate()
DDMTemplateVersionModel
getStatusDate
in interface DDMTemplateVersionModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public void setStatusDate(java.util.Date statusDate)
DDMTemplateVersionModel
setStatusDate
in interface DDMTemplateVersionModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this ddm template versionpublic boolean isApproved()
DDMTemplateVersionModel
true
if this ddm template version is approved.isApproved
in interface DDMTemplateVersionModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddm template version is approved; false
otherwisepublic boolean isDenied()
DDMTemplateVersionModel
true
if this ddm template version is denied.isDenied
in interface DDMTemplateVersionModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddm template version is denied; false
otherwisepublic boolean isDraft()
DDMTemplateVersionModel
true
if this ddm template version is a draft.isDraft
in interface DDMTemplateVersionModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddm template version is a draft; false
otherwisepublic boolean isExpired()
DDMTemplateVersionModel
true
if this ddm template version is expired.isExpired
in interface DDMTemplateVersionModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddm template version is expired; false
otherwisepublic boolean isInactive()
DDMTemplateVersionModel
true
if this ddm template version is inactive.isInactive
in interface DDMTemplateVersionModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddm template version is inactive; false
otherwisepublic boolean isIncomplete()
DDMTemplateVersionModel
true
if this ddm template version is incomplete.isIncomplete
in interface DDMTemplateVersionModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddm template version is incomplete; false
otherwisepublic boolean isPending()
DDMTemplateVersionModel
true
if this ddm template version is pending.isPending
in interface DDMTemplateVersionModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddm template version is pending; false
otherwisepublic boolean isScheduled()
DDMTemplateVersionModel
true
if this ddm template version is scheduled.isScheduled
in interface DDMTemplateVersionModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this ddm template version is scheduled; false
otherwisepublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface DDMTemplateVersionModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMTemplateVersion>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface DDMTemplateVersionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMTemplateVersion>
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface DDMTemplateVersionModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface DDMTemplateVersionModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface DDMTemplateVersionModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface DDMTemplateVersionModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public DDMTemplateVersion toEscapedModel()
toEscapedModel
in interface DDMTemplateVersionModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMTemplateVersion>
public java.lang.Object clone()
clone
in interface DDMTemplateVersionModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMTemplateVersion>
public int compareTo(DDMTemplateVersion ddmTemplateVersion)
compareTo
in interface DDMTemplateVersionModel
compareTo
in interface java.lang.Comparable<DDMTemplateVersion>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface DDMTemplateVersionModel
hashCode
in class java.lang.Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMTemplateVersion>
public com.liferay.portal.kernel.model.CacheModel<DDMTemplateVersion> toCacheModel()
toCacheModel
in interface DDMTemplateVersionModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMTemplateVersion>
public java.lang.String toString()
toString
in interface DDMTemplateVersionModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface DDMTemplateVersionModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>