|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 Form| 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()
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 LayoutModelpublic void setPrimaryKey(long pk)
LayoutModel
setPrimaryKey in interface LayoutModelpk - the primary key of this layoutpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Layout>getPrimaryKeyObj in interface LayoutModelpublic String getUuid()
LayoutModel
getUuid in interface LayoutModelpublic void setUuid(String uuid)
LayoutModel
setUuid in interface LayoutModeluuid - the uuid of this layoutpublic String getOriginalUuid()
public long getPlid()
LayoutModel
getPlid in interface LayoutModelpublic void setPlid(long plid)
LayoutModel
setPlid in interface LayoutModelplid - the plid of this layoutpublic long getGroupId()
LayoutModel
getGroupId in interface LayoutModelpublic void setGroupId(long groupId)
LayoutModel
setGroupId in interface LayoutModelgroupId - the group id of this layoutpublic long getOriginalGroupId()
public long getCompanyId()
LayoutModel
getCompanyId in interface LayoutModelpublic void setCompanyId(long companyId)
LayoutModel
setCompanyId in interface LayoutModelcompanyId - the company id of this layoutpublic boolean getPrivateLayout()
LayoutModel
getPrivateLayout in interface LayoutModelpublic boolean isPrivateLayout()
LayoutModel
isPrivateLayout in interface LayoutModelpublic void setPrivateLayout(boolean privateLayout)
LayoutModel
setPrivateLayout in interface LayoutModelprivateLayout - the private layout of this layoutpublic boolean getOriginalPrivateLayout()
public long getLayoutId()
LayoutModel
getLayoutId in interface LayoutModelpublic void setLayoutId(long layoutId)
LayoutModel
setLayoutId in interface LayoutModellayoutId - the layout id of this layoutpublic long getOriginalLayoutId()
public long getParentLayoutId()
LayoutModel
getParentLayoutId in interface LayoutModelpublic void setParentLayoutId(long parentLayoutId)
LayoutModel
setParentLayoutId in interface LayoutModelparentLayoutId - the parent layout id of this layoutpublic String getName()
LayoutModel
getName in interface LayoutModelpublic void setName(String name)
LayoutModel
setName in interface LayoutModelname - the name of this layoutpublic String getTitle()
LayoutModel
getTitle in interface LayoutModelpublic void setTitle(String title)
LayoutModel
setTitle in interface LayoutModeltitle - the title of this layoutpublic String getDescription()
LayoutModel
getDescription in interface LayoutModelpublic void setDescription(String description)
LayoutModel
setDescription in interface LayoutModeldescription - the description of this layoutpublic String getType()
LayoutModel
getType in interface LayoutModelpublic void setType(String type)
LayoutModel
setType in interface LayoutModeltype - the type of this layoutpublic String getTypeSettings()
LayoutModel
getTypeSettings in interface LayoutModelpublic void setTypeSettings(String typeSettings)
LayoutModel
setTypeSettings in interface LayoutModeltypeSettings - the type settings of this layoutpublic boolean getHidden()
LayoutModel
getHidden in interface LayoutModelpublic boolean isHidden()
LayoutModel
isHidden in interface LayoutModelpublic void setHidden(boolean hidden)
LayoutModel
setHidden in interface LayoutModelhidden - the hidden of this layoutpublic String getFriendlyURL()
LayoutModel
getFriendlyURL in interface LayoutModelpublic void setFriendlyURL(String friendlyURL)
LayoutModel
setFriendlyURL in interface LayoutModelfriendlyURL - the friendly u r l of this layoutpublic String getOriginalFriendlyURL()
public boolean getIconImage()
LayoutModel
getIconImage in interface LayoutModelpublic boolean isIconImage()
LayoutModel
isIconImage in interface LayoutModelpublic void setIconImage(boolean iconImage)
LayoutModel
setIconImage in interface LayoutModeliconImage - the icon image of this layoutpublic long getIconImageId()
LayoutModel
getIconImageId in interface LayoutModelpublic void setIconImageId(long iconImageId)
LayoutModel
setIconImageId in interface LayoutModeliconImageId - the icon image id of this layoutpublic long getOriginalIconImageId()
public String getThemeId()
LayoutModel
getThemeId in interface LayoutModelpublic void setThemeId(String themeId)
LayoutModel
setThemeId in interface LayoutModelthemeId - the theme id of this layoutpublic String getColorSchemeId()
LayoutModel
getColorSchemeId in interface LayoutModelpublic void setColorSchemeId(String colorSchemeId)
LayoutModel
setColorSchemeId in interface LayoutModelcolorSchemeId - the color scheme id of this layoutpublic String getWapThemeId()
LayoutModel
getWapThemeId in interface LayoutModelpublic void setWapThemeId(String wapThemeId)
LayoutModel
setWapThemeId in interface LayoutModelwapThemeId - the wap theme id of this layoutpublic String getWapColorSchemeId()
LayoutModel
getWapColorSchemeId in interface LayoutModelpublic void setWapColorSchemeId(String wapColorSchemeId)
LayoutModel
setWapColorSchemeId in interface LayoutModelwapColorSchemeId - the wap color scheme id of this layoutpublic String getCss()
LayoutModel
getCss in interface LayoutModelpublic void setCss(String css)
LayoutModel
setCss in interface LayoutModelcss - the css of this layoutpublic int getPriority()
LayoutModel
getPriority in interface LayoutModelpublic void setPriority(int priority)
LayoutModel
setPriority in interface LayoutModelpriority - the priority of this layoutpublic long getLayoutPrototypeId()
LayoutModel
getLayoutPrototypeId in interface LayoutModelpublic void setLayoutPrototypeId(long layoutPrototypeId)
LayoutModel
setLayoutPrototypeId in interface LayoutModellayoutPrototypeId - the layout prototype id of this layoutpublic long getDlFolderId()
LayoutModel
getDlFolderId in interface LayoutModelpublic void setDlFolderId(long dlFolderId)
LayoutModel
setDlFolderId in interface LayoutModeldlFolderId - the dl folder id of this layoutpublic long getOriginalDlFolderId()
public Layout toEscapedModel()
LayoutModelAutoEscapeBeanHandler.
toEscapedModel in interface LayoutModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Layout>getExpandoBridge in interface LayoutModelgetExpandoBridge in class BaseModelImpl<Layout>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Layout>setExpandoBridgeAttributes in interface LayoutModelsetExpandoBridgeAttributes 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 LayoutModelclone in class BaseModelImpl<Layout>public int compareTo(Layout layout)
compareTo in interface LayoutModelcompareTo in interface Comparable<Layout>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface LayoutModelhashCode in class Objectpublic String toString()
toString in interface LayoutModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Layout>toXmlString in interface LayoutModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||