Liferay 6.2-ce-ga5

com.liferay.portal.model
Class LayoutSetBranchWrapper

java.lang.Object
  extended by com.liferay.portal.model.LayoutSetBranchWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<LayoutSetBranch>, ClassedModel, GroupedModel, LayoutSetBranch, LayoutSetBranchModel, ModelWrapper<LayoutSetBranch>, PersistedModel, Serializable, Cloneable, Comparable<LayoutSetBranch>

@ProviderType
public class LayoutSetBranchWrapper
extends Object
implements LayoutSetBranch, ModelWrapper<LayoutSetBranch>

This class is a wrapper for LayoutSetBranch.

See Also:
LayoutSetBranch, Serialized Form

Constructor Summary
LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(LayoutSetBranch layoutSetBranch)
           
 boolean equals(Object obj)
           
 ColorScheme getColorScheme()
           
 String getColorSchemeId()
          Returns the color scheme ID of this layout set branch.
 long getCompanyId()
          Returns the company ID of this layout set branch.
 Date getCreateDate()
          Returns the create date of this layout set branch.
 String getCss()
          Returns the css of this layout set branch.
 String getDescription()
          Returns the description of this layout set branch.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Group getGroup()
           
 long getGroupId()
          Returns the group ID of this layout set branch.
 LayoutSet getLayoutSet()
           
 long getLayoutSetBranchId()
          Returns the layout set branch ID of this layout set branch.
 boolean getLayoutSetPrototypeLinkEnabled()
          Returns the layout set prototype link enabled of this layout set branch.
 String getLayoutSetPrototypeUuid()
          Returns the layout set prototype uuid of this layout set branch.
 long getLiveLogoId()
           
 boolean getLogo()
          Returns the logo of this layout set branch.
 long getLogoId()
          Returns the logo ID of this layout set branch.
 boolean getMaster()
          Returns the master of this layout set branch.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this layout set branch.
 String getName()
          Returns the name of this layout set branch.
 long getPrimaryKey()
          Returns the primary key of this layout set branch.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 boolean getPrivateLayout()
          Returns the private layout of this layout set branch.
 String getSettings()
          Returns the settings of this layout set branch.
 UnicodeProperties getSettingsProperties()
           
 String getSettingsProperty(String key)
           
 Theme getTheme()
           
 String getThemeId()
          Returns the theme ID of this layout set branch.
 String getThemeSetting(String key, String device)
           
 long getUserId()
          Returns the user ID of this layout set branch.
 String getUserName()
          Returns the user name of this layout set branch.
 String getUserUuid()
          Returns the user uuid of this layout set branch.
 ColorScheme getWapColorScheme()
           
 String getWapColorSchemeId()
          Returns the wap color scheme ID of this layout set branch.
 Theme getWapTheme()
           
 String getWapThemeId()
          Returns the wap theme ID of this layout set branch.
 LayoutSetBranch getWrappedLayoutSetBranch()
          Deprecated. As of 6.1.0, replaced by getWrappedModel()
 LayoutSetBranch getWrappedModel()
           
 int hashCode()
           
 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 isLayoutSetPrototypeLinkActive()
           
 boolean isLayoutSetPrototypeLinkEnabled()
          Returns true if this layout set branch is layout set prototype link enabled.
 boolean isLogo()
          Returns true if this layout set branch is logo.
 boolean isMaster()
          Returns true if this layout set branch is master.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 boolean isPrivateLayout()
          Returns true if this layout set branch is private layout.
 void persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setColorSchemeId(String colorSchemeId)
          Sets the color scheme ID of this layout set branch.
 void setCompanyId(long companyId)
          Sets the company ID of this layout set branch.
 void setCreateDate(Date createDate)
          Sets the create date of this layout set branch.
 void setCss(String css)
          Sets the css of this layout set branch.
 void setDescription(String description)
          Sets the description of this layout set branch.
 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 setGroupId(long groupId)
          Sets the group ID of this layout set branch.
 void setLayoutSetBranchId(long layoutSetBranchId)
          Sets the layout set branch ID of this layout set branch.
 void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
          Sets whether this layout set branch is layout set prototype link enabled.
 void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
          Sets the layout set prototype uuid of this layout set branch.
 void setLogo(boolean logo)
          Sets whether this layout set branch is logo.
 void setLogoId(long logoId)
          Sets the logo ID of this layout set branch.
 void setMaster(boolean master)
          Sets whether this layout set branch is master.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this layout set branch.
 void setName(String name)
          Sets the name of this layout set branch.
 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 branch.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setPrivateLayout(boolean privateLayout)
          Sets whether this layout set branch is private layout.
 void setSettings(String settings)
          Sets the settings of this layout set branch.
 void setSettingsProperties(UnicodeProperties settingsProperties)
           
 void setThemeId(String themeId)
          Sets the theme ID of this layout set branch.
 void setUserId(long userId)
          Sets the user ID of this layout set branch.
 void setUserName(String userName)
          Sets the user name of this layout set branch.
 void setUserUuid(String userUuid)
          Sets the user uuid of this layout set branch.
 void setWapColorSchemeId(String wapColorSchemeId)
          Sets the wap color scheme ID of this layout set branch.
 void setWapThemeId(String wapThemeId)
          Sets the wap theme ID of this layout set branch.
 CacheModel<LayoutSetBranch> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 LayoutSetBranch toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 LayoutSetBranch 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

LayoutSetBranchWrapper

public LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch)
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<LayoutSetBranch>

setModelAttributes

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

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this layout set branch.

Specified by:
getPrimaryKey in interface LayoutSetBranchModel
Returns:
the primary key of this layout set branch

setPrimaryKey

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

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

getLayoutSetBranchId

public long getLayoutSetBranchId()
Returns the layout set branch ID of this layout set branch.

Specified by:
getLayoutSetBranchId in interface LayoutSetBranchModel
Returns:
the layout set branch ID of this layout set branch

setLayoutSetBranchId

public void setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this layout set branch.

Specified by:
setLayoutSetBranchId in interface LayoutSetBranchModel
Parameters:
layoutSetBranchId - the layout set branch ID of this layout set branch

getGroupId

public long getGroupId()
Returns the group ID of this layout set branch.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface LayoutSetBranchModel
Returns:
the group ID of this layout set branch

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this layout set branch.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface LayoutSetBranchModel
Parameters:
groupId - the group ID of this layout set branch

getCompanyId

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

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface LayoutSetBranchModel
Returns:
the company ID of this layout set branch

setCompanyId

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

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface LayoutSetBranchModel
Parameters:
companyId - the company ID of this layout set branch

getUserId

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

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface LayoutSetBranchModel
Returns:
the user ID of this layout set branch

setUserId

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

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this layout set branch.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface LayoutSetBranchModel
Returns:
the user uuid of this layout set branch
Throws:
SystemException - if a system exception occurred

setUserUuid

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

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

getUserName

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

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface LayoutSetBranchModel
Returns:
the user name of this layout set branch

setUserName

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

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

getCreateDate

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

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface LayoutSetBranchModel
Returns:
the create date of this layout set branch

setCreateDate

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

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface LayoutSetBranchModel
Parameters:
createDate - the create date of this layout set branch

getModifiedDate

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

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface LayoutSetBranchModel
Returns:
the modified date of this layout set branch

setModifiedDate

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

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface LayoutSetBranchModel
Parameters:
modifiedDate - the modified date of this layout set branch

getPrivateLayout

public boolean getPrivateLayout()
Returns the private layout of this layout set branch.

Specified by:
getPrivateLayout in interface LayoutSetBranchModel
Returns:
the private layout of this layout set branch

isPrivateLayout

public boolean isPrivateLayout()
Returns true if this layout set branch is private layout.

Specified by:
isPrivateLayout in interface LayoutSetBranchModel
Returns:
true if this layout set branch is private layout; false otherwise

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Sets whether this layout set branch is private layout.

Specified by:
setPrivateLayout in interface LayoutSetBranchModel
Parameters:
privateLayout - the private layout of this layout set branch

getName

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

Specified by:
getName in interface LayoutSetBranchModel
Returns:
the name of this layout set branch

setName

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

Specified by:
setName in interface LayoutSetBranchModel
Parameters:
name - the name of this layout set branch

getDescription

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

Specified by:
getDescription in interface LayoutSetBranchModel
Returns:
the description of this layout set branch

setDescription

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

Specified by:
setDescription in interface LayoutSetBranchModel
Parameters:
description - the description of this layout set branch

getMaster

public boolean getMaster()
Returns the master of this layout set branch.

Specified by:
getMaster in interface LayoutSetBranchModel
Returns:
the master of this layout set branch

isMaster

public boolean isMaster()
Returns true if this layout set branch is master.

Specified by:
isMaster in interface LayoutSetBranchModel
Returns:
true if this layout set branch is master; false otherwise

setMaster

public void setMaster(boolean master)
Sets whether this layout set branch is master.

Specified by:
setMaster in interface LayoutSetBranchModel
Parameters:
master - the master of this layout set branch

getLogo

public boolean getLogo()
Returns the logo of this layout set branch.

Specified by:
getLogo in interface LayoutSetBranchModel
Returns:
the logo of this layout set branch

isLogo

public boolean isLogo()
Returns true if this layout set branch is logo.

Specified by:
isLogo in interface LayoutSetBranchModel
Returns:
true if this layout set branch is logo; false otherwise

setLogo

public void setLogo(boolean logo)
Sets whether this layout set branch is logo.

Specified by:
setLogo in interface LayoutSetBranchModel
Parameters:
logo - the logo of this layout set branch

getLogoId

public long getLogoId()
Returns the logo ID of this layout set branch.

Specified by:
getLogoId in interface LayoutSetBranchModel
Returns:
the logo ID of this layout set branch

setLogoId

public void setLogoId(long logoId)
Sets the logo ID of this layout set branch.

Specified by:
setLogoId in interface LayoutSetBranchModel
Parameters:
logoId - the logo ID of this layout set branch

getThemeId

public String getThemeId()
Returns the theme ID of this layout set branch.

Specified by:
getThemeId in interface LayoutSetBranchModel
Returns:
the theme ID of this layout set branch

setThemeId

public void setThemeId(String themeId)
Sets the theme ID of this layout set branch.

Specified by:
setThemeId in interface LayoutSetBranchModel
Parameters:
themeId - the theme ID of this layout set branch

getColorSchemeId

public String getColorSchemeId()
Returns the color scheme ID of this layout set branch.

Specified by:
getColorSchemeId in interface LayoutSetBranchModel
Returns:
the color scheme ID of this layout set branch

setColorSchemeId

public void setColorSchemeId(String colorSchemeId)
Sets the color scheme ID of this layout set branch.

Specified by:
setColorSchemeId in interface LayoutSetBranchModel
Parameters:
colorSchemeId - the color scheme ID of this layout set branch

getWapThemeId

public String getWapThemeId()
Returns the wap theme ID of this layout set branch.

Specified by:
getWapThemeId in interface LayoutSetBranchModel
Returns:
the wap theme ID of this layout set branch

setWapThemeId

public void setWapThemeId(String wapThemeId)
Sets the wap theme ID of this layout set branch.

Specified by:
setWapThemeId in interface LayoutSetBranchModel
Parameters:
wapThemeId - the wap theme ID of this layout set branch

getWapColorSchemeId

public String getWapColorSchemeId()
Returns the wap color scheme ID of this layout set branch.

Specified by:
getWapColorSchemeId in interface LayoutSetBranchModel
Returns:
the wap color scheme ID of this layout set branch

setWapColorSchemeId

public void setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme ID of this layout set branch.

Specified by:
setWapColorSchemeId in interface LayoutSetBranchModel
Parameters:
wapColorSchemeId - the wap color scheme ID of this layout set branch

getCss

public String getCss()
Returns the css of this layout set branch.

Specified by:
getCss in interface LayoutSetBranchModel
Returns:
the css of this layout set branch

setCss

public void setCss(String css)
Sets the css of this layout set branch.

Specified by:
setCss in interface LayoutSetBranchModel
Parameters:
css - the css of this layout set branch

getSettings

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

Specified by:
getSettings in interface LayoutSetBranchModel
Returns:
the settings of this layout set branch

setSettings

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

Specified by:
setSettings in interface LayoutSetBranchModel
Parameters:
settings - the settings of this layout set branch

getLayoutSetPrototypeUuid

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

Specified by:
getLayoutSetPrototypeUuid in interface LayoutSetBranchModel
Returns:
the layout set prototype uuid of this layout set branch

setLayoutSetPrototypeUuid

public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Sets the layout set prototype uuid of this layout set branch.

Specified by:
setLayoutSetPrototypeUuid in interface LayoutSetBranchModel
Parameters:
layoutSetPrototypeUuid - the layout set prototype uuid of this layout set branch

getLayoutSetPrototypeLinkEnabled

public boolean getLayoutSetPrototypeLinkEnabled()
Returns the layout set prototype link enabled of this layout set branch.

Specified by:
getLayoutSetPrototypeLinkEnabled in interface LayoutSetBranchModel
Returns:
the layout set prototype link enabled of this layout set branch

isLayoutSetPrototypeLinkEnabled

public boolean isLayoutSetPrototypeLinkEnabled()
Returns true if this layout set branch is layout set prototype link enabled.

Specified by:
isLayoutSetPrototypeLinkEnabled in interface LayoutSetBranchModel
Returns:
true if this layout set branch is layout set prototype link enabled; false otherwise

setLayoutSetPrototypeLinkEnabled

public void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
Sets whether this layout set branch is layout set prototype link enabled.

Specified by:
setLayoutSetPrototypeLinkEnabled in interface LayoutSetBranchModel
Parameters:
layoutSetPrototypeLinkEnabled - the layout set prototype link enabled of this layout set branch

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<LayoutSetBranch>
Specified by:
isNew in interface LayoutSetBranchModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

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<LayoutSetBranch>
Specified by:
setNew in interface LayoutSetBranchModel
Parameters:
n - whether this model instance does not yet exist in the database

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<LayoutSetBranch>
Specified by:
isCachedModel in interface LayoutSetBranchModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

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<LayoutSetBranch>
Specified by:
setCachedModel in interface LayoutSetBranchModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

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

getPrimaryKeyObj

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

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

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<LayoutSetBranch>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface LayoutSetBranchModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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

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

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutSetBranch>
Specified by:
setExpandoBridgeAttributes in interface LayoutSetBranchModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutSetBranch>
Specified by:
setExpandoBridgeAttributes in interface LayoutSetBranchModel

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<LayoutSetBranch>
Specified by:
setExpandoBridgeAttributes in interface LayoutSetBranchModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

Specified by:
clone in interface BaseModel<LayoutSetBranch>
Specified by:
clone in interface LayoutSetBranchModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(LayoutSetBranch layoutSetBranch)
Specified by:
compareTo in interface LayoutSetBranchModel
Specified by:
compareTo in interface Comparable<LayoutSetBranch>

hashCode

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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<LayoutSetBranch>
Specified by:
toCacheModel in interface LayoutSetBranchModel
Returns:
the cache model object

toEscapedModel

public LayoutSetBranch 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<LayoutSetBranch>
Specified by:
toEscapedModel in interface LayoutSetBranchModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public LayoutSetBranch toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<LayoutSetBranch>
Specified by:
toUnescapedModel in interface LayoutSetBranchModel

toString

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

toXmlString

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

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

persist

public void persist()
             throws SystemException
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
Throws:
SystemException - if a system exception occurred

getColorScheme

public ColorScheme getColorScheme()
                           throws SystemException
Specified by:
getColorScheme in interface LayoutSetBranch
Throws:
SystemException

getGroup

public Group getGroup()
               throws PortalException,
                      SystemException
Specified by:
getGroup in interface LayoutSetBranch
Throws:
PortalException
SystemException

getLayoutSet

public LayoutSet getLayoutSet()
Specified by:
getLayoutSet in interface LayoutSetBranch

getLiveLogoId

public long getLiveLogoId()
Specified by:
getLiveLogoId in interface LayoutSetBranch

getSettingsProperties

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

getSettingsProperty

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

getTheme

public Theme getTheme()
               throws SystemException
Specified by:
getTheme in interface LayoutSetBranch
Throws:
SystemException

getThemeSetting

public String getThemeSetting(String key,
                              String device)
                       throws SystemException
Specified by:
getThemeSetting in interface LayoutSetBranch
Throws:
SystemException

getWapColorScheme

public ColorScheme getWapColorScheme()
                              throws SystemException
Specified by:
getWapColorScheme in interface LayoutSetBranch
Throws:
SystemException

getWapTheme

public Theme getWapTheme()
                  throws SystemException
Specified by:
getWapTheme in interface LayoutSetBranch
Throws:
SystemException

isLayoutSetPrototypeLinkActive

public boolean isLayoutSetPrototypeLinkActive()
Specified by:
isLayoutSetPrototypeLinkActive in interface LayoutSetBranch

setSettingsProperties

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

equals

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

getWrappedLayoutSetBranch

public LayoutSetBranch getWrappedLayoutSetBranch()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<LayoutSetBranch>

Liferay 6.2-ce-ga5