public class LayoutSetBranchWrapper extends BaseModelWrapper<LayoutSetBranch> implements LayoutSetBranch, ModelWrapper<LayoutSetBranch>
This class is a wrapper for LayoutSetBranch
.
LayoutSetBranch
,
Serialized Formmodel
LAYOUT_SET_BRANCH_ID_ACCESSOR
Constructor and Description |
---|
LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch) |
Modifier and Type | Method and Description |
---|---|
LayoutSetBranch |
cloneWithOriginalValues() |
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.
|
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() |
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.
|
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.
|
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 |
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 |
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 |
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 |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout set branch.
|
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 settingsUnicodeProperties) |
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.
|
String |
toXmlString() |
protected LayoutSetBranchWrapper |
wrap(LayoutSetBranch layoutSetBranch) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
getWrappedModel
public LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<LayoutSetBranch>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<LayoutSetBranch>
public LayoutSetBranch cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<LayoutSetBranch>
cloneWithOriginalValues
in interface LayoutSetBranchModel
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 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 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 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 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 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 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 setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutSetBranchModel
primaryKey
- the primary key of this layout set branchpublic 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 settingsUnicodeProperties)
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 String toXmlString()
toXmlString
in interface LayoutSetBranchModel
protected LayoutSetBranchWrapper wrap(LayoutSetBranch layoutSetBranch)
wrap
in class BaseModelWrapper<LayoutSetBranch>