Liferay 6.0.3

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>, LayoutSetModel, Serializable, Cloneable, Comparable<LayoutSet>
Direct Known Subclasses:
LayoutSetImpl

public class LayoutSetModelImpl
extends BaseModelImpl<LayoutSet>
implements LayoutSetModel

This interface is a model that represents the LayoutSet table in the database.

See Also:
LayoutSetImpl, LayoutSet, LayoutSetModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
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()
           
 long getCompanyId()
           
 String getCss()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
           
 long getLayoutSetId()
           
 long getLayoutSetPrototypeId()
           
 boolean getLogo()
           
 long getLogoId()
           
 long getOriginalGroupId()
           
 boolean getOriginalPrivateLayout()
           
 String getOriginalVirtualHost()
           
 int getPageCount()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 boolean getPrivateLayout()
           
 String getSettings()
           
 String getThemeId()
           
 String getVirtualHost()
           
 String getWapColorSchemeId()
           
 String getWapThemeId()
           
 int hashCode()
           
 boolean isLogo()
           
 boolean isPrivateLayout()
           
 void setColorSchemeId(String colorSchemeId)
           
 void setCompanyId(long companyId)
           
 void setCss(String css)
           
 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)
           
 void setLayoutSetId(long layoutSetId)
           
 void setLayoutSetPrototypeId(long layoutSetPrototypeId)
           
 void setLogo(boolean logo)
           
 void setLogoId(long logoId)
           
 void setPageCount(int pageCount)
           
 void setPrimaryKey(long pk)
           
 void setPrivateLayout(boolean privateLayout)
           
 void setSettings(String settings)
           
 void setThemeId(String themeId)
           
 void setVirtualHost(String virtualHost)
           
 void setWapColorSchemeId(String wapColorSchemeId)
           
 void setWapThemeId(String wapThemeId)
           
 LayoutSet toEscapedModel()
           
static LayoutSet toModel(LayoutSetSoap soapModel)
           
static List<LayoutSet> toModels(LayoutSetSoap[] soapModels)
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

LayoutSetModelImpl

public LayoutSetModelImpl()
Method Detail

toModel

public static LayoutSet toModel(LayoutSetSoap soapModel)

toModels

public static List<LayoutSet> toModels(LayoutSetSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface LayoutSetModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface LayoutSetModel

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<LayoutSet>
Specified by:
getPrimaryKeyObj in interface LayoutSetModel
Returns:
the primary key

getLayoutSetId

public long getLayoutSetId()
Specified by:
getLayoutSetId in interface LayoutSetModel

setLayoutSetId

public void setLayoutSetId(long layoutSetId)
Specified by:
setLayoutSetId in interface LayoutSetModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface LayoutSetModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface LayoutSetModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface LayoutSetModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface LayoutSetModel

getPrivateLayout

public boolean getPrivateLayout()
Specified by:
getPrivateLayout in interface LayoutSetModel

isPrivateLayout

public boolean isPrivateLayout()
Specified by:
isPrivateLayout in interface LayoutSetModel

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Specified by:
setPrivateLayout in interface LayoutSetModel

getOriginalPrivateLayout

public boolean getOriginalPrivateLayout()

getLogo

public boolean getLogo()
Specified by:
getLogo in interface LayoutSetModel

isLogo

public boolean isLogo()
Specified by:
isLogo in interface LayoutSetModel

setLogo

public void setLogo(boolean logo)
Specified by:
setLogo in interface LayoutSetModel

getLogoId

public long getLogoId()
Specified by:
getLogoId in interface LayoutSetModel

setLogoId

public void setLogoId(long logoId)
Specified by:
setLogoId in interface LayoutSetModel

getThemeId

public String getThemeId()
Specified by:
getThemeId in interface LayoutSetModel

setThemeId

public void setThemeId(String themeId)
Specified by:
setThemeId in interface LayoutSetModel

getColorSchemeId

public String getColorSchemeId()
Specified by:
getColorSchemeId in interface LayoutSetModel

setColorSchemeId

public void setColorSchemeId(String colorSchemeId)
Specified by:
setColorSchemeId in interface LayoutSetModel

getWapThemeId

public String getWapThemeId()
Specified by:
getWapThemeId in interface LayoutSetModel

setWapThemeId

public void setWapThemeId(String wapThemeId)
Specified by:
setWapThemeId in interface LayoutSetModel

getWapColorSchemeId

public String getWapColorSchemeId()
Specified by:
getWapColorSchemeId in interface LayoutSetModel

setWapColorSchemeId

public void setWapColorSchemeId(String wapColorSchemeId)
Specified by:
setWapColorSchemeId in interface LayoutSetModel

getCss

public String getCss()
Specified by:
getCss in interface LayoutSetModel

setCss

public void setCss(String css)
Specified by:
setCss in interface LayoutSetModel

getPageCount

public int getPageCount()
Specified by:
getPageCount in interface LayoutSetModel

setPageCount

public void setPageCount(int pageCount)
Specified by:
setPageCount in interface LayoutSetModel

getVirtualHost

public String getVirtualHost()
Specified by:
getVirtualHost in interface LayoutSetModel

setVirtualHost

public void setVirtualHost(String virtualHost)
Specified by:
setVirtualHost in interface LayoutSetModel

getOriginalVirtualHost

public String getOriginalVirtualHost()

getSettings

public String getSettings()
Specified by:
getSettings in interface LayoutSetModel

setSettings

public void setSettings(String settings)
Specified by:
setSettings in interface LayoutSetModel

getLayoutSetPrototypeId

public long getLayoutSetPrototypeId()
Specified by:
getLayoutSetPrototypeId in interface LayoutSetModel

setLayoutSetPrototypeId

public void setLayoutSetPrototypeId(long layoutSetPrototypeId)
Specified by:
setLayoutSetPrototypeId in interface LayoutSetModel

toEscapedModel

public LayoutSet toEscapedModel()
Specified by:
toEscapedModel in interface LayoutSetModel

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<LayoutSet>
Specified by:
getExpandoBridge in interface LayoutSetModel
Overrides:
getExpandoBridge in class BaseModelImpl<LayoutSet>
Returns:
the expando bridge

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 to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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 clone

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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets 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.0.3