|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<Layout> com.liferay.portal.model.impl.LayoutModelImpl
public class LayoutModelImpl
The base model implementation for the Layout service. Represents a row in the "Layout" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface LayoutModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutImpl
.
Never modify or reference this class directly. All methods that expect a layout model instance should use the Layout
interface instead.
LayoutImpl
,
Layout
,
LayoutModel
,
Serialized FormField 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()
Gets the color scheme id of this layout. |
long |
getCompanyId()
Gets the company id of this layout. |
String |
getCss()
Gets the css of this layout. |
String |
getDescription()
Gets the description of this layout. |
long |
getDlFolderId()
Gets the dl folder id of this layout. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFriendlyURL()
Gets the friendly u r l of this layout. |
long |
getGroupId()
Gets the group id of this layout. |
boolean |
getHidden()
Gets the hidden of this layout. |
boolean |
getIconImage()
Gets the icon image of this layout. |
long |
getIconImageId()
Gets the icon image id of this layout. |
long |
getLayoutId()
Gets the layout id of this layout. |
long |
getLayoutPrototypeId()
Gets the layout prototype id of this layout. |
String |
getName()
Gets the name of this layout. |
long |
getOriginalDlFolderId()
|
String |
getOriginalFriendlyURL()
|
long |
getOriginalGroupId()
|
long |
getOriginalIconImageId()
|
long |
getOriginalLayoutId()
|
boolean |
getOriginalPrivateLayout()
|
String |
getOriginalUuid()
|
long |
getParentLayoutId()
Gets the parent layout id of this layout. |
long |
getPlid()
Gets the plid of this layout. |
long |
getPrimaryKey()
Gets the primary key of this layout. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getPriority()
Gets the priority of this layout. |
boolean |
getPrivateLayout()
Gets the private layout of this layout. |
String |
getThemeId()
Gets the theme id of this layout. |
String |
getTitle()
Gets the title of this layout. |
String |
getType()
Gets the type of this layout. |
String |
getTypeSettings()
Gets the type settings of this layout. |
String |
getUuid()
Gets the uuid of this layout. |
String |
getWapColorSchemeId()
Gets the wap color scheme id of this layout. |
String |
getWapThemeId()
Gets the wap theme id of this layout. |
int |
hashCode()
|
boolean |
isHidden()
Determines whether this layout is hidden. |
boolean |
isIconImage()
Determines whether this layout is icon image. |
boolean |
isPrivateLayout()
Determines whether this layout is private layout. |
void |
setColorSchemeId(String colorSchemeId)
Sets the color scheme id of this layout. |
void |
setCompanyId(long companyId)
Sets the company id of this layout. |
void |
setCss(String css)
Sets the css of this layout. |
void |
setDescription(String description)
Sets the description of this layout. |
void |
setDlFolderId(long dlFolderId)
Sets the dl folder id of this layout. |
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)
Sets the friendly u r l of this layout. |
void |
setGroupId(long groupId)
Sets the group id of this layout. |
void |
setHidden(boolean hidden)
Sets whether this {$entity.humanName} is hidden. |
void |
setIconImage(boolean iconImage)
Sets whether this {$entity.humanName} is icon image. |
void |
setIconImageId(long iconImageId)
Sets the icon image id of this layout. |
void |
setLayoutId(long layoutId)
Sets the layout id of this layout. |
void |
setLayoutPrototypeId(long layoutPrototypeId)
Sets the layout prototype id of this layout. |
void |
setName(String name)
Sets the name of this layout. |
void |
setParentLayoutId(long parentLayoutId)
Sets the parent layout id of this layout. |
void |
setPlid(long plid)
Sets the plid of this layout. |
void |
setPrimaryKey(long pk)
Sets the primary key of this layout |
void |
setPriority(int priority)
Sets the priority of this layout. |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this {$entity.humanName} is private layout. |
void |
setThemeId(String themeId)
Sets the theme id of this layout. |
void |
setTitle(String title)
Sets the title of this layout. |
void |
setType(String type)
Sets the type of this layout. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this layout. |
void |
setUuid(String uuid)
Sets the uuid of this layout. |
void |
setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme id of this layout. |
void |
setWapThemeId(String wapThemeId)
Sets the wap theme id of this layout. |
Layout |
toEscapedModel()
Gets a copy of this layout as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static Layout |
toModel(LayoutSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Layout> |
toModels(LayoutSoap[] soapModels)
Converts the soap model instances into normal model instances. |
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 |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public LayoutModelImpl()
Method Detail |
---|
public static Layout toModel(LayoutSoap soapModel)
soapModel
- the soap model instance to convert
public static List<Layout> toModels(LayoutSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
LayoutModel
getPrimaryKey
in interface LayoutModel
public void setPrimaryKey(long pk)
LayoutModel
setPrimaryKey
in interface LayoutModel
pk
- the primary key of this layoutpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Layout>
getPrimaryKeyObj
in interface LayoutModel
public String getUuid()
LayoutModel
getUuid
in interface LayoutModel
public void setUuid(String uuid)
LayoutModel
setUuid
in interface LayoutModel
uuid
- the uuid of this layoutpublic String getOriginalUuid()
public long getPlid()
LayoutModel
getPlid
in interface LayoutModel
public void setPlid(long plid)
LayoutModel
setPlid
in interface LayoutModel
plid
- the plid of this layoutpublic long getGroupId()
LayoutModel
getGroupId
in interface LayoutModel
public void setGroupId(long groupId)
LayoutModel
setGroupId
in interface LayoutModel
groupId
- the group id of this layoutpublic long getOriginalGroupId()
public long getCompanyId()
LayoutModel
getCompanyId
in interface LayoutModel
public void setCompanyId(long companyId)
LayoutModel
setCompanyId
in interface LayoutModel
companyId
- the company id of this layoutpublic boolean getPrivateLayout()
LayoutModel
getPrivateLayout
in interface LayoutModel
public boolean isPrivateLayout()
LayoutModel
isPrivateLayout
in interface LayoutModel
public void setPrivateLayout(boolean privateLayout)
LayoutModel
setPrivateLayout
in interface LayoutModel
privateLayout
- the private layout of this layoutpublic boolean getOriginalPrivateLayout()
public long getLayoutId()
LayoutModel
getLayoutId
in interface LayoutModel
public void setLayoutId(long layoutId)
LayoutModel
setLayoutId
in interface LayoutModel
layoutId
- the layout id of this layoutpublic long getOriginalLayoutId()
public long getParentLayoutId()
LayoutModel
getParentLayoutId
in interface LayoutModel
public void setParentLayoutId(long parentLayoutId)
LayoutModel
setParentLayoutId
in interface LayoutModel
parentLayoutId
- the parent layout id of this layoutpublic String getName()
LayoutModel
getName
in interface LayoutModel
public void setName(String name)
LayoutModel
setName
in interface LayoutModel
name
- the name of this layoutpublic String getTitle()
LayoutModel
getTitle
in interface LayoutModel
public void setTitle(String title)
LayoutModel
setTitle
in interface LayoutModel
title
- the title of this layoutpublic String getDescription()
LayoutModel
getDescription
in interface LayoutModel
public void setDescription(String description)
LayoutModel
setDescription
in interface LayoutModel
description
- the description of this layoutpublic String getType()
LayoutModel
getType
in interface LayoutModel
public void setType(String type)
LayoutModel
setType
in interface LayoutModel
type
- the type of this layoutpublic String getTypeSettings()
LayoutModel
getTypeSettings
in interface LayoutModel
public void setTypeSettings(String typeSettings)
LayoutModel
setTypeSettings
in interface LayoutModel
typeSettings
- the type settings of this layoutpublic boolean getHidden()
LayoutModel
getHidden
in interface LayoutModel
public boolean isHidden()
LayoutModel
isHidden
in interface LayoutModel
public void setHidden(boolean hidden)
LayoutModel
setHidden
in interface LayoutModel
hidden
- the hidden of this layoutpublic String getFriendlyURL()
LayoutModel
getFriendlyURL
in interface LayoutModel
public void setFriendlyURL(String friendlyURL)
LayoutModel
setFriendlyURL
in interface LayoutModel
friendlyURL
- the friendly u r l of this layoutpublic String getOriginalFriendlyURL()
public boolean getIconImage()
LayoutModel
getIconImage
in interface LayoutModel
public boolean isIconImage()
LayoutModel
isIconImage
in interface LayoutModel
public void setIconImage(boolean iconImage)
LayoutModel
setIconImage
in interface LayoutModel
iconImage
- the icon image of this layoutpublic long getIconImageId()
LayoutModel
getIconImageId
in interface LayoutModel
public void setIconImageId(long iconImageId)
LayoutModel
setIconImageId
in interface LayoutModel
iconImageId
- the icon image id of this layoutpublic long getOriginalIconImageId()
public String getThemeId()
LayoutModel
getThemeId
in interface LayoutModel
public void setThemeId(String themeId)
LayoutModel
setThemeId
in interface LayoutModel
themeId
- the theme id of this layoutpublic String getColorSchemeId()
LayoutModel
getColorSchemeId
in interface LayoutModel
public void setColorSchemeId(String colorSchemeId)
LayoutModel
setColorSchemeId
in interface LayoutModel
colorSchemeId
- the color scheme id of this layoutpublic String getWapThemeId()
LayoutModel
getWapThemeId
in interface LayoutModel
public void setWapThemeId(String wapThemeId)
LayoutModel
setWapThemeId
in interface LayoutModel
wapThemeId
- the wap theme id of this layoutpublic String getWapColorSchemeId()
LayoutModel
getWapColorSchemeId
in interface LayoutModel
public void setWapColorSchemeId(String wapColorSchemeId)
LayoutModel
setWapColorSchemeId
in interface LayoutModel
wapColorSchemeId
- the wap color scheme id of this layoutpublic String getCss()
LayoutModel
getCss
in interface LayoutModel
public void setCss(String css)
LayoutModel
setCss
in interface LayoutModel
css
- the css of this layoutpublic int getPriority()
LayoutModel
getPriority
in interface LayoutModel
public void setPriority(int priority)
LayoutModel
setPriority
in interface LayoutModel
priority
- the priority of this layoutpublic long getLayoutPrototypeId()
LayoutModel
getLayoutPrototypeId
in interface LayoutModel
public void setLayoutPrototypeId(long layoutPrototypeId)
LayoutModel
setLayoutPrototypeId
in interface LayoutModel
layoutPrototypeId
- the layout prototype id of this layoutpublic long getDlFolderId()
LayoutModel
getDlFolderId
in interface LayoutModel
public void setDlFolderId(long dlFolderId)
LayoutModel
setDlFolderId
in interface LayoutModel
dlFolderId
- the dl folder id of this layoutpublic long getOriginalDlFolderId()
public Layout toEscapedModel()
LayoutModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface LayoutModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Layout>
getExpandoBridge
in interface LayoutModel
getExpandoBridge
in class BaseModelImpl<Layout>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Layout>
setExpandoBridgeAttributes
in interface LayoutModel
setExpandoBridgeAttributes
in class BaseModelImpl<Layout>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<Layout>
clone
in interface LayoutModel
clone
in class BaseModelImpl<Layout>
public int compareTo(Layout layout)
compareTo
in interface LayoutModel
compareTo
in interface Comparable<Layout>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface LayoutModel
hashCode
in class Object
public String toString()
toString
in interface LayoutModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Layout>
toXmlString
in interface LayoutModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |