|
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.LayoutWrapper
public class LayoutWrapper
This class is a wrapper for Layout.
Layout,
Serialized Form| Constructor Summary | |
|---|---|
LayoutWrapper(Layout layout)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Layout layout)
|
List<Layout> |
getAllChildren()
|
long |
getAncestorLayoutId()
|
long |
getAncestorPlid()
|
List<Layout> |
getAncestors()
|
List<Layout> |
getChildren()
|
List<Layout> |
getChildren(PermissionChecker permissionChecker)
|
ColorScheme |
getColorScheme()
|
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 |
getCssText()
|
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. |
Group |
getGroup()
|
long |
getGroupId()
Gets the group id of this layout. |
boolean |
getHidden()
Gets the hidden of this layout. |
String |
getHTMLTitle(Locale locale)
|
String |
getHTMLTitle(String localeLanguageId)
|
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. |
LayoutSet |
getLayoutSet()
|
LayoutType |
getLayoutType()
|
String |
getName()
Gets the name of this layout. |
String |
getName(Locale locale)
|
String |
getName(Locale locale,
boolean useDefault)
|
String |
getName(String localeLanguageId)
|
String |
getName(String localeLanguageId,
boolean useDefault)
|
long |
getParentLayoutId()
Gets the parent layout id of this layout. |
long |
getParentPlid()
|
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 |
getRegularURL(javax.servlet.http.HttpServletRequest request)
|
String |
getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
|
String |
getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
|
Group |
getScopeGroup()
|
String |
getTarget()
|
Theme |
getTheme()
|
String |
getThemeId()
Gets the theme id of this layout. |
String |
getTitle()
Gets the title of this layout. |
String |
getTitle(Locale locale)
|
String |
getTitle(Locale locale,
boolean useDefault)
|
String |
getTitle(String localeLanguageId)
|
String |
getTitle(String localeLanguageId,
boolean useDefault)
|
String |
getType()
Gets the type of this layout. |
String |
getTypeSettings()
Gets the type settings of this layout. |
UnicodeProperties |
getTypeSettingsProperties()
|
String |
getUuid()
Gets the uuid of this layout. |
ColorScheme |
getWapColorScheme()
|
String |
getWapColorSchemeId()
Gets the wap color scheme id of this layout. |
Theme |
getWapTheme()
|
String |
getWapThemeId()
Gets the wap theme id of this layout. |
Layout |
getWrappedLayout()
|
boolean |
hasAncestor(long layoutId)
|
boolean |
hasChildren()
|
int |
hashCode()
|
boolean |
hasScopeGroup()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isChildSelected(boolean selectable,
Layout layout)
|
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isFirstChild()
|
boolean |
isFirstParent()
|
boolean |
isHidden()
Determines whether this layout is hidden. |
boolean |
isIconImage()
Determines whether this layout is icon image. |
boolean |
isInheritLookAndFeel()
|
boolean |
isInheritWapLookAndFeel()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrivateLayout()
Determines whether this layout is private layout. |
boolean |
isPublicLayout()
|
boolean |
isRootLayout()
|
boolean |
isSelected(boolean selectable,
Layout layout,
long ancestorPlid)
|
boolean |
isTypeArticle()
|
boolean |
isTypeControlPanel()
|
boolean |
isTypeEmbedded()
|
boolean |
isTypeLinkToLayout()
|
boolean |
isTypePanel()
|
boolean |
isTypePortlet()
|
boolean |
isTypeURL()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
setName(String name,
Locale locale)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 |
setTitle(String title,
Locale locale)
|
void |
setType(String type)
Sets the type of this layout. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this layout. |
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
|
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. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutWrapper(Layout layout)
| Method Detail |
|---|
public long getPrimaryKey()
LayoutModel
getPrimaryKey in interface LayoutModelpublic void setPrimaryKey(long pk)
LayoutModel
setPrimaryKey in interface LayoutModelpk - the primary key of this layoutpublic String getUuid()
LayoutModel
getUuid in interface LayoutModelpublic void setUuid(String uuid)
LayoutModel
setUuid in interface LayoutModeluuid - the uuid of this layoutpublic 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 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 long getLayoutId()
LayoutModel
getLayoutId in interface LayoutModelpublic void setLayoutId(long layoutId)
LayoutModel
setLayoutId in interface LayoutModellayoutId - the layout id of this layoutpublic 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 LayoutgetTypeSettings in interface LayoutModelpublic void setTypeSettings(String typeSettings)
LayoutModel
setTypeSettings in interface LayoutsetTypeSettings 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 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 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 Layout toEscapedModel()
LayoutModelAutoEscapeBeanHandler.
toEscapedModel in interface LayoutModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Layout>isNew in interface LayoutModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Layout>setNew in interface LayoutModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Layout>isCachedModel in interface LayoutModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Layout>setCachedModel in interface LayoutModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Layout>isEscapedModel in interface LayoutModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Layout>setEscapedModel in interface LayoutModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Layout>getPrimaryKeyObj in interface LayoutModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Layout>getExpandoBridge in interface LayoutModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Layout>setExpandoBridgeAttributes in interface LayoutModelserviceContext - 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 Objectpublic int compareTo(Layout layout)
compareTo in interface LayoutModelcompareTo in interface Comparable<Layout>public 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
public List<Layout> getAllChildren()
throws SystemException
getAllChildren in interface LayoutSystemException
public long getAncestorLayoutId()
throws PortalException,
SystemException
getAncestorLayoutId in interface LayoutPortalException
SystemException
public long getAncestorPlid()
throws PortalException,
SystemException
getAncestorPlid in interface LayoutPortalException
SystemException
public List<Layout> getAncestors()
throws PortalException,
SystemException
getAncestors in interface LayoutPortalException
SystemException
public List<Layout> getChildren()
throws SystemException
getChildren in interface LayoutSystemException
public List<Layout> getChildren(PermissionChecker permissionChecker)
throws PortalException,
SystemException
getChildren in interface LayoutPortalException
SystemException
public ColorScheme getColorScheme()
throws PortalException,
SystemException
getColorScheme in interface LayoutPortalException
SystemException
public String getCssText()
throws PortalException,
SystemException
getCssText in interface LayoutPortalException
SystemException
public Group getGroup()
throws PortalException,
SystemException
getGroup in interface LayoutPortalException
SystemExceptionpublic String getHTMLTitle(Locale locale)
getHTMLTitle in interface Layoutpublic String getHTMLTitle(String localeLanguageId)
getHTMLTitle in interface Layout
public LayoutSet getLayoutSet()
throws PortalException,
SystemException
getLayoutSet in interface LayoutPortalException
SystemExceptionpublic LayoutType getLayoutType()
getLayoutType in interface Layoutpublic String getName(Locale locale)
getName in interface Layout
public String getName(Locale locale,
boolean useDefault)
getName in interface Layoutpublic String getName(String localeLanguageId)
getName in interface Layout
public String getName(String localeLanguageId,
boolean useDefault)
getName in interface Layout
public long getParentPlid()
throws PortalException,
SystemException
getParentPlid in interface LayoutPortalException
SystemException
public String getRegularURL(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getRegularURL in interface LayoutPortalException
SystemException
public String getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getResetLayoutURL in interface LayoutPortalException
SystemException
public String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getResetMaxStateURL in interface LayoutPortalException
SystemException
public Group getScopeGroup()
throws PortalException,
SystemException
getScopeGroup in interface LayoutPortalException
SystemExceptionpublic String getTarget()
getTarget in interface Layout
public Theme getTheme()
throws PortalException,
SystemException
getTheme in interface LayoutPortalException
SystemExceptionpublic String getTitle(Locale locale)
getTitle in interface Layout
public String getTitle(Locale locale,
boolean useDefault)
getTitle in interface Layoutpublic String getTitle(String localeLanguageId)
getTitle in interface Layout
public String getTitle(String localeLanguageId,
boolean useDefault)
getTitle in interface Layoutpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface Layout
public ColorScheme getWapColorScheme()
throws PortalException,
SystemException
getWapColorScheme in interface LayoutPortalException
SystemException
public Theme getWapTheme()
throws PortalException,
SystemException
getWapTheme in interface LayoutPortalException
SystemException
public boolean hasAncestor(long layoutId)
throws PortalException,
SystemException
hasAncestor in interface LayoutPortalException
SystemException
public boolean hasChildren()
throws SystemException
hasChildren in interface LayoutSystemException
public boolean hasScopeGroup()
throws PortalException,
SystemException
hasScopeGroup in interface LayoutPortalException
SystemException
public boolean isChildSelected(boolean selectable,
Layout layout)
throws PortalException,
SystemException
isChildSelected in interface LayoutPortalException
SystemExceptionpublic boolean isFirstChild()
isFirstChild in interface Layoutpublic boolean isFirstParent()
isFirstParent in interface Layoutpublic boolean isInheritLookAndFeel()
isInheritLookAndFeel in interface Layoutpublic boolean isInheritWapLookAndFeel()
isInheritWapLookAndFeel in interface Layoutpublic boolean isPublicLayout()
isPublicLayout in interface Layoutpublic boolean isRootLayout()
isRootLayout in interface Layout
public boolean isSelected(boolean selectable,
Layout layout,
long ancestorPlid)
isSelected in interface Layoutpublic boolean isTypeArticle()
isTypeArticle in interface Layoutpublic boolean isTypeControlPanel()
isTypeControlPanel in interface Layoutpublic boolean isTypeEmbedded()
isTypeEmbedded in interface Layoutpublic boolean isTypeLinkToLayout()
isTypeLinkToLayout in interface Layoutpublic boolean isTypePanel()
isTypePanel in interface Layoutpublic boolean isTypePortlet()
isTypePortlet in interface Layoutpublic boolean isTypeURL()
isTypeURL in interface Layout
public void setName(String name,
Locale locale)
setName in interface Layout
public void setTitle(String title,
Locale locale)
setTitle in interface Layoutpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface Layoutpublic Layout getWrappedLayout()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||