@ProviderType public interface LayoutSetModel extends BaseModel<LayoutSet>, MVCCModel, ShardedModel
This interface and its corresponding implementation LayoutSetModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutSetImpl
.
LayoutSet
,
LayoutSetImpl
,
LayoutSetModelImpl
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(LayoutSet layoutSet) |
String |
getColorSchemeId()
Returns the color scheme ID of this layout set.
|
long |
getCompanyId()
Returns the company ID of this layout set.
|
Date |
getCreateDate()
Returns the create date of this layout set.
|
String |
getCss()
Returns the css of this layout set.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this layout set.
|
long |
getLayoutSetId()
Returns the layout set ID of this layout set.
|
boolean |
getLayoutSetPrototypeLinkEnabled()
Returns the layout set prototype link enabled of this layout set.
|
String |
getLayoutSetPrototypeUuid()
Returns the layout set prototype uuid of this layout set.
|
long |
getLogoId()
Returns the logo ID of this layout set.
|
Date |
getModifiedDate()
Returns the modified date of this layout set.
|
long |
getMvccVersion()
Returns the mvcc version of this layout set.
|
int |
getPageCount()
Returns the page count of this layout set.
|
long |
getPrimaryKey()
Returns the primary key of this layout set.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
boolean |
getPrivateLayout()
Returns the private layout of this layout set.
|
String |
getSettings()
Returns the settings of this layout set.
|
String |
getThemeId()
Returns the theme ID of this layout set.
|
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 |
isLayoutSetPrototypeLinkEnabled()
Returns
true if this layout set is layout set prototype link enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isPrivateLayout()
Returns
true if this layout set is private layout. |
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.
|
void |
setCompanyId(long companyId)
Sets the company ID of this layout set.
|
void |
setCreateDate(Date createDate)
Sets the create date of this layout set.
|
void |
setCss(String css)
Sets the css of this layout set.
|
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.
|
void |
setLayoutSetId(long layoutSetId)
Sets the layout set ID of this layout set.
|
void |
setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
Sets whether this layout set is layout set prototype link enabled.
|
void |
setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Sets the layout set prototype uuid of this layout set.
|
void |
setLogoId(long logoId)
Sets the logo ID of this layout set.
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this layout set.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout set.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPageCount(int pageCount)
Sets the page count of this layout set.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout set.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout set is private layout.
|
void |
setSettings(String settings)
Sets the settings of this layout set.
|
void |
setThemeId(String themeId)
Sets the theme ID of this layout set.
|
CacheModel<LayoutSet> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
LayoutSet |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
LayoutSet |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this layout setlong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this layout setlong getLayoutSetId()
void setLayoutSetId(long layoutSetId)
layoutSetId
- the layout set ID of this layout setlong getGroupId()
void setGroupId(long groupId)
groupId
- the group ID of this layout setlong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this layout setDate getCreateDate()
void setCreateDate(Date createDate)
createDate
- the create date of this layout setDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate
- the modified date of this layout setboolean getPrivateLayout()
boolean isPrivateLayout()
true
if this layout set is private layout.true
if this layout set is private layout; false
otherwisevoid setPrivateLayout(boolean privateLayout)
privateLayout
- the private layout of this layout setlong getLogoId()
void setLogoId(long logoId)
logoId
- the logo ID of this layout set@AutoEscape String getThemeId()
void setThemeId(String themeId)
themeId
- the theme ID of this layout set@AutoEscape String getColorSchemeId()
void setColorSchemeId(String colorSchemeId)
colorSchemeId
- the color scheme ID of this layout set@AutoEscape String getCss()
void setCss(String css)
css
- the css of this layout setint getPageCount()
void setPageCount(int pageCount)
pageCount
- the page count of this layout set@AutoEscape String getSettings()
void setSettings(String settings)
settings
- the settings of this layout set@AutoEscape String getLayoutSetPrototypeUuid()
void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
layoutSetPrototypeUuid
- the layout set prototype uuid of this layout setboolean getLayoutSetPrototypeLinkEnabled()
boolean isLayoutSetPrototypeLinkEnabled()
true
if this layout set is layout set prototype link enabled.true
if this layout set is layout set prototype link enabled; false
otherwisevoid setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
layoutSetPrototypeLinkEnabled
- the layout set prototype link enabled of this layout setboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModel
boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<LayoutSet>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<LayoutSet>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<LayoutSet>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<LayoutSet>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<LayoutSet>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<LayoutSet>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<LayoutSet>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<LayoutSet>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<LayoutSet>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
int compareTo(LayoutSet layoutSet)
compareTo
in interface Comparable<LayoutSet>
int hashCode()
hashCode
in class Object
CacheModel<LayoutSet> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<LayoutSet>
LayoutSet toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<LayoutSet>
AutoEscapeBeanHandler
LayoutSet toUnescapedModel()
toUnescapedModel
in interface BaseModel<LayoutSet>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<LayoutSet>