Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class LayoutSetModelImpl

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

@JSON(strict=true)
public class LayoutSetModelImpl
extends BaseModelImpl<LayoutSet>
implements 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
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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 LAYOUTSETPROTOTYPEUUID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static long PRIVATELAYOUT_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
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()
           
 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.
 boolean getLogo()
          Returns the logo 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 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 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 isLayoutSetPrototypeLinkEnabled()
          Returns true if this layout set is layout set prototype link enabled.
 boolean isLogo()
          Returns true if this layout set is logo.
 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 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 setLogo(boolean logo)
          Sets whether this layout set is logo.
 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 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 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()
           
 LayoutSet toUnescapedModel()
           
 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, 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 String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

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

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 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 LayoutSet toModel(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<LayoutSet> toModels(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()
Description copied from interface: LayoutSetModel
Returns the primary key of this layout set.

Specified by:
getPrimaryKey in interface LayoutSetModel
Returns:
the primary key of this layout set

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: LayoutSetModel
Sets the primary key of this layout set.

Specified by:
setPrimaryKey in interface LayoutSetModel
Parameters:
primaryKey - the primary key of this layout set

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<LayoutSet>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface LayoutSetModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<LayoutSet>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface LayoutSetModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<LayoutSet>
Overrides:
getModelAttributes in class BaseModelImpl<LayoutSet>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<LayoutSet>
Overrides:
setModelAttributes in class BaseModelImpl<LayoutSet>

getLayoutSetId

@JSON
public long getLayoutSetId()
Description copied from interface: LayoutSetModel
Returns the layout set ID of this layout set.

Specified by:
getLayoutSetId in interface LayoutSetModel
Returns:
the layout set ID of this layout set

setLayoutSetId

public void setLayoutSetId(long layoutSetId)
Description copied from interface: LayoutSetModel
Sets the layout set ID of this layout set.

Specified by:
setLayoutSetId in interface LayoutSetModel
Parameters:
layoutSetId - the layout set ID of this layout set

getGroupId

@JSON
public long getGroupId()
Description copied from interface: LayoutSetModel
Returns the group ID of this layout set.

Specified by:
getGroupId in interface LayoutSetModel
Returns:
the group ID of this layout set

setGroupId

public void setGroupId(long groupId)
Description copied from interface: LayoutSetModel
Sets the group ID of this layout set.

Specified by:
setGroupId in interface LayoutSetModel
Parameters:
groupId - the group ID of this layout set

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: LayoutSetModel
Returns the company ID of this layout set.

Specified by:
getCompanyId in interface LayoutSetModel
Returns:
the company ID of this layout set

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: LayoutSetModel
Sets the company ID of this layout set.

Specified by:
setCompanyId in interface LayoutSetModel
Parameters:
companyId - the company ID of this layout set

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: LayoutSetModel
Returns the create date of this layout set.

Specified by:
getCreateDate in interface LayoutSetModel
Returns:
the create date of this layout set

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: LayoutSetModel
Sets the create date of this layout set.

Specified by:
setCreateDate in interface LayoutSetModel
Parameters:
createDate - the create date of this layout set

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: LayoutSetModel
Returns the modified date of this layout set.

Specified by:
getModifiedDate in interface LayoutSetModel
Returns:
the modified date of this layout set

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: LayoutSetModel
Sets the modified date of this layout set.

Specified by:
setModifiedDate in interface LayoutSetModel
Parameters:
modifiedDate - the modified date of this layout set

getPrivateLayout

@JSON
public boolean getPrivateLayout()
Description copied from interface: LayoutSetModel
Returns the private layout of this layout set.

Specified by:
getPrivateLayout in interface LayoutSetModel
Returns:
the private layout of this layout set

isPrivateLayout

public boolean isPrivateLayout()
Description copied from interface: LayoutSetModel
Returns true if this layout set is private layout.

Specified by:
isPrivateLayout in interface LayoutSetModel
Returns:
true if this layout set is private layout; false otherwise

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Description copied from interface: LayoutSetModel
Sets whether this layout set is private layout.

Specified by:
setPrivateLayout in interface LayoutSetModel
Parameters:
privateLayout - the private layout of this layout set

getOriginalPrivateLayout

public boolean getOriginalPrivateLayout()

getLogo

@JSON
public boolean getLogo()
Description copied from interface: LayoutSetModel
Returns the logo of this layout set.

Specified by:
getLogo in interface LayoutSetModel
Returns:
the logo of this layout set

isLogo

public boolean isLogo()
Description copied from interface: LayoutSetModel
Returns true if this layout set is logo.

Specified by:
isLogo in interface LayoutSetModel
Returns:
true if this layout set is logo; false otherwise

setLogo

public void setLogo(boolean logo)
Description copied from interface: LayoutSetModel
Sets whether this layout set is logo.

Specified by:
setLogo in interface LayoutSetModel
Parameters:
logo - the logo of this layout set

getLogoId

@JSON
public long getLogoId()
Description copied from interface: LayoutSetModel
Returns the logo ID of this layout set.

Specified by:
getLogoId in interface LayoutSetModel
Returns:
the logo ID of this layout set

setLogoId

public void setLogoId(long logoId)
Description copied from interface: LayoutSetModel
Sets the logo ID of this layout set.

Specified by:
setLogoId in interface LayoutSetModel
Parameters:
logoId - the logo ID of this layout set

getThemeId

@JSON
public String getThemeId()
Description copied from interface: LayoutSetModel
Returns the theme ID of this layout set.

Specified by:
getThemeId in interface LayoutSetModel
Returns:
the theme ID of this layout set

setThemeId

public void setThemeId(String themeId)
Description copied from interface: LayoutSetModel
Sets the theme ID of this layout set.

Specified by:
setThemeId in interface LayoutSetModel
Parameters:
themeId - the theme ID of this layout set

getColorSchemeId

@JSON
public String getColorSchemeId()
Description copied from interface: LayoutSetModel
Returns the color scheme ID of this layout set.

Specified by:
getColorSchemeId in interface LayoutSetModel
Returns:
the color scheme ID of this layout set

setColorSchemeId

public void setColorSchemeId(String colorSchemeId)
Description copied from interface: LayoutSetModel
Sets the color scheme ID of this layout set.

Specified by:
setColorSchemeId in interface LayoutSetModel
Parameters:
colorSchemeId - the color scheme ID of this layout set

getWapThemeId

@JSON
public String getWapThemeId()
Description copied from interface: LayoutSetModel
Returns the wap theme ID of this layout set.

Specified by:
getWapThemeId in interface LayoutSetModel
Returns:
the wap theme ID of this layout set

setWapThemeId

public void setWapThemeId(String wapThemeId)
Description copied from interface: LayoutSetModel
Sets the wap theme ID of this layout set.

Specified by:
setWapThemeId in interface LayoutSetModel
Parameters:
wapThemeId - the wap theme ID of this layout set

getWapColorSchemeId

@JSON
public String getWapColorSchemeId()
Description copied from interface: LayoutSetModel
Returns the wap color scheme ID of this layout set.

Specified by:
getWapColorSchemeId in interface LayoutSetModel
Returns:
the wap color scheme ID of this layout set

setWapColorSchemeId

public void setWapColorSchemeId(String wapColorSchemeId)
Description copied from interface: LayoutSetModel
Sets the wap color scheme ID of this layout set.

Specified by:
setWapColorSchemeId in interface LayoutSetModel
Parameters:
wapColorSchemeId - the wap color scheme ID of this layout set

getCss

@JSON
public String getCss()
Description copied from interface: LayoutSetModel
Returns the css of this layout set.

Specified by:
getCss in interface LayoutSetModel
Returns:
the css of this layout set

setCss

public void setCss(String css)
Description copied from interface: LayoutSetModel
Sets the css of this layout set.

Specified by:
setCss in interface LayoutSetModel
Parameters:
css - the css of this layout set

getPageCount

@JSON
public int getPageCount()
Description copied from interface: LayoutSetModel
Returns the page count of this layout set.

Specified by:
getPageCount in interface LayoutSetModel
Returns:
the page count of this layout set

setPageCount

public void setPageCount(int pageCount)
Description copied from interface: LayoutSetModel
Sets the page count of this layout set.

Specified by:
setPageCount in interface LayoutSetModel
Parameters:
pageCount - the page count of this layout set

getSettings

@JSON
public String getSettings()
Description copied from interface: LayoutSetModel
Returns the settings of this layout set.

Specified by:
getSettings in interface LayoutSetModel
Returns:
the settings of this layout set

setSettings

public void setSettings(String settings)
Description copied from interface: LayoutSetModel
Sets the settings of this layout set.

Specified by:
setSettings in interface LayoutSetModel
Parameters:
settings - the settings of this layout set

getLayoutSetPrototypeUuid

@JSON
public String getLayoutSetPrototypeUuid()
Description copied from interface: LayoutSetModel
Returns the layout set prototype uuid of this layout set.

Specified by:
getLayoutSetPrototypeUuid in interface LayoutSetModel
Returns:
the layout set prototype uuid of this layout set

setLayoutSetPrototypeUuid

public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Description copied from interface: LayoutSetModel
Sets the layout set prototype uuid of this layout set.

Specified by:
setLayoutSetPrototypeUuid in interface LayoutSetModel
Parameters:
layoutSetPrototypeUuid - the layout set prototype uuid of this layout set

getOriginalLayoutSetPrototypeUuid

public String getOriginalLayoutSetPrototypeUuid()

getLayoutSetPrototypeLinkEnabled

@JSON
public boolean getLayoutSetPrototypeLinkEnabled()
Description copied from interface: LayoutSetModel
Returns the layout set prototype link enabled of this layout set.

Specified by:
getLayoutSetPrototypeLinkEnabled in interface LayoutSetModel
Returns:
the layout set prototype link enabled of this layout set

isLayoutSetPrototypeLinkEnabled

public boolean isLayoutSetPrototypeLinkEnabled()
Description copied from interface: LayoutSetModel
Returns true if this layout set is layout set prototype link enabled.

Specified by:
isLayoutSetPrototypeLinkEnabled in interface LayoutSetModel
Returns:
true if this layout set is layout set prototype link enabled; false otherwise

setLayoutSetPrototypeLinkEnabled

public void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
Description copied from interface: LayoutSetModel
Sets whether this layout set is layout set prototype link enabled.

Specified by:
setLayoutSetPrototypeLinkEnabled in interface LayoutSetModel
Parameters:
layoutSetPrototypeLinkEnabled - the layout set prototype link enabled of this layout set

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<LayoutSet>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface LayoutSetModel
Overrides:
getExpandoBridge in class BaseModelImpl<LayoutSet>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>
Specified by:
setExpandoBridgeAttributes in interface LayoutSetModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<LayoutSet>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public LayoutSet toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<LayoutSet>
Specified by:
toEscapedModel in interface LayoutSetModel
Overrides:
toEscapedModel in class BaseModelImpl<LayoutSet>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public LayoutSet toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<LayoutSet>
Specified by:
toUnescapedModel in interface LayoutSetModel
Overrides:
toUnescapedModel in class BaseModelImpl<LayoutSet>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<LayoutSet>
Specified by:
clone in interface LayoutSetModel
Specified by:
clone in class BaseModelImpl<LayoutSet>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(LayoutSet layoutSet)
Specified by:
compareTo in interface LayoutSetModel
Specified by:
compareTo in interface Comparable<LayoutSet>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface LayoutSetModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<LayoutSet>
Overrides:
resetOriginalValues in class BaseModelImpl<LayoutSet>

toCacheModel

public CacheModel<LayoutSet> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<LayoutSet>
Specified by:
toCacheModel in interface LayoutSetModel
Overrides:
toCacheModel in class BaseModelImpl<LayoutSet>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface LayoutSetModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<LayoutSet>
Specified by:
toXmlString in interface LayoutSetModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3