@ProviderType public class DDMTemplateVersionWrapper extends java.lang.Object implements DDMTemplateVersion, com.liferay.portal.kernel.model.ModelWrapper<DDMTemplateVersion>
This class is a wrapper for DDMTemplateVersion
.
DDMTemplateVersion
,
Serialized FormTEMPLATE_VERSION_ID_ACCESSOR
Constructor and Description |
---|
DDMTemplateVersionWrapper(DDMTemplateVersion ddmTemplateVersion) |
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 |
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.
|
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.
|
DDMTemplate |
getTemplate() |
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.
|
DDMTemplateVersion |
getWrappedModel() |
int |
hashCode() |
boolean |
isApproved()
Returns
true if this ddm template version is approved. |
boolean |
isCachedModel() |
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 |
isEscapedModel() |
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 |
isNew() |
boolean |
isPending()
Returns
true if this ddm template version is pending. |
boolean |
isScheduled()
Returns
true if this ddm template version is scheduled. |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
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.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 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 |
setNew(boolean n) |
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() |
java.lang.String |
toString() |
DDMTemplateVersion |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public DDMTemplateVersionWrapper(DDMTemplateVersion ddmTemplateVersion)
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>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public DDMTemplate getTemplate() throws com.liferay.portal.kernel.exception.PortalException
getTemplate
in interface DDMTemplateVersion
com.liferay.portal.kernel.exception.PortalException
public DDMTemplateVersion toEscapedModel()
toEscapedModel
in interface DDMTemplateVersionModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public DDMTemplateVersion toUnescapedModel()
toUnescapedModel
in interface DDMTemplateVersionModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public boolean isApproved()
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 isCachedModel()
isCachedModel
in interface DDMTemplateVersionModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public boolean isDenied()
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()
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 isEscapedModel()
isEscapedModel
in interface DDMTemplateVersionModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public boolean isExpired()
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()
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()
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 isNew()
isNew
in interface DDMTemplateVersionModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public boolean isPending()
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()
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 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
public com.liferay.portal.kernel.model.CacheModel<DDMTemplateVersion> toCacheModel()
toCacheModel
in interface DDMTemplateVersionModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public int compareTo(DDMTemplateVersion ddmTemplateVersion)
compareTo
in interface DDMTemplateVersionModel
compareTo
in interface java.lang.Comparable<DDMTemplateVersion>
public int getStatus()
getStatus
in interface DDMTemplateVersionModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public int hashCode()
hashCode
in interface DDMTemplateVersionModel
hashCode
in class java.lang.Object
public 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 java.lang.Object clone()
clone
in interface DDMTemplateVersionModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
clone
in class java.lang.Object
public java.lang.String getClassName()
getClassName
in interface DDMTemplateVersionModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface DDMTemplateVersionModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getDescription()
getDescription
in interface DDMTemplateVersionModel
public java.lang.String getDescription(java.lang.String languageId)
getDescription
in interface DDMTemplateVersionModel
languageId
- the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId, boolean useDefault)
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 getDescription(java.util.Locale locale)
getDescription
in interface DDMTemplateVersionModel
locale
- the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale, boolean useDefault)
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 getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface DDMTemplateVersionModel
public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface DDMTemplateVersionModel
public java.lang.String getLanguage()
getLanguage
in interface DDMTemplateVersionModel
public java.lang.String getName()
getName
in interface DDMTemplateVersionModel
public java.lang.String getName(java.lang.String languageId)
getName
in interface DDMTemplateVersionModel
languageId
- the ID of the languagepublic java.lang.String getName(java.lang.String languageId, boolean useDefault)
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 getName(java.util.Locale locale)
getName
in interface DDMTemplateVersionModel
locale
- the locale of the languagepublic java.lang.String getName(java.util.Locale locale, boolean useDefault)
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 getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface DDMTemplateVersionModel
public java.lang.String getNameCurrentValue()
getNameCurrentValue
in interface DDMTemplateVersionModel
public java.lang.String getScript()
getScript
in interface DDMTemplateVersionModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface DDMTemplateVersionModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface DDMTemplateVersionModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getUserName()
getUserName
in interface DDMTemplateVersionModel
public java.lang.String getUserUuid()
getUserUuid
in interface DDMTemplateVersionModel
public java.lang.String getVersion()
getVersion
in interface DDMTemplateVersionModel
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>
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface DDMTemplateVersionModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.util.Date getCreateDate()
getCreateDate
in interface DDMTemplateVersionModel
public java.util.Date getStatusDate()
getStatusDate
in interface DDMTemplateVersionModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap
in interface DDMTemplateVersionModel
public java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap
in interface DDMTemplateVersionModel
public long getClassNameId()
getClassNameId
in interface DDMTemplateVersionModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassPK()
getClassPK
in interface DDMTemplateVersionModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public long getCompanyId()
getCompanyId
in interface DDMTemplateVersionModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getGroupId()
getGroupId
in interface DDMTemplateVersionModel
public long getPrimaryKey()
getPrimaryKey
in interface DDMTemplateVersionModel
public long getStatusByUserId()
getStatusByUserId
in interface DDMTemplateVersionModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getTemplateId()
getTemplateId
in interface DDMTemplateVersionModel
public long getTemplateVersionId()
getTemplateVersionId
in interface DDMTemplateVersionModel
public long getUserId()
getUserId
in interface DDMTemplateVersionModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
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 void setCachedModel(boolean cachedModel)
setCachedModel
in interface DDMTemplateVersionModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public void setClassName(java.lang.String className)
setClassName
in interface DDMTemplateVersionModel
public void setClassNameId(long classNameId)
setClassNameId
in interface DDMTemplateVersionModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this ddm template versionpublic void setClassPK(long classPK)
setClassPK
in interface DDMTemplateVersionModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this ddm template versionpublic void setCompanyId(long companyId)
setCompanyId
in interface DDMTemplateVersionModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this ddm template versionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface DDMTemplateVersionModel
createDate
- the create date of this ddm template versionpublic void setDescription(java.lang.String description)
setDescription
in interface DDMTemplateVersionModel
description
- the description of this ddm template versionpublic void setDescription(java.lang.String description, java.util.Locale locale)
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)
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)
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)
setDescriptionMap
in interface DDMTemplateVersionModel
descriptionMap
- the locales and localized descriptions of this ddm template versiondefaultLocale
- the default localepublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface DDMTemplateVersionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface DDMTemplateVersionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<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>
public void setGroupId(long groupId)
setGroupId
in interface DDMTemplateVersionModel
groupId
- the group ID of this ddm template versionpublic void setLanguage(java.lang.String language)
setLanguage
in interface DDMTemplateVersionModel
language
- the language of this ddm template versionpublic void setName(java.lang.String name)
setName
in interface DDMTemplateVersionModel
name
- the name of this ddm template versionpublic void setName(java.lang.String name, java.util.Locale locale)
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)
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)
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)
setNameMap
in interface DDMTemplateVersionModel
nameMap
- the locales and localized names of this ddm template versiondefaultLocale
- the default localepublic void setNew(boolean n)
setNew
in interface DDMTemplateVersionModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<DDMTemplateVersion>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DDMTemplateVersionModel
primaryKey
- the primary key of this ddm template versionpublic 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 void setScript(java.lang.String script)
setScript
in interface DDMTemplateVersionModel
script
- the script of this ddm template versionpublic void setStatus(int status)
setStatus
in interface DDMTemplateVersionModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this ddm template versionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface DDMTemplateVersionModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this ddm template versionpublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface DDMTemplateVersionModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this ddm template versionpublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface DDMTemplateVersionModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this ddm template versionpublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface DDMTemplateVersionModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this ddm template versionpublic void setTemplateId(long templateId)
setTemplateId
in interface DDMTemplateVersionModel
templateId
- the template ID of this ddm template versionpublic void setTemplateVersionId(long templateVersionId)
setTemplateVersionId
in interface DDMTemplateVersionModel
templateVersionId
- the template version ID of this ddm template versionpublic void setUserId(long userId)
setUserId
in interface DDMTemplateVersionModel
userId
- the user ID of this ddm template versionpublic void setUserName(java.lang.String userName)
setUserName
in interface DDMTemplateVersionModel
userName
- the user name of this ddm template versionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface DDMTemplateVersionModel
userUuid
- the user uuid of this ddm template versionpublic void setVersion(java.lang.String version)
setVersion
in interface DDMTemplateVersionModel
version
- the version of this ddm template versionpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public DDMTemplateVersion getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<DDMTemplateVersion>
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>