@ProviderType public class LayoutSetBranchWrapper extends Object implements LayoutSetBranch, ModelWrapper<LayoutSetBranch>
This class is a wrapper for LayoutSetBranch
.
LayoutSetBranch
,
Serialized FormLAYOUT_SET_BRANCH_ID_ACCESSOR
Constructor and Description |
---|
LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch) |
Modifier and Type | Method and Description |
---|---|
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() |
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.
|
long |
getMvccVersion()
Returns the mvcc version 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.
|
LayoutSetBranch |
getWrappedModel() |
int |
hashCode() |
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 |
isLayoutSetPrototypeLinkActive() |
boolean |
isLayoutSetPrototypeLinkEnabled()
Returns
true if this layout set branch is layout set prototype link enabled. |
boolean |
isLogo() |
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 |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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.
|
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.
|
public LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<LayoutSetBranch>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<LayoutSetBranch>
public Object clone()
BaseModel
clone
in interface BaseModel<LayoutSetBranch>
clone
in interface LayoutSetBranchModel
clone
in class Object
public int compareTo(LayoutSetBranch layoutSetBranch)
compareTo
in interface LayoutSetBranchModel
compareTo
in interface Comparable<LayoutSetBranch>
public ColorScheme getColorScheme()
getColorScheme
in interface LayoutSetBranch
public String getColorSchemeId()
getColorSchemeId
in interface LayoutSetBranchModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface LayoutSetBranchModel
getCompanyId
in interface ShardedModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface LayoutSetBranchModel
public String getCss()
getCss
in interface LayoutSetBranchModel
public String getDescription()
getDescription
in interface LayoutSetBranchModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<LayoutSetBranch>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface LayoutSetBranchModel
public Group getGroup() throws PortalException
getGroup
in interface LayoutSetBranch
PortalException
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface LayoutSetBranchModel
public LayoutSet getLayoutSet()
getLayoutSet
in interface LayoutSetBranch
public long getLayoutSetBranchId()
getLayoutSetBranchId
in interface LayoutSetBranchModel
public boolean getLayoutSetPrototypeLinkEnabled()
getLayoutSetPrototypeLinkEnabled
in interface LayoutSetBranchModel
public String getLayoutSetPrototypeUuid()
getLayoutSetPrototypeUuid
in interface LayoutSetBranchModel
public long getLiveLogoId()
getLiveLogoId
in interface LayoutSetBranch
public boolean getLogo()
getLogo
in interface LayoutSetBranch
public long getLogoId()
getLogoId
in interface LayoutSetBranchModel
public boolean getMaster()
getMaster
in interface LayoutSetBranchModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface LayoutSetBranchModel
public long getMvccVersion()
getMvccVersion
in interface LayoutSetBranchModel
getMvccVersion
in interface MVCCModel
public String getName()
getName
in interface LayoutSetBranchModel
public long getPrimaryKey()
getPrimaryKey
in interface LayoutSetBranchModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<LayoutSetBranch>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface LayoutSetBranchModel
public boolean getPrivateLayout()
getPrivateLayout
in interface LayoutSetBranchModel
public String getSettings()
getSettings
in interface LayoutSetBranchModel
public UnicodeProperties getSettingsProperties()
getSettingsProperties
in interface LayoutSetBranch
public String getSettingsProperty(String key)
getSettingsProperty
in interface LayoutSetBranch
public Theme getTheme()
getTheme
in interface LayoutSetBranch
public String getThemeId()
getThemeId
in interface LayoutSetBranchModel
public String getThemeSetting(String key, String device)
getThemeSetting
in interface LayoutSetBranch
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface LayoutSetBranchModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface LayoutSetBranchModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface LayoutSetBranchModel
public int hashCode()
hashCode
in interface LayoutSetBranchModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<LayoutSetBranch>
isCachedModel
in interface LayoutSetBranchModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<LayoutSetBranch>
isEscapedModel
in interface LayoutSetBranchModel
true
if this model instance is escaped;
false
otherwisepublic boolean isLayoutSetPrototypeLinkActive()
isLayoutSetPrototypeLinkActive
in interface LayoutSetBranch
public boolean isLayoutSetPrototypeLinkEnabled()
true
if this layout set branch is layout set prototype link enabled.isLayoutSetPrototypeLinkEnabled
in interface LayoutSetBranchModel
true
if this layout set branch is layout set prototype link enabled; false
otherwisepublic boolean isLogo()
isLogo
in interface LayoutSetBranch
public boolean isMaster()
true
if this layout set branch is master.isMaster
in interface LayoutSetBranchModel
true
if this layout set branch is master; false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<LayoutSetBranch>
isNew
in interface LayoutSetBranchModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic boolean isPrivateLayout()
true
if this layout set branch is private layout.isPrivateLayout
in interface LayoutSetBranchModel
true
if this layout set branch is private layout; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<LayoutSetBranch>
setCachedModel
in interface LayoutSetBranchModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setColorSchemeId(String colorSchemeId)
setColorSchemeId
in interface LayoutSetBranchModel
colorSchemeId
- the color scheme ID of this layout set branchpublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface LayoutSetBranchModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this layout set branchpublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface LayoutSetBranchModel
createDate
- the create date of this layout set branchpublic void setCss(String css)
setCss
in interface LayoutSetBranchModel
css
- the css of this layout set branchpublic void setDescription(String description)
setDescription
in interface LayoutSetBranchModel
description
- the description of this layout set branchpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<LayoutSetBranch>
setExpandoBridgeAttributes
in interface LayoutSetBranchModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<LayoutSetBranch>
setExpandoBridgeAttributes
in interface LayoutSetBranchModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<LayoutSetBranch>
setExpandoBridgeAttributes
in interface LayoutSetBranchModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface LayoutSetBranchModel
groupId
- the group ID of this layout set branchpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId
in interface LayoutSetBranchModel
layoutSetBranchId
- the layout set branch ID of this layout set branchpublic void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
setLayoutSetPrototypeLinkEnabled
in interface LayoutSetBranchModel
layoutSetPrototypeLinkEnabled
- the layout set prototype link enabled of this layout set branchpublic void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
setLayoutSetPrototypeUuid
in interface LayoutSetBranchModel
layoutSetPrototypeUuid
- the layout set prototype uuid of this layout set branchpublic void setLogoId(long logoId)
setLogoId
in interface LayoutSetBranchModel
logoId
- the logo ID of this layout set branchpublic void setMaster(boolean master)
setMaster
in interface LayoutSetBranchModel
master
- the master of this layout set branchpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface LayoutSetBranchModel
modifiedDate
- the modified date of this layout set branchpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface LayoutSetBranchModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this layout set branchpublic void setName(String name)
setName
in interface LayoutSetBranchModel
name
- the name of this layout set branchpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<LayoutSetBranch>
setNew
in interface LayoutSetBranchModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutSetBranchModel
primaryKey
- the primary key of this layout set branchpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<LayoutSetBranch>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface LayoutSetBranchModel
primaryKeyObj
- the primary key of this model instancepublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface LayoutSetBranchModel
privateLayout
- the private layout of this layout set branchpublic void setSettings(String settings)
setSettings
in interface LayoutSetBranchModel
settings
- the settings of this layout set branchpublic void setSettingsProperties(UnicodeProperties settingsProperties)
setSettingsProperties
in interface LayoutSetBranch
public void setThemeId(String themeId)
setThemeId
in interface LayoutSetBranchModel
themeId
- the theme ID of this layout set branchpublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface LayoutSetBranchModel
userId
- the user ID of this layout set branchpublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface LayoutSetBranchModel
userName
- the user name of this layout set branchpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface LayoutSetBranchModel
userUuid
- the user uuid of this layout set branchpublic CacheModel<LayoutSetBranch> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<LayoutSetBranch>
toCacheModel
in interface LayoutSetBranchModel
public LayoutSetBranch toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<LayoutSetBranch>
toEscapedModel
in interface LayoutSetBranchModel
AutoEscapeBeanHandler
public String toString()
toString
in interface LayoutSetBranchModel
toString
in class Object
public LayoutSetBranch toUnescapedModel()
toUnescapedModel
in interface BaseModel<LayoutSetBranch>
toUnescapedModel
in interface LayoutSetBranchModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<LayoutSetBranch>
toXmlString
in interface LayoutSetBranchModel
public boolean equals(Object obj)
equals
in class Object
public LayoutSetBranch getWrappedModel()
getWrappedModel
in interface ModelWrapper<LayoutSetBranch>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<LayoutSetBranch>
true
if this model's entity cache is enabled;
false
otherwisepublic boolean isFinderCacheEnabled()
BaseModel
true
if this model's finder cache is enabled.isFinderCacheEnabled
in interface BaseModel<LayoutSetBranch>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<LayoutSetBranch>