com.liferay.portal.model.impl
Class LayoutSetModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutSet>
      extended by com.liferay.portal.model.impl.LayoutSetModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.LayoutSetModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.LayoutSet>
Direct Known Subclasses:
LayoutSetBaseImpl

@JSON(strict=true)
public class LayoutSetModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutSet>
implements com.liferay.portal.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.

Author:
Brian Wing Shun Chan
See Also:
LayoutSetImpl, LayoutSet, LayoutSetModel, Serialized Form
Generated:

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static java.lang.String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LAYOUTSETPROTOTYPEUUID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static long PRIVATELAYOUT_COLUMN_BITMASK
           
static java.lang.String SESSION_FACTORY
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
 
Constructor Summary
LayoutSetModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(com.liferay.portal.model.LayoutSet layoutSet)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getColorSchemeId()
           
 long getColumnBitmask()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 java.lang.String getCss()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 long getGroupId()
           
 long getLayoutSetId()
           
 boolean getLayoutSetPrototypeLinkEnabled()
           
 java.lang.String getLayoutSetPrototypeUuid()
           
 boolean getLogo()
           
 long getLogoId()
           
 java.lang.Class<?> getModelClass()
           
 java.lang.String getModelClassName()
           
 java.util.Date getModifiedDate()
           
 long getOriginalGroupId()
           
 java.lang.String getOriginalLayoutSetPrototypeUuid()
           
 boolean getOriginalPrivateLayout()
           
 int getPageCount()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 boolean getPrivateLayout()
           
 java.lang.String getSettings()
           
 java.lang.String getThemeId()
           
 java.lang.String getWapColorSchemeId()
           
 java.lang.String getWapThemeId()
           
 int hashCode()
           
 boolean isLayoutSetPrototypeLinkEnabled()
           
 boolean isLogo()
           
 boolean isPrivateLayout()
           
 void resetOriginalValues()
           
 void setColorSchemeId(java.lang.String colorSchemeId)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setCss(java.lang.String css)
           
 void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
           
 void setGroupId(long groupId)
           
 void setLayoutSetId(long layoutSetId)
           
 void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
           
 void setLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid)
           
 void setLogo(boolean logo)
           
 void setLogoId(long logoId)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setPageCount(int pageCount)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
           
 void setPrivateLayout(boolean privateLayout)
           
 void setSettings(java.lang.String settings)
           
 void setThemeId(java.lang.String themeId)
           
 void setWapColorSchemeId(java.lang.String wapColorSchemeId)
           
 void setWapThemeId(java.lang.String wapThemeId)
           
 com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutSet> toCacheModel()
           
 com.liferay.portal.model.LayoutSet toEscapedModel()
           
static com.liferay.portal.model.LayoutSet toModel(com.liferay.portal.model.LayoutSetSoap soapModel)
          Converts the soap model instance into a normal model instance.
static java.util.List<com.liferay.portal.model.LayoutSet> toModels(com.liferay.portal.model.LayoutSetSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
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, setNew
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.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 long GROUPID_COLUMN_BITMASK

LAYOUTSETPROTOTYPEUUID_COLUMN_BITMASK

public static long LAYOUTSETPROTOTYPEUUID_COLUMN_BITMASK

PRIVATELAYOUT_COLUMN_BITMASK

public static long PRIVATELAYOUT_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

LayoutSetModelImpl

public LayoutSetModelImpl()
Method Detail

toModel

public static com.liferay.portal.model.LayoutSet toModel(com.liferay.portal.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 java.util.List<com.liferay.portal.model.LayoutSet> toModels(com.liferay.portal.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.model.LayoutSetModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.portal.model.LayoutSetModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.LayoutSetModel

setPrimaryKeyObj

public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.LayoutSetModel

getModelClass

public java.lang.Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel

getModelClassName

public java.lang.String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel

getLayoutSetId

@JSON
public long getLayoutSetId()
Specified by:
getLayoutSetId in interface com.liferay.portal.model.LayoutSetModel

setLayoutSetId

public void setLayoutSetId(long layoutSetId)
Specified by:
setLayoutSetId in interface com.liferay.portal.model.LayoutSetModel

getGroupId

@JSON
public long getGroupId()
Specified by:
getGroupId in interface com.liferay.portal.model.LayoutSetModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface com.liferay.portal.model.LayoutSetModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Specified by:
getCompanyId in interface com.liferay.portal.model.LayoutSetModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.portal.model.LayoutSetModel

getCreateDate

@JSON
public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface com.liferay.portal.model.LayoutSetModel

setCreateDate

public void setCreateDate(java.util.Date createDate)
Specified by:
setCreateDate in interface com.liferay.portal.model.LayoutSetModel

getModifiedDate

@JSON
public java.util.Date getModifiedDate()
Specified by:
getModifiedDate in interface com.liferay.portal.model.LayoutSetModel

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)
Specified by:
setModifiedDate in interface com.liferay.portal.model.LayoutSetModel

getPrivateLayout

@JSON
public boolean getPrivateLayout()
Specified by:
getPrivateLayout in interface com.liferay.portal.model.LayoutSetModel

isPrivateLayout

public boolean isPrivateLayout()
Specified by:
isPrivateLayout in interface com.liferay.portal.model.LayoutSetModel

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Specified by:
setPrivateLayout in interface com.liferay.portal.model.LayoutSetModel

getOriginalPrivateLayout

public boolean getOriginalPrivateLayout()

getLogo

@JSON
public boolean getLogo()
Specified by:
getLogo in interface com.liferay.portal.model.LayoutSetModel

isLogo

public boolean isLogo()
Specified by:
isLogo in interface com.liferay.portal.model.LayoutSetModel

setLogo

public void setLogo(boolean logo)
Specified by:
setLogo in interface com.liferay.portal.model.LayoutSetModel

getLogoId

@JSON
public long getLogoId()
Specified by:
getLogoId in interface com.liferay.portal.model.LayoutSetModel

setLogoId

public void setLogoId(long logoId)
Specified by:
setLogoId in interface com.liferay.portal.model.LayoutSetModel

getThemeId

@JSON
public java.lang.String getThemeId()
Specified by:
getThemeId in interface com.liferay.portal.model.LayoutSetModel

setThemeId

public void setThemeId(java.lang.String themeId)
Specified by:
setThemeId in interface com.liferay.portal.model.LayoutSetModel

getColorSchemeId

@JSON
public java.lang.String getColorSchemeId()
Specified by:
getColorSchemeId in interface com.liferay.portal.model.LayoutSetModel

setColorSchemeId

public void setColorSchemeId(java.lang.String colorSchemeId)
Specified by:
setColorSchemeId in interface com.liferay.portal.model.LayoutSetModel

getWapThemeId

@JSON
public java.lang.String getWapThemeId()
Specified by:
getWapThemeId in interface com.liferay.portal.model.LayoutSetModel

setWapThemeId

public void setWapThemeId(java.lang.String wapThemeId)
Specified by:
setWapThemeId in interface com.liferay.portal.model.LayoutSetModel

getWapColorSchemeId

@JSON
public java.lang.String getWapColorSchemeId()
Specified by:
getWapColorSchemeId in interface com.liferay.portal.model.LayoutSetModel

setWapColorSchemeId

public void setWapColorSchemeId(java.lang.String wapColorSchemeId)
Specified by:
setWapColorSchemeId in interface com.liferay.portal.model.LayoutSetModel

getCss

@JSON
public java.lang.String getCss()
Specified by:
getCss in interface com.liferay.portal.model.LayoutSetModel

setCss

public void setCss(java.lang.String css)
Specified by:
setCss in interface com.liferay.portal.model.LayoutSetModel

getPageCount

@JSON
public int getPageCount()
Specified by:
getPageCount in interface com.liferay.portal.model.LayoutSetModel

setPageCount

public void setPageCount(int pageCount)
Specified by:
setPageCount in interface com.liferay.portal.model.LayoutSetModel

getSettings

@JSON
public java.lang.String getSettings()
Specified by:
getSettings in interface com.liferay.portal.model.LayoutSetModel

setSettings

public void setSettings(java.lang.String settings)
Specified by:
setSettings in interface com.liferay.portal.model.LayoutSetModel

getLayoutSetPrototypeUuid

@JSON
public java.lang.String getLayoutSetPrototypeUuid()
Specified by:
getLayoutSetPrototypeUuid in interface com.liferay.portal.model.LayoutSetModel

setLayoutSetPrototypeUuid

public void setLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid)
Specified by:
setLayoutSetPrototypeUuid in interface com.liferay.portal.model.LayoutSetModel

getOriginalLayoutSetPrototypeUuid

public java.lang.String getOriginalLayoutSetPrototypeUuid()

getLayoutSetPrototypeLinkEnabled

@JSON
public boolean getLayoutSetPrototypeLinkEnabled()
Specified by:
getLayoutSetPrototypeLinkEnabled in interface com.liferay.portal.model.LayoutSetModel

isLayoutSetPrototypeLinkEnabled

public boolean isLayoutSetPrototypeLinkEnabled()
Specified by:
isLayoutSetPrototypeLinkEnabled in interface com.liferay.portal.model.LayoutSetModel

setLayoutSetPrototypeLinkEnabled

public void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
Specified by:
setLayoutSetPrototypeLinkEnabled in interface com.liferay.portal.model.LayoutSetModel

getColumnBitmask

public long getColumnBitmask()

toEscapedModel

public com.liferay.portal.model.LayoutSet toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>
Specified by:
toEscapedModel in interface com.liferay.portal.model.LayoutSetModel
Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutSet>

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>
Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portal.model.LayoutSetModel
Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutSet>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.LayoutSetModel
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutSet>

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>
Specified by:
clone in interface com.liferay.portal.model.LayoutSetModel
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutSet>

compareTo

public int compareTo(com.liferay.portal.model.LayoutSet layoutSet)
Specified by:
compareTo in interface com.liferay.portal.model.LayoutSetModel
Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portal.model.LayoutSet>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.portal.model.LayoutSetModel
Overrides:
hashCode in class java.lang.Object

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>
Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutSet>

toCacheModel

public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutSet> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>
Specified by:
toCacheModel in interface com.liferay.portal.model.LayoutSetModel
Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutSet>

toString

public java.lang.String toString()
Specified by:
toString in interface com.liferay.portal.model.LayoutSetModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutSet>
Specified by:
toXmlString in interface com.liferay.portal.model.LayoutSetModel