Class DDMTemplateWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMTemplate>
com.liferay.dynamic.data.mapping.model.DDMTemplateWrapper
- All Implemented Interfaces:
DDMTemplate
,DDMTemplateModel
,com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<DDMTemplate>
,com.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplate>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<DDMTemplate>
,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
,com.liferay.portal.kernel.model.TypedModel
,Serializable
,Cloneable
,Comparable<DDMTemplate>
public class DDMTemplateWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMTemplate>
implements DDMTemplate, com.liferay.portal.kernel.model.ModelWrapper<DDMTemplate>
This class is a wrapper for DDMTemplate
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.dynamic.data.mapping.model.DDMTemplate
TEMPLATE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
boolean
Returns the cacheable of this ddm template.Returns the fully qualified class name of this ddm template.long
Returns the class name ID of this ddm template.long
Returns the class pk of this ddm template.long
Returns the company ID of this ddm template.Returns the create date of this ddm template.long
Returns the ct collection ID of this ddm template.Returns the description of this ddm template.getDescription
(String languageId) Returns the localized description of this ddm template in the language.getDescription
(String languageId, boolean useDefault) Returns the localized description of this ddm template in the language, optionally using the default language if no localization exists for the requested language.getDescription
(Locale locale) Returns the localized description of this ddm template in the language.getDescription
(Locale locale, boolean useDefault) Returns the localized description of this ddm template in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized descriptions of this ddm template.Returns the external reference code of this ddm template.long
Returns the group ID of this ddm template.Returns the language of this ddm template.Returns the last publish date of this ddm template.getMode()
Returns the mode of this ddm template.Returns the modified date of this ddm template.long
Returns the mvcc version of this ddm template.getName()
Returns the name of this ddm template.Returns the localized name of this ddm template in the language.Returns the localized name of this ddm template in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this ddm template in the language.Returns the localized name of this ddm template in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this ddm template.long
Returns the primary key of this ddm template.long
Returns the resource class name ID of this ddm template.Returns the script of this ddm template.boolean
Returns the small image of this ddm template.long
Returns the small image ID of this ddm template.Returns the small image url of this ddm template.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the template ID of this ddm template.getTemplateImageURL
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) Returns the template key of this ddm template.getType()
Returns the type of this ddm template.long
Returns the user ID of this ddm template.Returns the user name of this ddm template.Returns the user uuid of this ddm template.getUuid()
Returns the uuid of this ddm template.Returns the version of this ddm template.long
Returns the version user ID of this ddm template.Returns the version user name of this ddm template.Returns the version user uuid of this ddm template.getWebDavURL
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String webDAVToken) Returns the WebDAV URL to access the template.boolean
Returnstrue
if this ddm template is cacheable.boolean
Returnstrue
if this ddm template is small image.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCacheable
(boolean cacheable) Sets whether this ddm template is cacheable.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this ddm template.void
setClassPK
(long classPK) Sets the class pk of this ddm template.void
setCompanyId
(long companyId) Sets the company ID of this ddm template.void
setCreateDate
(Date createDate) Sets the create date of this ddm template.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this ddm template.void
setDescription
(String description) Sets the description of this ddm template.void
setDescription
(String description, Locale locale) Sets the localized description of this ddm template in the language.void
setDescription
(String description, Locale locale, Locale defaultLocale) Sets the localized description of this ddm template in the language, and sets the default locale.void
setDescriptionCurrentLanguageId
(String languageId) void
setDescriptionMap
(Map<Locale, String> descriptionMap) Sets the localized descriptions of this ddm template from the map of locales and localized descriptions.void
setDescriptionMap
(Map<Locale, String> descriptionMap, Locale defaultLocale) Sets the localized descriptions of this ddm template from the map of locales and localized descriptions, and sets the default locale.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this ddm template.void
setGroupId
(long groupId) Sets the group ID of this ddm template.void
setLanguage
(String language) Sets the language of this ddm template.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this ddm template.void
Sets the mode of this ddm template.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this ddm template.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this ddm template.void
Sets the name of this ddm template.void
Sets the localized name of this ddm template in the language.void
Sets the localized name of this ddm template in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this ddm template from the map of locales and localized names.void
setNameMap
(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this ddm template 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.void
setResourceClassName
(String resourceClassName) void
setResourceClassNameId
(long resourceClassNameId) Sets the resource class name ID of this ddm template.void
Sets the script of this ddm template.void
setSmallImage
(boolean smallImage) Sets whether this ddm template is small image.void
setSmallImageId
(long smallImageId) Sets the small image ID of this ddm template.void
setSmallImageType
(String smallImageType) void
setSmallImageURL
(String smallImageURL) Sets the small image url of this ddm template.void
setTemplateId
(long templateId) Sets the template ID of this ddm template.void
setTemplateKey
(String templateKey) Sets the template key of this ddm template.void
Sets the type of this ddm template.void
setUserId
(long userId) Sets the user ID of this ddm template.void
setUserName
(String userName) Sets the user name of this ddm template.void
setUserUuid
(String userUuid) Sets the user uuid of this ddm template.void
Sets the uuid of this ddm template.void
setVersion
(String version) Sets the version of this ddm template.void
setVersionUserId
(long versionUserId) Sets the version user ID of this ddm template.void
setVersionUserName
(String versionUserName) Sets the version user name of this ddm template.void
setVersionUserUuid
(String versionUserUuid) Sets the version user uuid of this ddm template.protected DDMTemplateWrapper
wrap
(DDMTemplate ddmTemplate) 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
-
DDMTemplateWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<DDMTemplate>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<DDMTemplate>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<DDMTemplate>
- Specified by:
cloneWithOriginalValues
in interfaceDDMTemplateModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceDDMTemplateModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCacheable
public boolean getCacheable()Returns the cacheable of this ddm template.- Specified by:
getCacheable
in interfaceDDMTemplateModel
- Returns:
- the cacheable of this ddm template
-
getClassName
Returns the fully qualified class name of this ddm template.- Specified by:
getClassName
in interfaceDDMTemplateModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the fully qualified class name of this ddm template
-
getClassNameId
public long getClassNameId()Returns the class name ID of this ddm template.- Specified by:
getClassNameId
in interfaceDDMTemplateModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the class name ID of this ddm template
-
getClassPK
public long getClassPK()Returns the class pk of this ddm template.- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfaceDDMTemplateModel
- Returns:
- the class pk of this ddm template
-
getCompanyId
public long getCompanyId()Returns the company ID of this ddm template.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceDDMTemplateModel
- 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 ddm template
-
getCreateDate
Returns the create date of this ddm template.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceDDMTemplateModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this ddm template
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this ddm template.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplate>
- Specified by:
getCtCollectionId
in interfaceDDMTemplateModel
- Returns:
- the ct collection ID of this ddm template
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceDDMTemplateModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDescription
Returns the description of this ddm template.- Specified by:
getDescription
in interfaceDDMTemplateModel
- Returns:
- the description of this ddm template
-
getDescription
Returns the localized description of this ddm template in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceDDMTemplateModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized description of this ddm template
-
getDescription
Returns the localized description of this ddm template in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceDDMTemplateModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this ddm template. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getDescription
Returns the localized description of this ddm template in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceDDMTemplateModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized description of this ddm template
-
getDescription
Returns the localized description of this ddm template in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceDDMTemplateModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this ddm template
-
getDescriptionCurrentLanguageId
- Specified by:
getDescriptionCurrentLanguageId
in interfaceDDMTemplateModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValue
in interfaceDDMTemplateModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this ddm template.- Specified by:
getDescriptionMap
in interfaceDDMTemplateModel
- Returns:
- the locales and localized descriptions of this ddm template
-
getExternalReferenceCode
Returns the external reference code of this ddm template.- Specified by:
getExternalReferenceCode
in interfaceDDMTemplateModel
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this ddm template
-
getGroupId
public long getGroupId()Returns the group ID of this ddm template.- Specified by:
getGroupId
in interfaceDDMTemplateModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this ddm template
-
getLanguage
Returns the language of this ddm template.- Specified by:
getLanguage
in interfaceDDMTemplateModel
- Returns:
- the language of this ddm template
-
getLastPublishDate
Returns the last publish date of this ddm template.- Specified by:
getLastPublishDate
in interfaceDDMTemplateModel
- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this ddm template
-
getLatestTemplateVersion
public DDMTemplateVersion getLatestTemplateVersion() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getLatestTemplateVersion
in interfaceDDMTemplate
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMode
Returns the mode of this ddm template.- Specified by:
getMode
in interfaceDDMTemplateModel
- Returns:
- the mode of this ddm template
-
getModifiedDate
Returns the modified date of this ddm template.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceDDMTemplateModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this ddm template
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this ddm template.- Specified by:
getMvccVersion
in interfaceDDMTemplateModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this ddm template
-
getName
Returns the name of this ddm template.- Specified by:
getName
in interfaceDDMTemplateModel
- Returns:
- the name of this ddm template
-
getName
Returns the localized name of this ddm template in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceDDMTemplateModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized name of this ddm template
-
getName
Returns the localized name of this ddm template in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceDDMTemplateModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this ddm template. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this ddm template in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceDDMTemplateModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized name of this ddm template
-
getName
Returns the localized name of this ddm template in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceDDMTemplateModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this ddm template
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceDDMTemplateModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceDDMTemplateModel
-
getNameMap
Returns a map of the locales and localized names of this ddm template.- Specified by:
getNameMap
in interfaceDDMTemplateModel
- Returns:
- the locales and localized names of this ddm template
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this ddm template.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplate>
- Specified by:
getPrimaryKey
in interfaceDDMTemplateModel
- Returns:
- the primary key of this ddm template
-
getResourceClassName
- Specified by:
getResourceClassName
in interfaceDDMTemplate
-
getResourceClassNameId
public long getResourceClassNameId()Returns the resource class name ID of this ddm template.- Specified by:
getResourceClassNameId
in interfaceDDMTemplateModel
- Returns:
- the resource class name ID of this ddm template
-
getScript
Returns the script of this ddm template.- Specified by:
getScript
in interfaceDDMTemplateModel
- Returns:
- the script of this ddm template
-
getSmallImage
public boolean getSmallImage()Returns the small image of this ddm template.- Specified by:
getSmallImage
in interfaceDDMTemplateModel
- Returns:
- the small image of this ddm template
-
getSmallImageId
public long getSmallImageId()Returns the small image ID of this ddm template.- Specified by:
getSmallImageId
in interfaceDDMTemplateModel
- Returns:
- the small image ID of this ddm template
-
getSmallImageType
- Specified by:
getSmallImageType
in interfaceDDMTemplate
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSmallImageURL
Returns the small image url of this ddm template.- Specified by:
getSmallImageURL
in interfaceDDMTemplateModel
- Returns:
- the small image url of this ddm template
-
getTemplateId
public long getTemplateId()Returns the template ID of this ddm template.- Specified by:
getTemplateId
in interfaceDDMTemplateModel
- Returns:
- the template ID of this ddm template
-
getTemplateImageURL
- Specified by:
getTemplateImageURL
in interfaceDDMTemplate
-
getTemplateKey
Returns the template key of this ddm template.- Specified by:
getTemplateKey
in interfaceDDMTemplateModel
- Returns:
- the template key of this ddm template
-
getTemplateVersion
public DDMTemplateVersion getTemplateVersion() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getTemplateVersion
in interfaceDDMTemplate
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getType
Returns the type of this ddm template.- Specified by:
getType
in interfaceDDMTemplateModel
- Returns:
- the type of this ddm template
-
getUserId
public long getUserId()Returns the user ID of this ddm template.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceDDMTemplateModel
- Returns:
- the user ID of this ddm template
-
getUserName
Returns the user name of this ddm template.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceDDMTemplateModel
- Returns:
- the user name of this ddm template
-
getUserUuid
Returns the user uuid of this ddm template.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceDDMTemplateModel
- Returns:
- the user uuid of this ddm template
-
getUuid
Returns the uuid of this ddm template.- Specified by:
getUuid
in interfaceDDMTemplateModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this ddm template
-
getVersion
Returns the version of this ddm template.- Specified by:
getVersion
in interfaceDDMTemplateModel
- Returns:
- the version of this ddm template
-
getVersionUserId
public long getVersionUserId()Returns the version user ID of this ddm template.- Specified by:
getVersionUserId
in interfaceDDMTemplateModel
- Returns:
- the version user ID of this ddm template
-
getVersionUserName
Returns the version user name of this ddm template.- Specified by:
getVersionUserName
in interfaceDDMTemplateModel
- Returns:
- the version user name of this ddm template
-
getVersionUserUuid
Returns the version user uuid of this ddm template.- Specified by:
getVersionUserUuid
in interfaceDDMTemplateModel
- Returns:
- the version user uuid of this ddm template
-
getWebDavURL
public String getWebDavURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String webDAVToken) Returns the WebDAV URL to access the template.- Specified by:
getWebDavURL
in interfaceDDMTemplate
- Parameters:
themeDisplay
- the theme display needed to build the URL. It can set HTTPS access, the server name, the server port, the path context, and the scope group.webDAVToken
- the WebDAV token for the URL- Returns:
- the WebDAV URL
-
isCacheable
public boolean isCacheable()Returnstrue
if this ddm template is cacheable.- Specified by:
isCacheable
in interfaceDDMTemplateModel
- Returns:
true
if this ddm template is cacheable;false
otherwise
-
isSmallImage
public boolean isSmallImage()Returnstrue
if this ddm template is small image.- Specified by:
isSmallImage
in interfaceDDMTemplateModel
- Returns:
true
if this ddm template is small image;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceDDMTemplateModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfaceDDMTemplateModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCacheable
public void setCacheable(boolean cacheable) Sets whether this ddm template is cacheable.- Specified by:
setCacheable
in interfaceDDMTemplateModel
- Parameters:
cacheable
- the cacheable of this ddm template
-
setClassName
- Specified by:
setClassName
in interfaceDDMTemplateModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this ddm template.- Specified by:
setClassNameId
in interfaceDDMTemplateModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Parameters:
classNameId
- the class name ID of this ddm template
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this ddm template.- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfaceDDMTemplateModel
- Parameters:
classPK
- the class pk of this ddm template
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this ddm template.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceDDMTemplateModel
- 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 ddm template
-
setCreateDate
Sets the create date of this ddm template.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceDDMTemplateModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this ddm template
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this ddm template.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplate>
- Specified by:
setCtCollectionId
in interfaceDDMTemplateModel
- Parameters:
ctCollectionId
- the ct collection ID of this ddm template
-
setDescription
Sets the description of this ddm template.- Specified by:
setDescription
in interfaceDDMTemplateModel
- Parameters:
description
- the description of this ddm template
-
setDescription
Sets the localized description of this ddm template in the language.- Specified by:
setDescription
in interfaceDDMTemplateModel
- Parameters:
description
- the localized description of this ddm templatelocale
- the locale of the language
-
setDescription
Sets the localized description of this ddm template in the language, and sets the default locale.- Specified by:
setDescription
in interfaceDDMTemplateModel
- Parameters:
description
- the localized description of this ddm templatelocale
- the locale of the languagedefaultLocale
- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageId
in interfaceDDMTemplateModel
-
setDescriptionMap
Sets the localized descriptions of this ddm template from the map of locales and localized descriptions.- Specified by:
setDescriptionMap
in interfaceDDMTemplateModel
- Parameters:
descriptionMap
- the locales and localized descriptions of this ddm template
-
setDescriptionMap
Sets the localized descriptions of this ddm template from the map of locales and localized descriptions, and sets the default locale.- Specified by:
setDescriptionMap
in interfaceDDMTemplateModel
- Parameters:
descriptionMap
- the locales and localized descriptions of this ddm templatedefaultLocale
- the default locale
-
setExternalReferenceCode
Sets the external reference code of this ddm template.- Specified by:
setExternalReferenceCode
in interfaceDDMTemplateModel
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this ddm template
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this ddm template.- Specified by:
setGroupId
in interfaceDDMTemplateModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this ddm template
-
setLanguage
Sets the language of this ddm template.- Specified by:
setLanguage
in interfaceDDMTemplateModel
- Parameters:
language
- the language of this ddm template
-
setLastPublishDate
Sets the last publish date of this ddm template.- Specified by:
setLastPublishDate
in interfaceDDMTemplateModel
- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this ddm template
-
setMode
Sets the mode of this ddm template.- Specified by:
setMode
in interfaceDDMTemplateModel
- Parameters:
mode
- the mode of this ddm template
-
setModifiedDate
Sets the modified date of this ddm template.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceDDMTemplateModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this ddm template
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this ddm template.- Specified by:
setMvccVersion
in interfaceDDMTemplateModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this ddm template
-
setName
Sets the name of this ddm template.- Specified by:
setName
in interfaceDDMTemplateModel
- Parameters:
name
- the name of this ddm template
-
setName
Sets the localized name of this ddm template in the language.- Specified by:
setName
in interfaceDDMTemplateModel
- Parameters:
name
- the localized name of this ddm templatelocale
- the locale of the language
-
setName
Sets the localized name of this ddm template in the language, and sets the default locale.- Specified by:
setName
in interfaceDDMTemplateModel
- Parameters:
name
- the localized name of this ddm templatelocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceDDMTemplateModel
-
setNameMap
Sets the localized names of this ddm template from the map of locales and localized names.- Specified by:
setNameMap
in interfaceDDMTemplateModel
- Parameters:
nameMap
- the locales and localized names of this ddm template
-
setNameMap
Sets the localized names of this ddm template from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMap
in interfaceDDMTemplateModel
- Parameters:
nameMap
- the locales and localized names of this ddm templatedefaultLocale
- the default locale
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this ddm template.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<DDMTemplate>
- Specified by:
setPrimaryKey
in interfaceDDMTemplateModel
- Parameters:
primaryKey
- the primary key of this ddm template
-
setResourceClassName
- Specified by:
setResourceClassName
in interfaceDDMTemplate
-
setResourceClassNameId
public void setResourceClassNameId(long resourceClassNameId) Sets the resource class name ID of this ddm template.- Specified by:
setResourceClassNameId
in interfaceDDMTemplateModel
- Parameters:
resourceClassNameId
- the resource class name ID of this ddm template
-
setScript
Sets the script of this ddm template.- Specified by:
setScript
in interfaceDDMTemplateModel
- Parameters:
script
- the script of this ddm template
-
setSmallImage
public void setSmallImage(boolean smallImage) Sets whether this ddm template is small image.- Specified by:
setSmallImage
in interfaceDDMTemplateModel
- Parameters:
smallImage
- the small image of this ddm template
-
setSmallImageId
public void setSmallImageId(long smallImageId) Sets the small image ID of this ddm template.- Specified by:
setSmallImageId
in interfaceDDMTemplateModel
- Parameters:
smallImageId
- the small image ID of this ddm template
-
setSmallImageType
- Specified by:
setSmallImageType
in interfaceDDMTemplate
-
setSmallImageURL
Sets the small image url of this ddm template.- Specified by:
setSmallImageURL
in interfaceDDMTemplateModel
- Parameters:
smallImageURL
- the small image url of this ddm template
-
setTemplateId
public void setTemplateId(long templateId) Sets the template ID of this ddm template.- Specified by:
setTemplateId
in interfaceDDMTemplateModel
- Parameters:
templateId
- the template ID of this ddm template
-
setTemplateKey
Sets the template key of this ddm template.- Specified by:
setTemplateKey
in interfaceDDMTemplateModel
- Parameters:
templateKey
- the template key of this ddm template
-
setType
Sets the type of this ddm template.- Specified by:
setType
in interfaceDDMTemplateModel
- Parameters:
type
- the type of this ddm template
-
setUserId
public void setUserId(long userId) Sets the user ID of this ddm template.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceDDMTemplateModel
- Parameters:
userId
- the user ID of this ddm template
-
setUserName
Sets the user name of this ddm template.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceDDMTemplateModel
- Parameters:
userName
- the user name of this ddm template
-
setUserUuid
Sets the user uuid of this ddm template.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceDDMTemplateModel
- Parameters:
userUuid
- the user uuid of this ddm template
-
setUuid
Sets the uuid of this ddm template.- Specified by:
setUuid
in interfaceDDMTemplateModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this ddm template
-
setVersion
Sets the version of this ddm template.- Specified by:
setVersion
in interfaceDDMTemplateModel
- Parameters:
version
- the version of this ddm template
-
setVersionUserId
public void setVersionUserId(long versionUserId) Sets the version user ID of this ddm template.- Specified by:
setVersionUserId
in interfaceDDMTemplateModel
- Parameters:
versionUserId
- the version user ID of this ddm template
-
setVersionUserName
Sets the version user name of this ddm template.- Specified by:
setVersionUserName
in interfaceDDMTemplateModel
- Parameters:
versionUserName
- the version user name of this ddm template
-
setVersionUserUuid
Sets the version user uuid of this ddm template.- Specified by:
setVersionUserUuid
in interfaceDDMTemplateModel
- Parameters:
versionUserUuid
- the version user uuid of this ddm template
-
toXmlString
- Specified by:
toXmlString
in interfaceDDMTemplateModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<DDMTemplate>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<DDMTemplate>
-
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<DDMTemplate>
-