|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<LayoutSet>
com.liferay.portal.model.impl.LayoutSetModelImpl
@JSON(strict=true) @ProviderType public class LayoutSetModelImpl
The base model implementation for the LayoutSet service. Represents a row in the "LayoutSet" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface LayoutSetModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutSetImpl.
LayoutSetImpl,
LayoutSet,
LayoutSetModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LAYOUTSETID_COLUMN_BITMASK
|
static long |
LAYOUTSETPROTOTYPEUUID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PRIVATELAYOUT_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
LayoutSetModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(LayoutSet layoutSet)
|
boolean |
equals(Object obj)
|
String |
getColorSchemeId()
Returns the color scheme ID of this layout set. |
long |
getColumnBitmask()
|
String |
getCompanyFallbackVirtualHostname()
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this layout set. |
long |
getMvccVersion()
Returns the mvcc version of this layout set. |
long |
getOriginalGroupId()
|
String |
getOriginalLayoutSetPrototypeUuid()
|
boolean |
getOriginalPrivateLayout()
|
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. |
String |
getVirtualHostname()
|
String |
getWapColorSchemeId()
Returns the wap color scheme ID of this layout set. |
String |
getWapThemeId()
Returns the wap theme ID of this layout set. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isLayoutSetPrototypeLinkEnabled()
Returns true if this layout set is layout set prototype link enabled. |
boolean |
isPrivateLayout()
Returns true if this layout set is private layout. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setColorSchemeId(String colorSchemeId)
Sets the color scheme ID of this layout set. |
void |
setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname)
|
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(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 |
setModelAttributes(Map<String,Object> attributes)
|
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 |
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. |
void |
setVirtualHostname(String virtualHostname)
|
void |
setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme ID of this layout set. |
void |
setWapThemeId(String wapThemeId)
Sets the wap 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. |
static LayoutSet |
toModel(LayoutSetSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<LayoutSet> |
toModels(LayoutSetSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.LayoutSetModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long GROUPID_COLUMN_BITMASK
public static final long LAYOUTSETPROTOTYPEUUID_COLUMN_BITMASK
public static final long PRIVATELAYOUT_COLUMN_BITMASK
public static final long LAYOUTSETID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public LayoutSetModelImpl()
| Method Detail |
|---|
public static LayoutSet toModel(LayoutSetSoap soapModel)
soapModel - the soap model instance to convert
public static List<LayoutSet> toModels(LayoutSetSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
LayoutSetModel
getPrimaryKey in interface LayoutSetModelpublic void setPrimaryKey(long primaryKey)
LayoutSetModel
setPrimaryKey in interface LayoutSetModelprimaryKey - the primary key of this layout setpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<LayoutSet>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LayoutSetModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<LayoutSet>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LayoutSetModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<LayoutSet>getModelAttributes in class BaseModelImpl<LayoutSet>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<LayoutSet>setModelAttributes in class BaseModelImpl<LayoutSet>@JSON public long getMvccVersion()
LayoutSetModel
getMvccVersion in interface LayoutSetModelgetMvccVersion in interface MVCCModelpublic void setMvccVersion(long mvccVersion)
LayoutSetModel
setMvccVersion in interface LayoutSetModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this layout set@JSON public long getLayoutSetId()
LayoutSetModel
getLayoutSetId in interface LayoutSetModelpublic void setLayoutSetId(long layoutSetId)
LayoutSetModel
setLayoutSetId in interface LayoutSetModellayoutSetId - the layout set ID of this layout set@JSON public long getGroupId()
LayoutSetModel
getGroupId in interface LayoutSetModelpublic void setGroupId(long groupId)
LayoutSetModel
setGroupId in interface LayoutSetModelgroupId - the group ID of this layout setpublic long getOriginalGroupId()
@JSON public long getCompanyId()
LayoutSetModel
getCompanyId in interface LayoutSetModelgetCompanyId in interface ShardedModelpublic void setCompanyId(long companyId)
LayoutSetModel
setCompanyId in interface LayoutSetModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this layout set@JSON public Date getCreateDate()
LayoutSetModel
getCreateDate in interface LayoutSetModelpublic void setCreateDate(Date createDate)
LayoutSetModel
setCreateDate in interface LayoutSetModelcreateDate - the create date of this layout set@JSON public Date getModifiedDate()
LayoutSetModel
getModifiedDate in interface LayoutSetModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
LayoutSetModel
setModifiedDate in interface LayoutSetModelmodifiedDate - the modified date of this layout set@JSON public boolean getPrivateLayout()
LayoutSetModel
getPrivateLayout in interface LayoutSetModelpublic boolean isPrivateLayout()
LayoutSetModeltrue if this layout set is private layout.
isPrivateLayout in interface LayoutSetModeltrue if this layout set is private layout; false otherwisepublic void setPrivateLayout(boolean privateLayout)
LayoutSetModel
setPrivateLayout in interface LayoutSetModelprivateLayout - the private layout of this layout setpublic boolean getOriginalPrivateLayout()
@JSON public long getLogoId()
LayoutSetModel
getLogoId in interface LayoutSetModelpublic void setLogoId(long logoId)
LayoutSetModel
setLogoId in interface LayoutSetModellogoId - the logo ID of this layout set@JSON public String getThemeId()
LayoutSetModel
getThemeId in interface LayoutSetModelpublic void setThemeId(String themeId)
LayoutSetModel
setThemeId in interface LayoutSetModelthemeId - the theme ID of this layout set@JSON public String getColorSchemeId()
LayoutSetModel
getColorSchemeId in interface LayoutSetModelpublic void setColorSchemeId(String colorSchemeId)
LayoutSetModel
setColorSchemeId in interface LayoutSetModelcolorSchemeId - the color scheme ID of this layout set@JSON public String getWapThemeId()
LayoutSetModel
getWapThemeId in interface LayoutSetModelpublic void setWapThemeId(String wapThemeId)
LayoutSetModel
setWapThemeId in interface LayoutSetModelwapThemeId - the wap theme ID of this layout set@JSON public String getWapColorSchemeId()
LayoutSetModel
getWapColorSchemeId in interface LayoutSetModelpublic void setWapColorSchemeId(String wapColorSchemeId)
LayoutSetModel
setWapColorSchemeId in interface LayoutSetModelwapColorSchemeId - the wap color scheme ID of this layout set@JSON public String getCss()
LayoutSetModel
getCss in interface LayoutSetModelpublic void setCss(String css)
LayoutSetModel
setCss in interface LayoutSetModelcss - the css of this layout set@JSON public int getPageCount()
LayoutSetModel
getPageCount in interface LayoutSetModelpublic void setPageCount(int pageCount)
LayoutSetModel
setPageCount in interface LayoutSetModelpageCount - the page count of this layout set@JSON public String getSettings()
LayoutSetModel
getSettings in interface LayoutSetModelpublic void setSettings(String settings)
LayoutSetModel
setSettings in interface LayoutSetModelsettings - the settings of this layout set@JSON public String getLayoutSetPrototypeUuid()
LayoutSetModel
getLayoutSetPrototypeUuid in interface LayoutSetModelpublic void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
LayoutSetModel
setLayoutSetPrototypeUuid in interface LayoutSetModellayoutSetPrototypeUuid - the layout set prototype uuid of this layout setpublic String getOriginalLayoutSetPrototypeUuid()
@JSON public boolean getLayoutSetPrototypeLinkEnabled()
LayoutSetModel
getLayoutSetPrototypeLinkEnabled in interface LayoutSetModelpublic boolean isLayoutSetPrototypeLinkEnabled()
LayoutSetModeltrue if this layout set is layout set prototype link enabled.
isLayoutSetPrototypeLinkEnabled in interface LayoutSetModeltrue if this layout set is layout set prototype link enabled; false otherwisepublic void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
LayoutSetModel
setLayoutSetPrototypeLinkEnabled in interface LayoutSetModellayoutSetPrototypeLinkEnabled - the layout set prototype link enabled of this layout setpublic String getCompanyFallbackVirtualHostname()
public void setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname)
public String getVirtualHostname()
public void setVirtualHostname(String virtualHostname)
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<LayoutSet>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LayoutSetModelgetExpandoBridge in class BaseModelImpl<LayoutSet>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>setExpandoBridgeAttributes in interface LayoutSetModelsetExpandoBridgeAttributes in class BaseModelImpl<LayoutSet>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public LayoutSet toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<LayoutSet>toEscapedModel in interface LayoutSetModeltoEscapedModel in class BaseModelImpl<LayoutSet>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<LayoutSet>clone in interface LayoutSetModelclone in class BaseModelImpl<LayoutSet>public int compareTo(LayoutSet layoutSet)
compareTo in interface LayoutSetModelcompareTo in interface Comparable<LayoutSet>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface LayoutSetModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<LayoutSet>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<LayoutSet>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<LayoutSet>resetOriginalValues in class BaseModelImpl<LayoutSet>public CacheModel<LayoutSet> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<LayoutSet>toCacheModel in interface LayoutSetModeltoCacheModel in class BaseModelImpl<LayoutSet>public String toString()
toString in interface LayoutSetModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<LayoutSet>toXmlString in interface LayoutSetModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||