Package com.liferay.portal.kernel.model
Class LayoutSetPrototypeWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSetPrototype>
com.liferay.portal.kernel.model.LayoutSetPrototypeWrapper
- All Implemented Interfaces:
AuditedModel,BaseModel<LayoutSetPrototype>,ClassedModel,LayoutSetPrototype,LayoutSetPrototypeModel,LocalizedModel,ModelWrapper<LayoutSetPrototype>,MVCCModel,PersistedModel,ShardedModel,StagedAuditedModel,StagedModel,Serializable,Cloneable,Comparable<LayoutSetPrototype>
public class LayoutSetPrototypeWrapper
extends BaseModelWrapper<LayoutSetPrototype>
implements LayoutSetPrototype, ModelWrapper<LayoutSetPrototype>
This class is a wrapper for LayoutSetPrototype.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.LayoutSetPrototype
LAYOUT_SET_PROTOTYPE_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the active of this layout set prototype.String[]longReturns the company ID of this layout set prototype.Returns the create date of this layout set prototype.Returns the description of this layout set prototype.getDescription(String languageId) Returns the localized description of this layout set prototype in the language.getDescription(String languageId, boolean useDefault) Returns the localized description of this layout set prototype 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 layout set prototype in the language.getDescription(Locale locale, boolean useDefault) Returns the localized description of this layout set prototype 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 layout set prototype.getGroup()longlongReturns the layout set prototype ID of this layout set prototype.intReturns the number of failed merge attempts for the layout set prototype since its last reset or update.Returns the modified date of this layout set prototype.longReturns the mvcc version of this layout set prototype.getName()Returns the name of this layout set prototype.Returns the localized name of this layout set prototype in the language.Returns the localized name of this layout set prototype in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this layout set prototype in the language.Returns the localized name of this layout set prototype 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 layout set prototype.longReturns the primary key of this layout set prototype.Returns the settings of this layout set prototype.longReturns the user ID of this layout set prototype.Returns the user name of this layout set prototype.Returns the user uuid of this layout set prototype.getUuid()Returns the uuid of this layout set prototype.booleanbooleanisActive()Returnstrueif this layout set prototype is active.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetActive(boolean active) Sets whether this layout set prototype is active.voidsetCompanyId(long companyId) Sets the company ID of this layout set prototype.voidsetCreateDate(Date createDate) Sets the create date of this layout set prototype.voidsetDescription(String description) Sets the description of this layout set prototype.voidsetDescription(String description, Locale locale) Sets the localized description of this layout set prototype in the language.voidsetDescription(String description, Locale locale, Locale defaultLocale) Sets the localized description of this layout set prototype in the language, and sets the default locale.voidsetDescriptionCurrentLanguageId(String languageId) voidsetDescriptionMap(Map<Locale, String> descriptionMap) Sets the localized descriptions of this layout set prototype from the map of locales and localized descriptions.voidsetDescriptionMap(Map<Locale, String> descriptionMap, Locale defaultLocale) Sets the localized descriptions of this layout set prototype from the map of locales and localized descriptions, and sets the default locale.voidsetLayoutSetPrototypeId(long layoutSetPrototypeId) Sets the layout set prototype ID of this layout set prototype.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this layout set prototype.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this layout set prototype.voidSets the name of this layout set prototype.voidSets the localized name of this layout set prototype in the language.voidSets the localized name of this layout set prototype in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this layout set prototype from the map of locales and localized names.voidsetNameMap(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this layout set prototype from the map of locales and localized names, and sets the default locale.voidsetPrimaryKey(long primaryKey) Sets the primary key of this layout set prototype.voidsetSettings(String settings) Sets the settings of this layout set prototype.voidsetSettingsProperties(UnicodeProperties settingsUnicodeProperties) voidsetUserId(long userId) Sets the user ID of this layout set prototype.voidsetUserName(String userName) Sets the user name of this layout set prototype.voidsetUserUuid(String userUuid) Sets the user uuid of this layout set prototype.voidSets the uuid of this layout set prototype.protected LayoutSetPrototypeWrapperwrap(LayoutSetPrototype layoutSetPrototype) 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
LayoutSetPrototypeWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<LayoutSetPrototype>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<LayoutSetPrototype>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<LayoutSetPrototype>- Specified by:
cloneWithOriginalValuesin interfaceLayoutSetPrototypeModel
-
getActive
public boolean getActive()Returns the active of this layout set prototype.- Specified by:
getActivein interfaceLayoutSetPrototypeModel- Returns:
- the active of this layout set prototype
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceLayoutSetPrototypeModel- Specified by:
getAvailableLanguageIdsin interfaceLocalizedModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this layout set prototype.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceLayoutSetPrototypeModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this layout set prototype
-
getCreateDate
Returns the create date of this layout set prototype.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceLayoutSetPrototypeModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this layout set prototype
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceLayoutSetPrototypeModel- Specified by:
getDefaultLanguageIdin interfaceLocalizedModel
-
getDescription
Returns the description of this layout set prototype.- Specified by:
getDescriptionin interfaceLayoutSetPrototypeModel- Returns:
- the description of this layout set prototype
-
getDescription
Returns the localized description of this layout set prototype in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceLayoutSetPrototypeModel- Parameters:
locale- the locale of the language- Returns:
- the localized description of this layout set prototype
-
getDescription
Returns the localized description of this layout set prototype in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceLayoutSetPrototypeModel- 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 layout set prototype. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getDescription
Returns the localized description of this layout set prototype in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceLayoutSetPrototypeModel- Parameters:
languageId- the ID of the language- Returns:
- the localized description of this layout set prototype
-
getDescription
Returns the localized description of this layout set prototype in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceLayoutSetPrototypeModel- 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 layout set prototype
-
getDescriptionCurrentLanguageId
- Specified by:
getDescriptionCurrentLanguageIdin interfaceLayoutSetPrototypeModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValuein interfaceLayoutSetPrototypeModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this layout set prototype.- Specified by:
getDescriptionMapin interfaceLayoutSetPrototypeModel- Returns:
- the locales and localized descriptions of this layout set prototype
-
getGroup
- Specified by:
getGroupin interfaceLayoutSetPrototype- Throws:
PortalException
-
getGroupId
- Specified by:
getGroupIdin interfaceLayoutSetPrototype- Throws:
PortalException
-
getLayoutSet
- Specified by:
getLayoutSetin interfaceLayoutSetPrototype- Throws:
PortalException
-
getLayoutSetPrototypeId
public long getLayoutSetPrototypeId()Returns the layout set prototype ID of this layout set prototype.- Specified by:
getLayoutSetPrototypeIdin interfaceLayoutSetPrototypeModel- Returns:
- the layout set prototype ID of this layout set prototype
-
getMergeFailCount
Returns the number of failed merge attempts for the layout set prototype since its last reset or update.- Specified by:
getMergeFailCountin interfaceLayoutSetPrototype- Returns:
- the number of failed merge attempts for the layout set prototype
- Throws:
PortalException
-
getModifiedDate
Returns the modified date of this layout set prototype.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceLayoutSetPrototypeModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this layout set prototype
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this layout set prototype.- Specified by:
getMvccVersionin interfaceLayoutSetPrototypeModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this layout set prototype
-
getName
Returns the name of this layout set prototype.- Specified by:
getNamein interfaceLayoutSetPrototypeModel- Returns:
- the name of this layout set prototype
-
getName
Returns the localized name of this layout set prototype in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceLayoutSetPrototypeModel- Parameters:
locale- the locale of the language- Returns:
- the localized name of this layout set prototype
-
getName
Returns the localized name of this layout set prototype in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceLayoutSetPrototypeModel- 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 layout set prototype. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this layout set prototype in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceLayoutSetPrototypeModel- Parameters:
languageId- the ID of the language- Returns:
- the localized name of this layout set prototype
-
getName
Returns the localized name of this layout set prototype in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceLayoutSetPrototypeModel- 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 layout set prototype
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageIdin interfaceLayoutSetPrototypeModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceLayoutSetPrototypeModel
-
getNameMap
Returns a map of the locales and localized names of this layout set prototype.- Specified by:
getNameMapin interfaceLayoutSetPrototypeModel- Returns:
- the locales and localized names of this layout set prototype
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this layout set prototype.- Specified by:
getPrimaryKeyin interfaceLayoutSetPrototypeModel- Returns:
- the primary key of this layout set prototype
-
getSettings
Returns the settings of this layout set prototype.- Specified by:
getSettingsin interfaceLayoutSetPrototypeModel- Returns:
- the settings of this layout set prototype
-
getSettingsProperties
- Specified by:
getSettingsPropertiesin interfaceLayoutSetPrototype
-
getSettingsProperty
- Specified by:
getSettingsPropertyin interfaceLayoutSetPrototype
-
getUserId
public long getUserId()Returns the user ID of this layout set prototype.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceLayoutSetPrototypeModel- Returns:
- the user ID of this layout set prototype
-
getUserName
Returns the user name of this layout set prototype.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceLayoutSetPrototypeModel- Returns:
- the user name of this layout set prototype
-
getUserUuid
Returns the user uuid of this layout set prototype.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceLayoutSetPrototypeModel- Returns:
- the user uuid of this layout set prototype
-
getUuid
Returns the uuid of this layout set prototype.- Specified by:
getUuidin interfaceLayoutSetPrototypeModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this layout set prototype
-
hasSetModifiedDate
public boolean hasSetModifiedDate()- Specified by:
hasSetModifiedDatein interfaceLayoutSetPrototype
-
isActive
public boolean isActive()Returnstrueif this layout set prototype is active.- Specified by:
isActivein interfaceLayoutSetPrototypeModel- Returns:
trueif this layout set prototype is active;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImportin interfaceLayoutSetPrototypeModel- Specified by:
prepareLocalizedFieldsForImportin interfaceLocalizedModel- Throws:
LocaleException
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImportin interfaceLayoutSetPrototypeModel- Specified by:
prepareLocalizedFieldsForImportin interfaceLocalizedModel- Throws:
LocaleException
-
setActive
public void setActive(boolean active) Sets whether this layout set prototype is active.- Specified by:
setActivein interfaceLayoutSetPrototypeModel- Parameters:
active- the active of this layout set prototype
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this layout set prototype.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceLayoutSetPrototypeModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this layout set prototype
-
setCreateDate
Sets the create date of this layout set prototype.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceLayoutSetPrototypeModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this layout set prototype
-
setDescription
Sets the description of this layout set prototype.- Specified by:
setDescriptionin interfaceLayoutSetPrototypeModel- Parameters:
description- the description of this layout set prototype
-
setDescription
Sets the localized description of this layout set prototype in the language.- Specified by:
setDescriptionin interfaceLayoutSetPrototypeModel- Parameters:
description- the localized description of this layout set prototypelocale- the locale of the language
-
setDescription
Sets the localized description of this layout set prototype in the language, and sets the default locale.- Specified by:
setDescriptionin interfaceLayoutSetPrototypeModel- Parameters:
description- the localized description of this layout set prototypelocale- the locale of the languagedefaultLocale- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageIdin interfaceLayoutSetPrototypeModel
-
setDescriptionMap
Sets the localized descriptions of this layout set prototype from the map of locales and localized descriptions.- Specified by:
setDescriptionMapin interfaceLayoutSetPrototypeModel- Parameters:
descriptionMap- the locales and localized descriptions of this layout set prototype
-
setDescriptionMap
Sets the localized descriptions of this layout set prototype from the map of locales and localized descriptions, and sets the default locale.- Specified by:
setDescriptionMapin interfaceLayoutSetPrototypeModel- Parameters:
descriptionMap- the locales and localized descriptions of this layout set prototypedefaultLocale- the default locale
-
setLayoutSetPrototypeId
public void setLayoutSetPrototypeId(long layoutSetPrototypeId) Sets the layout set prototype ID of this layout set prototype.- Specified by:
setLayoutSetPrototypeIdin interfaceLayoutSetPrototypeModel- Parameters:
layoutSetPrototypeId- the layout set prototype ID of this layout set prototype
-
setModifiedDate
Sets the modified date of this layout set prototype.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceLayoutSetPrototypeModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this layout set prototype
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this layout set prototype.- Specified by:
setMvccVersionin interfaceLayoutSetPrototypeModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this layout set prototype
-
setName
Sets the name of this layout set prototype.- Specified by:
setNamein interfaceLayoutSetPrototypeModel- Parameters:
name- the name of this layout set prototype
-
setName
Sets the localized name of this layout set prototype in the language.- Specified by:
setNamein interfaceLayoutSetPrototypeModel- Parameters:
name- the localized name of this layout set prototypelocale- the locale of the language
-
setName
Sets the localized name of this layout set prototype in the language, and sets the default locale.- Specified by:
setNamein interfaceLayoutSetPrototypeModel- Parameters:
name- the localized name of this layout set prototypelocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceLayoutSetPrototypeModel
-
setNameMap
Sets the localized names of this layout set prototype from the map of locales and localized names.- Specified by:
setNameMapin interfaceLayoutSetPrototypeModel- Parameters:
nameMap- the locales and localized names of this layout set prototype
-
setNameMap
Sets the localized names of this layout set prototype from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMapin interfaceLayoutSetPrototypeModel- Parameters:
nameMap- the locales and localized names of this layout set prototypedefaultLocale- the default locale
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this layout set prototype.- Specified by:
setPrimaryKeyin interfaceLayoutSetPrototypeModel- Parameters:
primaryKey- the primary key of this layout set prototype
-
setSettings
Sets the settings of this layout set prototype.- Specified by:
setSettingsin interfaceLayoutSetPrototypeModel- Parameters:
settings- the settings of this layout set prototype
-
setSettingsProperties
- Specified by:
setSettingsPropertiesin interfaceLayoutSetPrototype
-
setUserId
public void setUserId(long userId) Sets the user ID of this layout set prototype.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceLayoutSetPrototypeModel- Parameters:
userId- the user ID of this layout set prototype
-
setUserName
Sets the user name of this layout set prototype.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceLayoutSetPrototypeModel- Parameters:
userName- the user name of this layout set prototype
-
setUserUuid
Sets the user uuid of this layout set prototype.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceLayoutSetPrototypeModel- Parameters:
userUuid- the user uuid of this layout set prototype
-
setUuid
Sets the uuid of this layout set prototype.- Specified by:
setUuidin interfaceLayoutSetPrototypeModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this layout set prototype
-
toXmlString
- Specified by:
toXmlStringin interfaceLayoutSetPrototypeModel
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<LayoutSetPrototype>
-