com.liferay.portal.model.impl
Class LayoutSetModelImpl
java.lang.Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
com.liferay.portal.model.impl.LayoutSetModelImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.LayoutSetModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.LayoutSet>
- Direct Known Subclasses:
- LayoutSetBaseImpl
@JSON(strict=true)
@ProviderType
public class LayoutSetModelImpl
- extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
- implements com.liferay.portal.kernel.model.LayoutSetModel
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.
- See Also:
LayoutSetImpl,
LayoutSet,
LayoutSetModel,
Serialized Form- {$generated.description}
| Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from interface com.liferay.portal.kernel.model.LayoutSetModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
GROUPID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
- See Also:
- Constant Field Values
LAYOUTSETPROTOTYPEUUID_COLUMN_BITMASK
public static final long LAYOUTSETPROTOTYPEUUID_COLUMN_BITMASK
- See Also:
- Constant Field Values
PRIVATELAYOUT_COLUMN_BITMASK
public static final long PRIVATELAYOUT_COLUMN_BITMASK
- See Also:
- Constant Field Values
LAYOUTSETID_COLUMN_BITMASK
public static final long LAYOUTSETID_COLUMN_BITMASK
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
LayoutSetModelImpl
public LayoutSetModelImpl()
toModel
public static com.liferay.portal.kernel.model.LayoutSet toModel(com.liferay.portal.kernel.model.LayoutSetSoap soapModel)
- Converts the soap model instance into a normal model instance.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public static List<com.liferay.portal.kernel.model.LayoutSet> toModels(com.liferay.portal.kernel.model.LayoutSetSoap[] soapModels)
- Converts the soap model instances into normal model instances.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portal.kernel.model.LayoutSetModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.kernel.model.LayoutSetModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.LayoutSetModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.LayoutSetModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
getMvccVersion
@JSON
public long getMvccVersion()
- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.LayoutSetModel- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
public void setMvccVersion(long mvccVersion)
- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.LayoutSetModel- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
getLayoutSetId
@JSON
public long getLayoutSetId()
- Specified by:
getLayoutSetId in interface com.liferay.portal.kernel.model.LayoutSetModel
setLayoutSetId
public void setLayoutSetId(long layoutSetId)
- Specified by:
setLayoutSetId in interface com.liferay.portal.kernel.model.LayoutSetModel
getGroupId
@JSON
public long getGroupId()
- Specified by:
getGroupId in interface com.liferay.portal.kernel.model.LayoutSetModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface com.liferay.portal.kernel.model.LayoutSetModel
getOriginalGroupId
public long getOriginalGroupId()
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.LayoutSetModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.LayoutSetModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
getCreateDate
@JSON
public Date getCreateDate()
- Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.LayoutSetModel
setCreateDate
public void setCreateDate(Date createDate)
- Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.LayoutSetModel
getModifiedDate
@JSON
public Date getModifiedDate()
- Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.LayoutSetModel
hasSetModifiedDate
public boolean hasSetModifiedDate()
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.LayoutSetModel
getPrivateLayout
@JSON
public boolean getPrivateLayout()
- Specified by:
getPrivateLayout in interface com.liferay.portal.kernel.model.LayoutSetModel
isPrivateLayout
public boolean isPrivateLayout()
- Specified by:
isPrivateLayout in interface com.liferay.portal.kernel.model.LayoutSetModel
setPrivateLayout
public void setPrivateLayout(boolean privateLayout)
- Specified by:
setPrivateLayout in interface com.liferay.portal.kernel.model.LayoutSetModel
getOriginalPrivateLayout
public boolean getOriginalPrivateLayout()
getLogoId
@JSON
public long getLogoId()
- Specified by:
getLogoId in interface com.liferay.portal.kernel.model.LayoutSetModel
setLogoId
public void setLogoId(long logoId)
- Specified by:
setLogoId in interface com.liferay.portal.kernel.model.LayoutSetModel
getThemeId
@JSON
public String getThemeId()
- Specified by:
getThemeId in interface com.liferay.portal.kernel.model.LayoutSetModel
setThemeId
public void setThemeId(String themeId)
- Specified by:
setThemeId in interface com.liferay.portal.kernel.model.LayoutSetModel
getColorSchemeId
@JSON
public String getColorSchemeId()
- Specified by:
getColorSchemeId in interface com.liferay.portal.kernel.model.LayoutSetModel
setColorSchemeId
public void setColorSchemeId(String colorSchemeId)
- Specified by:
setColorSchemeId in interface com.liferay.portal.kernel.model.LayoutSetModel
getCss
@JSON
public String getCss()
- Specified by:
getCss in interface com.liferay.portal.kernel.model.LayoutSetModel
setCss
public void setCss(String css)
- Specified by:
setCss in interface com.liferay.portal.kernel.model.LayoutSetModel
getPageCount
@JSON
public int getPageCount()
- Specified by:
getPageCount in interface com.liferay.portal.kernel.model.LayoutSetModel
setPageCount
public void setPageCount(int pageCount)
- Specified by:
setPageCount in interface com.liferay.portal.kernel.model.LayoutSetModel
getSettings
@JSON
public String getSettings()
- Specified by:
getSettings in interface com.liferay.portal.kernel.model.LayoutSetModel
setSettings
public void setSettings(String settings)
- Specified by:
setSettings in interface com.liferay.portal.kernel.model.LayoutSetModel
getLayoutSetPrototypeUuid
@JSON
public String getLayoutSetPrototypeUuid()
- Specified by:
getLayoutSetPrototypeUuid in interface com.liferay.portal.kernel.model.LayoutSetModel
setLayoutSetPrototypeUuid
public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
- Specified by:
setLayoutSetPrototypeUuid in interface com.liferay.portal.kernel.model.LayoutSetModel
getOriginalLayoutSetPrototypeUuid
public String getOriginalLayoutSetPrototypeUuid()
getLayoutSetPrototypeLinkEnabled
@JSON
public boolean getLayoutSetPrototypeLinkEnabled()
- Specified by:
getLayoutSetPrototypeLinkEnabled in interface com.liferay.portal.kernel.model.LayoutSetModel
isLayoutSetPrototypeLinkEnabled
public boolean isLayoutSetPrototypeLinkEnabled()
- Specified by:
isLayoutSetPrototypeLinkEnabled in interface com.liferay.portal.kernel.model.LayoutSetModel
setLayoutSetPrototypeLinkEnabled
public void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
- Specified by:
setLayoutSetPrototypeLinkEnabled in interface com.liferay.portal.kernel.model.LayoutSetModel
getCompanyFallbackVirtualHostname
public String getCompanyFallbackVirtualHostname()
setCompanyFallbackVirtualHostname
public void setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname)
getVirtualHostname
public String getVirtualHostname()
setVirtualHostname
public void setVirtualHostname(String virtualHostname)
getColumnBitmask
public long getColumnBitmask()
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.LayoutSetModel- Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.LayoutSetModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
toEscapedModel
public com.liferay.portal.kernel.model.LayoutSet toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.LayoutSetModel- Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
clone
public Object clone()
- Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Specified by:
clone in interface com.liferay.portal.kernel.model.LayoutSetModel- Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
compareTo
public int compareTo(com.liferay.portal.kernel.model.LayoutSet layoutSet)
- Specified by:
compareTo in interface com.liferay.portal.kernel.model.LayoutSetModel- Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.model.LayoutSet>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portal.kernel.model.LayoutSetModel- Overrides:
hashCode in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.LayoutSet> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.LayoutSetModel- Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutSet>
toString
public String toString()
- Specified by:
toString in interface com.liferay.portal.kernel.model.LayoutSetModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutSet>- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.LayoutSetModel