@ProviderType public class LayoutSetPrototypeWrapper extends java.lang.Object implements LayoutSetPrototype, ModelWrapper<LayoutSetPrototype>
This class is a wrapper for LayoutSetPrototype.
LayoutSetPrototype,
Serialized Form| Constructor and Description |
|---|
LayoutSetPrototypeWrapper(LayoutSetPrototype layoutSetPrototype) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(LayoutSetPrototype layoutSetPrototype) |
boolean |
equals(java.lang.Object obj) |
boolean |
getActive()
Returns the active of this layout set prototype.
|
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this layout set prototype.
|
java.util.Date |
getCreateDate()
Returns the create date of this layout set prototype.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this layout set prototype.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Group |
getGroup() |
long |
getGroupId() |
LayoutSet |
getLayoutSet() |
long |
getLayoutSetPrototypeId()
Returns the layout set prototype ID of this layout set prototype.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this layout set prototype.
|
java.lang.String |
getName()
Returns the name of this layout set prototype.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this layout set prototype in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
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.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this layout set prototype in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
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.
|
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 layout set prototype.
|
long |
getPrimaryKey()
Returns the primary key of this layout set prototype.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
java.lang.String |
getSettings()
Returns the settings of this layout set prototype.
|
UnicodeProperties |
getSettingsProperties() |
java.lang.String |
getSettingsProperty(java.lang.String key) |
StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this layout set prototype.
|
java.lang.String |
getUserName()
Returns the user name of this layout set prototype.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this layout set prototype.
|
java.lang.String |
getUuid()
Returns the uuid of this layout set prototype.
|
LayoutSetPrototype |
getWrappedLayoutSetPrototype()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
LayoutSetPrototype |
getWrappedModel() |
int |
hashCode() |
boolean |
isActive()
Returns
true if this layout set prototype is active. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setActive(boolean active)
Sets whether this layout set prototype is active.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company ID of this layout set prototype.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this layout set prototype.
|
void |
setDescription(java.lang.String description)
Sets the description of this layout set prototype.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setLayoutSetPrototypeId(long layoutSetPrototypeId)
Sets the layout set prototype ID of this layout set prototype.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this layout set prototype.
|
void |
setName(java.lang.String name)
Sets the name of this layout set prototype.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this layout set prototype in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this layout set prototype 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 layout set prototype 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 layout set prototype from the map of locales and localized names, and sets the default locale.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout set prototype.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setSettings(java.lang.String settings)
Sets the settings of this layout set prototype.
|
void |
setSettingsProperties(UnicodeProperties settingsProperties) |
void |
setUserId(long userId)
Sets the user ID of this layout set prototype.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this layout set prototype.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this layout set prototype.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this layout set prototype.
|
CacheModel<LayoutSetPrototype> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
LayoutSetPrototype |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
LayoutSetPrototype |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public LayoutSetPrototypeWrapper(LayoutSetPrototype layoutSetPrototype)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<LayoutSetPrototype>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<LayoutSetPrototype>public long getPrimaryKey()
getPrimaryKey in interface LayoutSetPrototypeModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface LayoutSetPrototypeModelprimaryKey - the primary key of this layout set prototypepublic java.lang.String getUuid()
getUuid in interface LayoutSetPrototypeModelgetUuid in interface StagedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface LayoutSetPrototypeModelsetUuid in interface StagedModeluuid - the uuid of this layout set prototypepublic long getLayoutSetPrototypeId()
getLayoutSetPrototypeId in interface LayoutSetPrototypeModelpublic void setLayoutSetPrototypeId(long layoutSetPrototypeId)
setLayoutSetPrototypeId in interface LayoutSetPrototypeModellayoutSetPrototypeId - the layout set prototype ID of this layout set prototypepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface LayoutSetPrototypeModelgetCompanyId in interface StagedModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface LayoutSetPrototypeModelsetCompanyId in interface StagedModelcompanyId - the company ID of this layout set prototypepublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface LayoutSetPrototypeModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface LayoutSetPrototypeModeluserId - the user ID of this layout set prototypepublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface LayoutSetPrototypeModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface LayoutSetPrototypeModeluserUuid - the user uuid of this layout set prototypepublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface LayoutSetPrototypeModelpublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface LayoutSetPrototypeModeluserName - the user name of this layout set prototypepublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface LayoutSetPrototypeModelgetCreateDate in interface StagedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface LayoutSetPrototypeModelsetCreateDate in interface StagedModelcreateDate - the create date of this layout set prototypepublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface LayoutSetPrototypeModelgetModifiedDate in interface StagedModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface LayoutSetPrototypeModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this layout set prototypepublic java.lang.String getName()
getName in interface LayoutSetPrototypeModelpublic java.lang.String getName(java.util.Locale locale)
getName in interface LayoutSetPrototypeModellocale - the locale of the languagepublic java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName in interface LayoutSetPrototypeModellocale - 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)
getName in interface LayoutSetPrototypeModellanguageId - the ID of the languagepublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface LayoutSetPrototypeModellanguageId - 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 LayoutSetPrototypeModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface LayoutSetPrototypeModelpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface LayoutSetPrototypeModelpublic void setName(java.lang.String name)
setName in interface LayoutSetPrototypeModelname - the name of this layout set prototypepublic void setName(java.lang.String name,
java.util.Locale locale)
setName in interface LayoutSetPrototypeModelname - the localized name of this layout set prototypelocale - the locale of the languagepublic void setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
setName in interface LayoutSetPrototypeModelname - the localized name of this layout set prototypelocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId in interface LayoutSetPrototypeModelpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface LayoutSetPrototypeModelnameMap - the locales and localized names of this layout set prototypepublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
setNameMap in interface LayoutSetPrototypeModelnameMap - the locales and localized names of this layout set prototypedefaultLocale - the default localepublic java.lang.String getDescription()
getDescription in interface LayoutSetPrototypeModelpublic void setDescription(java.lang.String description)
setDescription in interface LayoutSetPrototypeModeldescription - the description of this layout set prototypepublic java.lang.String getSettings()
getSettings in interface LayoutSetPrototypeModelpublic void setSettings(java.lang.String settings)
setSettings in interface LayoutSetPrototypeModelsettings - the settings of this layout set prototypepublic boolean getActive()
getActive in interface LayoutSetPrototypeModelpublic boolean isActive()
true if this layout set prototype is active.isActive in interface LayoutSetPrototypeModeltrue if this layout set prototype is active; false otherwisepublic void setActive(boolean active)
setActive in interface LayoutSetPrototypeModelactive - the active of this layout set prototypepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<LayoutSetPrototype>isNew in interface LayoutSetPrototypeModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<LayoutSetPrototype>setNew in interface LayoutSetPrototypeModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<LayoutSetPrototype>isCachedModel in interface LayoutSetPrototypeModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<LayoutSetPrototype>setCachedModel in interface LayoutSetPrototypeModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<LayoutSetPrototype>isEscapedModel in interface LayoutSetPrototypeModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<LayoutSetPrototype>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LayoutSetPrototypeModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<LayoutSetPrototype>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LayoutSetPrototypeModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<LayoutSetPrototype>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LayoutSetPrototypeModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<LayoutSetPrototype>setExpandoBridgeAttributes in interface LayoutSetPrototypeModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<LayoutSetPrototype>setExpandoBridgeAttributes in interface LayoutSetPrototypeModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<LayoutSetPrototype>setExpandoBridgeAttributes in interface LayoutSetPrototypeModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LayoutSetPrototypeModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface LayoutSetPrototypeModelpublic void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LayoutSetPrototypeModelLocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LayoutSetPrototypeModelLocaleExceptionpublic java.lang.Object clone()
BaseModelclone in interface BaseModel<LayoutSetPrototype>clone in interface LayoutSetPrototypeModelclone in interface StagedModelclone in class java.lang.Objectpublic int compareTo(LayoutSetPrototype layoutSetPrototype)
compareTo in interface LayoutSetPrototypeModelcompareTo in interface java.lang.Comparable<LayoutSetPrototype>public int hashCode()
hashCode in interface LayoutSetPrototypeModelhashCode in class java.lang.Objectpublic CacheModel<LayoutSetPrototype> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<LayoutSetPrototype>toCacheModel in interface LayoutSetPrototypeModelpublic LayoutSetPrototype toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<LayoutSetPrototype>toEscapedModel in interface LayoutSetPrototypeModelAutoEscapeBeanHandlerpublic LayoutSetPrototype toUnescapedModel()
toUnescapedModel in interface BaseModel<LayoutSetPrototype>toUnescapedModel in interface LayoutSetPrototypeModelpublic java.lang.String toString()
toString in interface LayoutSetPrototypeModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<LayoutSetPrototype>toXmlString in interface LayoutSetPrototypeModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic Group getGroup() throws PortalException, SystemException
getGroup in interface LayoutSetPrototypePortalExceptionSystemExceptionpublic long getGroupId()
throws PortalException,
SystemException
getGroupId in interface LayoutSetPrototypePortalExceptionSystemExceptionpublic LayoutSet getLayoutSet() throws PortalException, SystemException
getLayoutSet in interface LayoutSetPrototypePortalExceptionSystemExceptionpublic UnicodeProperties getSettingsProperties()
getSettingsProperties in interface LayoutSetPrototypepublic java.lang.String getSettingsProperty(java.lang.String key)
getSettingsProperty in interface LayoutSetPrototypepublic void setSettingsProperties(UnicodeProperties settingsProperties)
setSettingsProperties in interface LayoutSetPrototypepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic LayoutSetPrototype getWrappedLayoutSetPrototype()
getWrappedModel()public LayoutSetPrototype getWrappedModel()
getWrappedModel in interface ModelWrapper<LayoutSetPrototype>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<LayoutSetPrototype>