Liferay 7.0-ce-b4

com.liferay.portal.model
Class LayoutSetPrototypeWrapper

java.lang.Object
  extended by com.liferay.portal.model.LayoutSetPrototypeWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<LayoutSetPrototype>, ClassedModel, LayoutSetPrototype, LayoutSetPrototypeModel, LocalizedModel, ModelWrapper<LayoutSetPrototype>, MVCCModel, PersistedModel, ShardedModel, StagedAuditedModel, StagedModel, Serializable, Cloneable, Comparable<LayoutSetPrototype>

@ProviderType
public class LayoutSetPrototypeWrapper
extends Object
implements LayoutSetPrototype, ModelWrapper<LayoutSetPrototype>

This class is a wrapper for LayoutSetPrototype.

See Also:
LayoutSetPrototype, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
 
Fields inherited from interface com.liferay.portal.model.LayoutSetPrototype
LAYOUT_SET_PROTOTYPE_ID_ACCESSOR
 
Constructor Summary
LayoutSetPrototypeWrapper(LayoutSetPrototype layoutSetPrototype)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(LayoutSetPrototype layoutSetPrototype)
           
 boolean equals(Object obj)
           
 boolean getActive()
          Returns the active of this layout set prototype.
 String[] getAvailableLanguageIds()
           
 long getCompanyId()
          Returns the company ID of this layout set prototype.
 Date getCreateDate()
          Returns the create date of this layout set prototype.
 String getDefaultLanguageId()
           
 String getDescription()
          Returns the description of this layout set prototype.
 String getDescription(Locale locale)
          Returns the localized description of this layout set prototype in the language.
 String 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.
 String getDescription(String languageId)
          Returns the localized description of this layout set prototype in the language.
 String 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.
 String getDescriptionCurrentLanguageId()
           
 String getDescriptionCurrentValue()
           
 Map<Locale,String> getDescriptionMap()
          Returns a map of the locales and localized descriptions 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.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this layout set prototype.
 long getMvccVersion()
          Returns the mvcc version of this layout set prototype.
 String getName()
          Returns the name of this layout set prototype.
 String getName(Locale locale)
          Returns the localized name of this layout set prototype in the language.
 String getName(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.
 String getName(String languageId)
          Returns the localized name of this layout set prototype in the language.
 String getName(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.
 String getNameCurrentLanguageId()
           
 String getNameCurrentValue()
           
 Map<Locale,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.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 String getSettings()
          Returns the settings of this layout set prototype.
 UnicodeProperties getSettingsProperties()
           
 String getSettingsProperty(String key)
           
 StagedModelType getStagedModelType()
           
 long getUserId()
          Returns the user ID of this layout set prototype.
 String getUserName()
          Returns the user name of this layout set prototype.
 String getUserUuid()
          Returns the user uuid of this layout set prototype.
 String getUuid()
          Returns the uuid of this layout set prototype.
 LayoutSetPrototype getWrappedModel()
           
 int hashCode()
           
 boolean hasSetModifiedDate()
           
 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 isEntityCacheEnabled()
          Returns true if this model's entity cache is enabled.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isFinderCacheEnabled()
          Returns true if this model's finder cache is enabled.
 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(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(Date createDate)
          Sets the create date of this layout set prototype.
 void setDescription(String description)
          Sets the description of this layout set prototype.
 void setDescription(String description, Locale locale)
          Sets the localized description of this layout set prototype in the language.
 void setDescription(String description, Locale locale, Locale defaultLocale)
          Sets the localized description of this layout set prototype in the language, and sets the default locale.
 void setDescriptionCurrentLanguageId(String languageId)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap)
          Sets the localized descriptions of this layout set prototype from the map of locales and localized descriptions.
 void setDescriptionMap(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.
 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(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this layout set prototype.
 void setMvccVersion(long mvccVersion)
          Sets the mvcc version of this layout set prototype.
 void setName(String name)
          Sets the name of this layout set prototype.
 void setName(String name, Locale locale)
          Sets the localized name of this layout set prototype in the language.
 void setName(String name, Locale locale, Locale defaultLocale)
          Sets the localized name of this layout set prototype in the language, and sets the default locale.
 void setNameCurrentLanguageId(String languageId)
           
 void setNameMap(Map<Locale,String> nameMap)
          Sets the localized names of this layout set prototype from the map of locales and localized names.
 void setNameMap(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.
 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(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setSettings(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(String userName)
          Sets the user name of this layout set prototype.
 void setUserUuid(String userUuid)
          Sets the user uuid of this layout set prototype.
 void setUuid(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.
 String toString()
           
 LayoutSetPrototype toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayoutSetPrototypeWrapper

public LayoutSetPrototypeWrapper(LayoutSetPrototype layoutSetPrototype)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<LayoutSetPrototype>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<LayoutSetPrototype>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<LayoutSetPrototype>
Specified by:
clone in interface LayoutSetPrototypeModel
Specified by:
clone in interface StagedModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(LayoutSetPrototype layoutSetPrototype)
Specified by:
compareTo in interface LayoutSetPrototypeModel
Specified by:
compareTo in interface Comparable<LayoutSetPrototype>

getActive

public boolean getActive()
Returns the active of this layout set prototype.

Specified by:
getActive in interface LayoutSetPrototypeModel
Returns:
the active of this layout set prototype

getAvailableLanguageIds

public String[] getAvailableLanguageIds()
Specified by:
getAvailableLanguageIds in interface LayoutSetPrototypeModel
Specified by:
getAvailableLanguageIds in interface LocalizedModel

getCompanyId

public long getCompanyId()
Returns the company ID of this layout set prototype.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface LayoutSetPrototypeModel
Specified by:
getCompanyId in interface ShardedModel
Specified by:
getCompanyId in interface StagedModel
Returns:
the company ID of this layout set prototype

getCreateDate

public Date getCreateDate()
Returns the create date of this layout set prototype.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface LayoutSetPrototypeModel
Specified by:
getCreateDate in interface StagedModel
Returns:
the create date of this layout set prototype

getDefaultLanguageId

public String getDefaultLanguageId()
Specified by:
getDefaultLanguageId in interface LayoutSetPrototypeModel
Specified by:
getDefaultLanguageId in interface LocalizedModel

getDescription

public String getDescription()
Returns the description of this layout set prototype.

Specified by:
getDescription in interface LayoutSetPrototypeModel
Returns:
the description of this layout set prototype

getDescription

public String getDescription(String languageId)
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:
getDescription in interface LayoutSetPrototypeModel
Parameters:
languageId - the ID of the language
Returns:
the localized description of this layout set prototype

getDescription

public String 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.

Specified by:
getDescription in interface LayoutSetPrototypeModel
Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized description of this layout set prototype

getDescription

public String getDescription(Locale locale)
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:
getDescription in interface LayoutSetPrototypeModel
Parameters:
locale - the locale of the language
Returns:
the localized description of this layout set prototype

getDescription

public String 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.

Specified by:
getDescription in interface LayoutSetPrototypeModel
Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized description of this layout set prototype. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getDescriptionCurrentLanguageId

public String getDescriptionCurrentLanguageId()
Specified by:
getDescriptionCurrentLanguageId in interface LayoutSetPrototypeModel

getDescriptionCurrentValue

public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface LayoutSetPrototypeModel

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Returns a map of the locales and localized descriptions of this layout set prototype.

Specified by:
getDescriptionMap in interface LayoutSetPrototypeModel
Returns:
the locales and localized descriptions of this layout set prototype

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<LayoutSetPrototype>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface LayoutSetPrototypeModel
Returns:
the expando bridge for this model instance

getGroup

public Group getGroup()
               throws PortalException
Specified by:
getGroup in interface LayoutSetPrototype
Throws:
PortalException

getGroupId

public long getGroupId()
                throws PortalException
Specified by:
getGroupId in interface LayoutSetPrototype
Throws:
PortalException

getLayoutSet

public LayoutSet getLayoutSet()
                       throws PortalException
Specified by:
getLayoutSet in interface LayoutSetPrototype
Throws:
PortalException

getLayoutSetPrototypeId

public long getLayoutSetPrototypeId()
Returns the layout set prototype ID of this layout set prototype.

Specified by:
getLayoutSetPrototypeId in interface LayoutSetPrototypeModel
Returns:
the layout set prototype ID of this layout set prototype

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this layout set prototype.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface LayoutSetPrototypeModel
Specified by:
getModifiedDate in interface StagedModel
Returns:
the modified date of this layout set prototype

getMvccVersion

public long getMvccVersion()
Returns the mvcc version of this layout set prototype.

Specified by:
getMvccVersion in interface LayoutSetPrototypeModel
Specified by:
getMvccVersion in interface MVCCModel
Returns:
the mvcc version of this layout set prototype

getName

public String getName()
Returns the name of this layout set prototype.

Specified by:
getName in interface LayoutSetPrototypeModel
Returns:
the name of this layout set prototype

getName

public String getName(String languageId)
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:
getName in interface LayoutSetPrototypeModel
Parameters:
languageId - the ID of the language
Returns:
the localized name of this layout set prototype

getName

public String getName(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.

Specified by:
getName in interface LayoutSetPrototypeModel
Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized name of this layout set prototype

getName

public String getName(Locale locale)
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:
getName in interface LayoutSetPrototypeModel
Parameters:
locale - the locale of the language
Returns:
the localized name of this layout set prototype

getName

public String getName(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.

Specified by:
getName in interface LayoutSetPrototypeModel
Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized name of this layout set prototype. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getNameCurrentLanguageId

public String getNameCurrentLanguageId()
Specified by:
getNameCurrentLanguageId in interface LayoutSetPrototypeModel

getNameCurrentValue

public String getNameCurrentValue()
Specified by:
getNameCurrentValue in interface LayoutSetPrototypeModel

getNameMap

public Map<Locale,String> getNameMap()
Returns a map of the locales and localized names of this layout set prototype.

Specified by:
getNameMap in interface LayoutSetPrototypeModel
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:
getPrimaryKey in interface LayoutSetPrototypeModel
Returns:
the primary key of this layout set prototype

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<LayoutSetPrototype>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface LayoutSetPrototypeModel
Returns:
the primary key of this model instance

getSettings

public String getSettings()
Returns the settings of this layout set prototype.

Specified by:
getSettings in interface LayoutSetPrototypeModel
Returns:
the settings of this layout set prototype

getSettingsProperties

public UnicodeProperties getSettingsProperties()
Specified by:
getSettingsProperties in interface LayoutSetPrototype

getSettingsProperty

public String getSettingsProperty(String key)
Specified by:
getSettingsProperty in interface LayoutSetPrototype

getUserId

public long getUserId()
Returns the user ID of this layout set prototype.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface LayoutSetPrototypeModel
Returns:
the user ID of this layout set prototype

getUserName

public String getUserName()
Returns the user name of this layout set prototype.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface LayoutSetPrototypeModel
Returns:
the user name of this layout set prototype

getUserUuid

public String getUserUuid()
Returns the user uuid of this layout set prototype.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface LayoutSetPrototypeModel
Returns:
the user uuid of this layout set prototype

getUuid

public String getUuid()
Returns the uuid of this layout set prototype.

Specified by:
getUuid in interface LayoutSetPrototypeModel
Specified by:
getUuid in interface StagedModel
Returns:
the uuid of this layout set prototype

hasSetModifiedDate

public boolean hasSetModifiedDate()
Specified by:
hasSetModifiedDate in interface LayoutSetPrototype

hashCode

public int hashCode()
Specified by:
hashCode in interface LayoutSetPrototypeModel
Overrides:
hashCode in class Object

isActive

public boolean isActive()
Returns true if this layout set prototype is active.

Specified by:
isActive in interface LayoutSetPrototypeModel
Returns:
true if this layout set prototype is active; false otherwise

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<LayoutSetPrototype>
Specified by:
isCachedModel in interface LayoutSetPrototypeModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<LayoutSetPrototype>
Specified by:
isEscapedModel in interface LayoutSetPrototypeModel
Returns:
true if this model instance is escaped; false otherwise

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<LayoutSetPrototype>
Specified by:
isNew in interface LayoutSetPrototypeModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

persist

public void persist()
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport()
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface LayoutSetPrototypeModel
Specified by:
prepareLocalizedFieldsForImport in interface LocalizedModel
Throws:
LocaleException

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface LayoutSetPrototypeModel
Specified by:
prepareLocalizedFieldsForImport in interface LocalizedModel
Throws:
LocaleException

setActive

public void setActive(boolean active)
Sets whether this layout set prototype is active.

Specified by:
setActive in interface LayoutSetPrototypeModel
Parameters:
active - the active of this layout set prototype

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<LayoutSetPrototype>
Specified by:
setCachedModel in interface LayoutSetPrototypeModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this layout set prototype.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface LayoutSetPrototypeModel
Specified by:
setCompanyId in interface ShardedModel
Specified by:
setCompanyId in interface StagedModel
Parameters:
companyId - the company ID of this layout set prototype

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this layout set prototype.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface LayoutSetPrototypeModel
Specified by:
setCreateDate in interface StagedModel
Parameters:
createDate - the create date of this layout set prototype

setDescription

public void setDescription(String description)
Sets the description of this layout set prototype.

Specified by:
setDescription in interface LayoutSetPrototypeModel
Parameters:
description - the description of this layout set prototype

setDescription

public void setDescription(String description,
                           Locale locale)
Sets the localized description of this layout set prototype in the language.

Specified by:
setDescription in interface LayoutSetPrototypeModel
Parameters:
description - the localized description of this layout set prototype
locale - the locale of the language

setDescription

public void setDescription(String description,
                           Locale locale,
                           Locale defaultLocale)
Sets the localized description of this layout set prototype in the language, and sets the default locale.

Specified by:
setDescription in interface LayoutSetPrototypeModel
Parameters:
description - the localized description of this layout set prototype
locale - the locale of the language
defaultLocale - the default locale

setDescriptionCurrentLanguageId

public void setDescriptionCurrentLanguageId(String languageId)
Specified by:
setDescriptionCurrentLanguageId in interface LayoutSetPrototypeModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this layout set prototype from the map of locales and localized descriptions.

Specified by:
setDescriptionMap in interface LayoutSetPrototypeModel
Parameters:
descriptionMap - the locales and localized descriptions of this layout set prototype

setDescriptionMap

public void setDescriptionMap(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.

Specified by:
setDescriptionMap in interface LayoutSetPrototypeModel
Parameters:
descriptionMap - the locales and localized descriptions of this layout set prototype
defaultLocale - the default locale

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutSetPrototype>
Specified by:
setExpandoBridgeAttributes in interface LayoutSetPrototypeModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutSetPrototype>
Specified by:
setExpandoBridgeAttributes in interface LayoutSetPrototypeModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutSetPrototype>
Specified by:
setExpandoBridgeAttributes in interface LayoutSetPrototypeModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes()

setLayoutSetPrototypeId

public void setLayoutSetPrototypeId(long layoutSetPrototypeId)
Sets the layout set prototype ID of this layout set prototype.

Specified by:
setLayoutSetPrototypeId in interface LayoutSetPrototypeModel
Parameters:
layoutSetPrototypeId - the layout set prototype ID of this layout set prototype

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this layout set prototype.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface LayoutSetPrototypeModel
Specified by:
setModifiedDate in interface StagedModel
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:
setMvccVersion in interface LayoutSetPrototypeModel
Specified by:
setMvccVersion in interface MVCCModel
Parameters:
mvccVersion - the mvcc version of this layout set prototype

setName

public void setName(String name)
Sets the name of this layout set prototype.

Specified by:
setName in interface LayoutSetPrototypeModel
Parameters:
name - the name of this layout set prototype

setName

public void setName(String name,
                    Locale locale)
Sets the localized name of this layout set prototype in the language.

Specified by:
setName in interface LayoutSetPrototypeModel
Parameters:
name - the localized name of this layout set prototype
locale - the locale of the language

setName

public void setName(String name,
                    Locale locale,
                    Locale defaultLocale)
Sets the localized name of this layout set prototype in the language, and sets the default locale.

Specified by:
setName in interface LayoutSetPrototypeModel
Parameters:
name - the localized name of this layout set prototype
locale - the locale of the language
defaultLocale - the default locale

setNameCurrentLanguageId

public void setNameCurrentLanguageId(String languageId)
Specified by:
setNameCurrentLanguageId in interface LayoutSetPrototypeModel

setNameMap

public void setNameMap(Map<Locale,String> nameMap)
Sets the localized names of this layout set prototype from the map of locales and localized names.

Specified by:
setNameMap in interface LayoutSetPrototypeModel
Parameters:
nameMap - the locales and localized names of this layout set prototype

setNameMap

public void setNameMap(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.

Specified by:
setNameMap in interface LayoutSetPrototypeModel
Parameters:
nameMap - the locales and localized names of this layout set prototype
defaultLocale - the default locale

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<LayoutSetPrototype>
Specified by:
setNew in interface LayoutSetPrototypeModel
Parameters:
n - whether this model instance does not yet exist in the database

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this layout set prototype.

Specified by:
setPrimaryKey in interface LayoutSetPrototypeModel
Parameters:
primaryKey - the primary key of this layout set prototype

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<LayoutSetPrototype>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface LayoutSetPrototypeModel
Parameters:
primaryKeyObj - the primary key of this model instance

setSettings

public void setSettings(String settings)
Sets the settings of this layout set prototype.

Specified by:
setSettings in interface LayoutSetPrototypeModel
Parameters:
settings - the settings of this layout set prototype

setSettingsProperties

public void setSettingsProperties(UnicodeProperties settingsProperties)
Specified by:
setSettingsProperties in interface LayoutSetPrototype

setUserId

public void setUserId(long userId)
Sets the user ID of this layout set prototype.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface LayoutSetPrototypeModel
Parameters:
userId - the user ID of this layout set prototype

setUserName

public void setUserName(String userName)
Sets the user name of this layout set prototype.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface LayoutSetPrototypeModel
Parameters:
userName - the user name of this layout set prototype

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this layout set prototype.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface LayoutSetPrototypeModel
Parameters:
userUuid - the user uuid of this layout set prototype

setUuid

public void setUuid(String uuid)
Sets the uuid of this layout set prototype.

Specified by:
setUuid in interface LayoutSetPrototypeModel
Specified by:
setUuid in interface StagedModel
Parameters:
uuid - the uuid of this layout set prototype

toCacheModel

public CacheModel<LayoutSetPrototype> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<LayoutSetPrototype>
Specified by:
toCacheModel in interface LayoutSetPrototypeModel
Returns:
the cache model object

toEscapedModel

public LayoutSetPrototype toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<LayoutSetPrototype>
Specified by:
toEscapedModel in interface LayoutSetPrototypeModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

public String toString()
Specified by:
toString in interface LayoutSetPrototypeModel
Overrides:
toString in class Object

toUnescapedModel

public LayoutSetPrototype toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<LayoutSetPrototype>
Specified by:
toUnescapedModel in interface LayoutSetPrototypeModel

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<LayoutSetPrototype>
Specified by:
toXmlString in interface LayoutSetPrototypeModel
Returns:
the XML representation of this model instance

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel

getWrappedModel

public LayoutSetPrototype getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<LayoutSetPrototype>

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's entity cache is enabled.

Specified by:
isEntityCacheEnabled in interface BaseModel<LayoutSetPrototype>
Returns:
true if this model's entity cache is enabled; false otherwise

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's finder cache is enabled.

Specified by:
isFinderCacheEnabled in interface BaseModel<LayoutSetPrototype>
Returns:
true if this model's finder cache is enabled; false otherwise

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<LayoutSetPrototype>

Liferay 7.0-ce-b4