Liferay 6.0.3

com.liferay.portal.model.impl
Class LayoutModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Layout>
      extended by com.liferay.portal.model.impl.LayoutModelImpl
All Implemented Interfaces:
BaseModel<Layout>, LayoutModel, Serializable, Cloneable, Comparable<Layout>
Direct Known Subclasses:
LayoutImpl

public class LayoutModelImpl
extends BaseModelImpl<Layout>
implements LayoutModel

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

See Also:
LayoutImpl, Layout, LayoutModel, 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 ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
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
LayoutModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Layout layout)
           
 boolean equals(Object obj)
           
 String getColorSchemeId()
           
 long getCompanyId()
           
 String getCss()
           
 String getDescription()
           
 long getDlFolderId()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getFriendlyURL()
           
 long getGroupId()
           
 boolean getHidden()
           
 boolean getIconImage()
           
 long getIconImageId()
           
 long getLayoutId()
           
 long getLayoutPrototypeId()
           
 String getName()
           
 long getOriginalDlFolderId()
           
 String getOriginalFriendlyURL()
           
 long getOriginalGroupId()
           
 long getOriginalIconImageId()
           
 long getOriginalLayoutId()
           
 boolean getOriginalPrivateLayout()
           
 String getOriginalUuid()
           
 long getParentLayoutId()
           
 long getPlid()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 int getPriority()
           
 boolean getPrivateLayout()
           
 String getThemeId()
           
 String getTitle()
           
 String getType()
           
 String getTypeSettings()
           
 String getUuid()
           
 String getWapColorSchemeId()
           
 String getWapThemeId()
           
 int hashCode()
           
 boolean isHidden()
           
 boolean isIconImage()
           
 boolean isPrivateLayout()
           
 void setColorSchemeId(String colorSchemeId)
           
 void setCompanyId(long companyId)
           
 void setCss(String css)
           
 void setDescription(String description)
           
 void setDlFolderId(long dlFolderId)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFriendlyURL(String friendlyURL)
           
 void setGroupId(long groupId)
           
 void setHidden(boolean hidden)
           
 void setIconImage(boolean iconImage)
           
 void setIconImageId(long iconImageId)
           
 void setLayoutId(long layoutId)
           
 void setLayoutPrototypeId(long layoutPrototypeId)
           
 void setName(String name)
           
 void setParentLayoutId(long parentLayoutId)
           
 void setPlid(long plid)
           
 void setPrimaryKey(long pk)
           
 void setPriority(int priority)
           
 void setPrivateLayout(boolean privateLayout)
           
 void setThemeId(String themeId)
           
 void setTitle(String title)
           
 void setType(String type)
           
 void setTypeSettings(String typeSettings)
           
 void setUuid(String uuid)
           
 void setWapColorSchemeId(String wapColorSchemeId)
           
 void setWapThemeId(String wapThemeId)
           
 Layout toEscapedModel()
           
static Layout toModel(LayoutSoap soapModel)
           
static List<Layout> toModels(LayoutSoap[] 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.LayoutModel
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

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

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

LayoutModelImpl

public LayoutModelImpl()
Method Detail

toModel

public static Layout toModel(LayoutSoap soapModel)

toModels

public static List<Layout> toModels(LayoutSoap[] soapModels)

getPrimaryKey

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

setPrimaryKey

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<Layout>
Specified by:
getPrimaryKeyObj in interface LayoutModel
Returns:
the primary key

getUuid

public String getUuid()
Specified by:
getUuid in interface LayoutModel

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface LayoutModel

getOriginalUuid

public String getOriginalUuid()

getPlid

public long getPlid()
Specified by:
getPlid in interface LayoutModel

setPlid

public void setPlid(long plid)
Specified by:
setPlid in interface LayoutModel

getGroupId

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

setGroupId

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

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

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

setCompanyId

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

getPrivateLayout

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

isPrivateLayout

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

setPrivateLayout

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

getOriginalPrivateLayout

public boolean getOriginalPrivateLayout()

getLayoutId

public long getLayoutId()
Specified by:
getLayoutId in interface LayoutModel

setLayoutId

public void setLayoutId(long layoutId)
Specified by:
setLayoutId in interface LayoutModel

getOriginalLayoutId

public long getOriginalLayoutId()

getParentLayoutId

public long getParentLayoutId()
Specified by:
getParentLayoutId in interface LayoutModel

setParentLayoutId

public void setParentLayoutId(long parentLayoutId)
Specified by:
setParentLayoutId in interface LayoutModel

getName

public String getName()
Specified by:
getName in interface LayoutModel

setName

public void setName(String name)
Specified by:
setName in interface LayoutModel

getTitle

public String getTitle()
Specified by:
getTitle in interface LayoutModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface LayoutModel

getDescription

public String getDescription()
Specified by:
getDescription in interface LayoutModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface LayoutModel

getType

public String getType()
Specified by:
getType in interface LayoutModel

setType

public void setType(String type)
Specified by:
setType in interface LayoutModel

getTypeSettings

public String getTypeSettings()
Specified by:
getTypeSettings in interface LayoutModel

setTypeSettings

public void setTypeSettings(String typeSettings)
Specified by:
setTypeSettings in interface LayoutModel

getHidden

public boolean getHidden()
Specified by:
getHidden in interface LayoutModel

isHidden

public boolean isHidden()
Specified by:
isHidden in interface LayoutModel

setHidden

public void setHidden(boolean hidden)
Specified by:
setHidden in interface LayoutModel

getFriendlyURL

public String getFriendlyURL()
Specified by:
getFriendlyURL in interface LayoutModel

setFriendlyURL

public void setFriendlyURL(String friendlyURL)
Specified by:
setFriendlyURL in interface LayoutModel

getOriginalFriendlyURL

public String getOriginalFriendlyURL()

getIconImage

public boolean getIconImage()
Specified by:
getIconImage in interface LayoutModel

isIconImage

public boolean isIconImage()
Specified by:
isIconImage in interface LayoutModel

setIconImage

public void setIconImage(boolean iconImage)
Specified by:
setIconImage in interface LayoutModel

getIconImageId

public long getIconImageId()
Specified by:
getIconImageId in interface LayoutModel

setIconImageId

public void setIconImageId(long iconImageId)
Specified by:
setIconImageId in interface LayoutModel

getOriginalIconImageId

public long getOriginalIconImageId()

getThemeId

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

setThemeId

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

getColorSchemeId

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

setColorSchemeId

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

getWapThemeId

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

setWapThemeId

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

getWapColorSchemeId

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

setWapColorSchemeId

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

getCss

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

setCss

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

getPriority

public int getPriority()
Specified by:
getPriority in interface LayoutModel

setPriority

public void setPriority(int priority)
Specified by:
setPriority in interface LayoutModel

getLayoutPrototypeId

public long getLayoutPrototypeId()
Specified by:
getLayoutPrototypeId in interface LayoutModel

setLayoutPrototypeId

public void setLayoutPrototypeId(long layoutPrototypeId)
Specified by:
setLayoutPrototypeId in interface LayoutModel

getDlFolderId

public long getDlFolderId()
Specified by:
getDlFolderId in interface LayoutModel

setDlFolderId

public void setDlFolderId(long dlFolderId)
Specified by:
setDlFolderId in interface LayoutModel

getOriginalDlFolderId

public long getOriginalDlFolderId()

toEscapedModel

public Layout toEscapedModel()
Specified by:
toEscapedModel in interface LayoutModel

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<Layout>
Specified by:
getExpandoBridge in interface LayoutModel
Overrides:
getExpandoBridge in class BaseModelImpl<Layout>
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<Layout>
Specified by:
setExpandoBridgeAttributes in interface LayoutModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<Layout>
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<Layout>
Specified by:
clone in interface LayoutModel
Specified by:
clone in class BaseModelImpl<Layout>
Returns:
the clone

compareTo

public int compareTo(Layout layout)
Specified by:
compareTo in interface LayoutModel
Specified by:
compareTo in interface Comparable<Layout>

equals

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

hashCode

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

toString

public String toString()
Specified by:
toString in interface LayoutModel
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<Layout>
Specified by:
toXmlString in interface LayoutModel
Returns:
the XML representation of this model instance

Liferay 6.0.3