@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 ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<LayoutSetBranch>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<LayoutSetBranch>public CacheModel<LayoutSetBranch> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<LayoutSetBranch>toCacheModel in interface LayoutSetBranchModelpublic ColorScheme getColorScheme()
getColorScheme in interface LayoutSetBranchpublic Group getGroup() throws PortalException
getGroup in interface LayoutSetBranchPortalExceptionpublic LayoutSet getLayoutSet()
getLayoutSet in interface LayoutSetBranchpublic LayoutSetBranch toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<LayoutSetBranch>toEscapedModel in interface LayoutSetBranchModelAutoEscapeBeanHandlerpublic LayoutSetBranch toUnescapedModel()
toUnescapedModel in interface BaseModel<LayoutSetBranch>toUnescapedModel in interface LayoutSetBranchModelpublic Theme getTheme()
getTheme in interface LayoutSetBranchpublic boolean getLayoutSetPrototypeLinkEnabled()
getLayoutSetPrototypeLinkEnabled in interface LayoutSetBranchModelpublic boolean getLogo()
getLogo in interface LayoutSetBranchpublic boolean getMaster()
getMaster in interface LayoutSetBranchModelpublic boolean getPrivateLayout()
getPrivateLayout in interface LayoutSetBranchModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<LayoutSetBranch>isCachedModel in interface LayoutSetBranchModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<LayoutSetBranch>isEscapedModel in interface LayoutSetBranchModeltrue if this model instance is escaped;
false otherwisepublic boolean isLayoutSetPrototypeLinkActive()
isLayoutSetPrototypeLinkActive in interface LayoutSetBranchpublic boolean isLayoutSetPrototypeLinkEnabled()
true if this layout set branch is layout set prototype link enabled.isLayoutSetPrototypeLinkEnabled in interface LayoutSetBranchModeltrue if this layout set branch is layout set prototype link enabled; false otherwisepublic boolean isLogo()
isLogo in interface LayoutSetBranchpublic boolean isMaster()
true if this layout set branch is master.isMaster in interface LayoutSetBranchModeltrue if this layout set branch is master; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<LayoutSetBranch>isNew in interface LayoutSetBranchModeltrue 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 LayoutSetBranchModeltrue if this layout set branch is private layout; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<LayoutSetBranch>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LayoutSetBranchModelpublic UnicodeProperties getSettingsProperties()
getSettingsProperties in interface LayoutSetBranchpublic int compareTo(LayoutSetBranch layoutSetBranch)
compareTo in interface LayoutSetBranchModelcompareTo in interface Comparable<LayoutSetBranch>public int hashCode()
hashCode in interface LayoutSetBranchModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<LayoutSetBranch>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LayoutSetBranchModelpublic Object clone()
BaseModelclone in interface BaseModel<LayoutSetBranch>clone in interface LayoutSetBranchModelclone in class Objectpublic String getColorSchemeId()
getColorSchemeId in interface LayoutSetBranchModelpublic String getCss()
getCss in interface LayoutSetBranchModelpublic String getDescription()
getDescription in interface LayoutSetBranchModelpublic String getLayoutSetPrototypeUuid()
getLayoutSetPrototypeUuid in interface LayoutSetBranchModelpublic String getName()
getName in interface LayoutSetBranchModelpublic String getSettings()
getSettings in interface LayoutSetBranchModelpublic String getSettingsProperty(String key)
getSettingsProperty in interface LayoutSetBranchpublic String getThemeId()
getThemeId in interface LayoutSetBranchModelpublic String getThemeSetting(String key, String device)
getThemeSetting in interface LayoutSetBranchpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface LayoutSetBranchModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface LayoutSetBranchModelpublic String toString()
toString in interface LayoutSetBranchModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<LayoutSetBranch>toXmlString in interface LayoutSetBranchModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface LayoutSetBranchModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface LayoutSetBranchModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface LayoutSetBranchModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface LayoutSetBranchModelpublic long getLayoutSetBranchId()
getLayoutSetBranchId in interface LayoutSetBranchModelpublic long getLiveLogoId()
getLiveLogoId in interface LayoutSetBranchpublic long getLogoId()
getLogoId in interface LayoutSetBranchModelpublic long getMvccVersion()
getMvccVersion in interface LayoutSetBranchModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface LayoutSetBranchModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface LayoutSetBranchModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<LayoutSetBranch>setCachedModel in interface LayoutSetBranchModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setColorSchemeId(String colorSchemeId)
setColorSchemeId in interface LayoutSetBranchModelcolorSchemeId - the color scheme ID of this layout set branchpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface LayoutSetBranchModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this layout set branchpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface LayoutSetBranchModelcreateDate - the create date of this layout set branchpublic void setCss(String css)
setCss in interface LayoutSetBranchModelcss - the css of this layout set branchpublic void setDescription(String description)
setDescription in interface LayoutSetBranchModeldescription - the description of this layout set branchpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<LayoutSetBranch>setExpandoBridgeAttributes in interface LayoutSetBranchModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<LayoutSetBranch>setExpandoBridgeAttributes in interface LayoutSetBranchModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<LayoutSetBranch>setExpandoBridgeAttributes in interface LayoutSetBranchModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface LayoutSetBranchModelgroupId - the group ID of this layout set branchpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId in interface LayoutSetBranchModellayoutSetBranchId - the layout set branch ID of this layout set branchpublic void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
setLayoutSetPrototypeLinkEnabled in interface LayoutSetBranchModellayoutSetPrototypeLinkEnabled - the layout set prototype link enabled of this layout set branchpublic void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
setLayoutSetPrototypeUuid in interface LayoutSetBranchModellayoutSetPrototypeUuid - the layout set prototype uuid of this layout set branchpublic void setLogoId(long logoId)
setLogoId in interface LayoutSetBranchModellogoId - the logo ID of this layout set branchpublic void setMaster(boolean master)
setMaster in interface LayoutSetBranchModelmaster - the master of this layout set branchpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface LayoutSetBranchModelmodifiedDate - the modified date of this layout set branchpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface LayoutSetBranchModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this layout set branchpublic void setName(String name)
setName in interface LayoutSetBranchModelname - the name of this layout set branchpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<LayoutSetBranch>setNew in interface LayoutSetBranchModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface LayoutSetBranchModelprimaryKey - the primary key of this layout set branchpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<LayoutSetBranch>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LayoutSetBranchModelprimaryKeyObj - the primary key of this model instancepublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout in interface LayoutSetBranchModelprivateLayout - the private layout of this layout set branchpublic void setSettings(String settings)
setSettings in interface LayoutSetBranchModelsettings - the settings of this layout set branchpublic void setSettingsProperties(UnicodeProperties settingsProperties)
setSettingsProperties in interface LayoutSetBranchpublic void setThemeId(String themeId)
setThemeId in interface LayoutSetBranchModelthemeId - the theme ID of this layout set branchpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface LayoutSetBranchModeluserId - the user ID of this layout set branchpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface LayoutSetBranchModeluserName - the user name of this layout set branchpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface LayoutSetBranchModeluserUuid - the user uuid of this layout set branchpublic LayoutSetBranch getWrappedModel()
getWrappedModel in interface ModelWrapper<LayoutSetBranch>public boolean isEntityCacheEnabled()
BaseModeltrue 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()
BaseModeltrue 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()
BaseModelresetOriginalValues in interface BaseModel<LayoutSetBranch>