Liferay 6.0-ee

com.liferay.portal.model
Class LayoutWrapper

java.lang.Object
  extended by com.liferay.portal.model.LayoutWrapper
All Implemented Interfaces:
BaseModel<Layout>, Layout, LayoutModel, Serializable, Cloneable, Comparable<Layout>

public class LayoutWrapper
extends Object
implements Layout

This class is a wrapper for Layout.

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

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 entity 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

LayoutWrapper

public LayoutWrapper(Layout layout)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Gets the primary key of this layout.

Specified by:
getPrimaryKey in interface LayoutModel
Returns:
the primary key of this layout

setPrimaryKey

public void setPrimaryKey(long pk)
Sets the primary key of this layout

Specified by:
setPrimaryKey in interface LayoutModel
Parameters:
pk - the primary key of this layout

getUuid

public String getUuid()
Gets the uuid of this layout.

Specified by:
getUuid in interface LayoutModel
Returns:
the uuid of this layout

setUuid

public void setUuid(String uuid)
Sets the uuid of this layout.

Specified by:
setUuid in interface LayoutModel
Parameters:
uuid - the uuid of this layout

getPlid

public long getPlid()
Gets the plid of this layout.

Specified by:
getPlid in interface LayoutModel
Returns:
the plid of this layout

setPlid

public void setPlid(long plid)
Sets the plid of this layout.

Specified by:
setPlid in interface LayoutModel
Parameters:
plid - the plid of this layout

getGroupId

public long getGroupId()
Gets the group id of this layout.

Specified by:
getGroupId in interface LayoutModel
Returns:
the group id of this layout

setGroupId

public void setGroupId(long groupId)
Sets the group id of this layout.

Specified by:
setGroupId in interface LayoutModel
Parameters:
groupId - the group id of this layout

getCompanyId

public long getCompanyId()
Gets the company id of this layout.

Specified by:
getCompanyId in interface LayoutModel
Returns:
the company id of this layout

setCompanyId

public void setCompanyId(long companyId)
Sets the company id of this layout.

Specified by:
setCompanyId in interface LayoutModel
Parameters:
companyId - the company id of this layout

getPrivateLayout

public boolean getPrivateLayout()
Gets the private layout of this layout.

Specified by:
getPrivateLayout in interface LayoutModel
Returns:
the private layout of this layout

isPrivateLayout

public boolean isPrivateLayout()
Determines whether this layout is private layout.

Specified by:
isPrivateLayout in interface LayoutModel
Returns:
whether this layout is private layout

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Sets whether this {$entity.humanName} is private layout.

Specified by:
setPrivateLayout in interface LayoutModel
Parameters:
privateLayout - the private layout of this layout

getLayoutId

public long getLayoutId()
Gets the layout id of this layout.

Specified by:
getLayoutId in interface LayoutModel
Returns:
the layout id of this layout

setLayoutId

public void setLayoutId(long layoutId)
Sets the layout id of this layout.

Specified by:
setLayoutId in interface LayoutModel
Parameters:
layoutId - the layout id of this layout

getParentLayoutId

public long getParentLayoutId()
Gets the parent layout id of this layout.

Specified by:
getParentLayoutId in interface LayoutModel
Returns:
the parent layout id of this layout

setParentLayoutId

public void setParentLayoutId(long parentLayoutId)
Sets the parent layout id of this layout.

Specified by:
setParentLayoutId in interface LayoutModel
Parameters:
parentLayoutId - the parent layout id of this layout

getName

public String getName()
Gets the name of this layout.

Specified by:
getName in interface LayoutModel
Returns:
the name of this layout

setName

public void setName(String name)
Sets the name of this layout.

Specified by:
setName in interface LayoutModel
Parameters:
name - the name of this layout

getTitle

public String getTitle()
Gets the title of this layout.

Specified by:
getTitle in interface LayoutModel
Returns:
the title of this layout

setTitle

public void setTitle(String title)
Sets the title of this layout.

Specified by:
setTitle in interface LayoutModel
Parameters:
title - the title of this layout

getDescription

public String getDescription()
Gets the description of this layout.

Specified by:
getDescription in interface LayoutModel
Returns:
the description of this layout

setDescription

public void setDescription(String description)
Sets the description of this layout.

Specified by:
setDescription in interface LayoutModel
Parameters:
description - the description of this layout

getType

public String getType()
Gets the type of this layout.

Specified by:
getType in interface LayoutModel
Returns:
the type of this layout

setType

public void setType(String type)
Sets the type of this layout.

Specified by:
setType in interface LayoutModel
Parameters:
type - the type of this layout

getTypeSettings

public String getTypeSettings()
Gets the type settings of this layout.

Specified by:
getTypeSettings in interface Layout
Specified by:
getTypeSettings in interface LayoutModel
Returns:
the type settings of this layout

setTypeSettings

public void setTypeSettings(String typeSettings)
Sets the type settings of this layout.

Specified by:
setTypeSettings in interface Layout
Specified by:
setTypeSettings in interface LayoutModel
Parameters:
typeSettings - the type settings of this layout

getHidden

public boolean getHidden()
Gets the hidden of this layout.

Specified by:
getHidden in interface LayoutModel
Returns:
the hidden of this layout

isHidden

public boolean isHidden()
Determines whether this layout is hidden.

Specified by:
isHidden in interface LayoutModel
Returns:
whether this layout is hidden

setHidden

public void setHidden(boolean hidden)
Sets whether this {$entity.humanName} is hidden.

Specified by:
setHidden in interface LayoutModel
Parameters:
hidden - the hidden of this layout

getFriendlyURL

public String getFriendlyURL()
Gets the friendly u r l of this layout.

Specified by:
getFriendlyURL in interface LayoutModel
Returns:
the friendly u r l of this layout

setFriendlyURL

public void setFriendlyURL(String friendlyURL)
Sets the friendly u r l of this layout.

Specified by:
setFriendlyURL in interface LayoutModel
Parameters:
friendlyURL - the friendly u r l of this layout

getIconImage

public boolean getIconImage()
Gets the icon image of this layout.

Specified by:
getIconImage in interface LayoutModel
Returns:
the icon image of this layout

isIconImage

public boolean isIconImage()
Determines whether this layout is icon image.

Specified by:
isIconImage in interface LayoutModel
Returns:
whether this layout is icon image

setIconImage

public void setIconImage(boolean iconImage)
Sets whether this {$entity.humanName} is icon image.

Specified by:
setIconImage in interface LayoutModel
Parameters:
iconImage - the icon image of this layout

getIconImageId

public long getIconImageId()
Gets the icon image id of this layout.

Specified by:
getIconImageId in interface LayoutModel
Returns:
the icon image id of this layout

setIconImageId

public void setIconImageId(long iconImageId)
Sets the icon image id of this layout.

Specified by:
setIconImageId in interface LayoutModel
Parameters:
iconImageId - the icon image id of this layout

getThemeId

public String getThemeId()
Gets the theme id of this layout.

Specified by:
getThemeId in interface LayoutModel
Returns:
the theme id of this layout

setThemeId

public void setThemeId(String themeId)
Sets the theme id of this layout.

Specified by:
setThemeId in interface LayoutModel
Parameters:
themeId - the theme id of this layout

getColorSchemeId

public String getColorSchemeId()
Gets the color scheme id of this layout.

Specified by:
getColorSchemeId in interface LayoutModel
Returns:
the color scheme id of this layout

setColorSchemeId

public void setColorSchemeId(String colorSchemeId)
Sets the color scheme id of this layout.

Specified by:
setColorSchemeId in interface LayoutModel
Parameters:
colorSchemeId - the color scheme id of this layout

getWapThemeId

public String getWapThemeId()
Gets the wap theme id of this layout.

Specified by:
getWapThemeId in interface LayoutModel
Returns:
the wap theme id of this layout

setWapThemeId

public void setWapThemeId(String wapThemeId)
Sets the wap theme id of this layout.

Specified by:
setWapThemeId in interface LayoutModel
Parameters:
wapThemeId - the wap theme id of this layout

getWapColorSchemeId

public String getWapColorSchemeId()
Gets the wap color scheme id of this layout.

Specified by:
getWapColorSchemeId in interface LayoutModel
Returns:
the wap color scheme id of this layout

setWapColorSchemeId

public void setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme id of this layout.

Specified by:
setWapColorSchemeId in interface LayoutModel
Parameters:
wapColorSchemeId - the wap color scheme id of this layout

getCss

public String getCss()
Gets the css of this layout.

Specified by:
getCss in interface LayoutModel
Returns:
the css of this layout

setCss

public void setCss(String css)
Sets the css of this layout.

Specified by:
setCss in interface LayoutModel
Parameters:
css - the css of this layout

getPriority

public int getPriority()
Gets the priority of this layout.

Specified by:
getPriority in interface LayoutModel
Returns:
the priority of this layout

setPriority

public void setPriority(int priority)
Sets the priority of this layout.

Specified by:
setPriority in interface LayoutModel
Parameters:
priority - the priority of this layout

getLayoutPrototypeId

public long getLayoutPrototypeId()
Gets the layout prototype id of this layout.

Specified by:
getLayoutPrototypeId in interface LayoutModel
Returns:
the layout prototype id of this layout

setLayoutPrototypeId

public void setLayoutPrototypeId(long layoutPrototypeId)
Sets the layout prototype id of this layout.

Specified by:
setLayoutPrototypeId in interface LayoutModel
Parameters:
layoutPrototypeId - the layout prototype id of this layout

getDlFolderId

public long getDlFolderId()
Gets the dl folder id of this layout.

Specified by:
getDlFolderId in interface LayoutModel
Returns:
the dl folder id of this layout

setDlFolderId

public void setDlFolderId(long dlFolderId)
Sets the dl folder id of this layout.

Specified by:
setDlFolderId in interface LayoutModel
Parameters:
dlFolderId - the dl folder id of this layout

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<Layout>
Specified by:
isNew in interface LayoutModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<Layout>
Specified by:
setNew in interface LayoutModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<Layout>
Specified by:
isCachedModel in interface LayoutModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<Layout>
Specified by:
setCachedModel in interface LayoutModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<Layout>
Specified by:
isEscapedModel in interface LayoutModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<Layout>
Specified by:
setEscapedModel in interface LayoutModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<Layout>
Specified by:
getPrimaryKeyObj in interface LayoutModel
Returns:
the primary key of this model instance

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
Returns:
the expando bridge for this model instance

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
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
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

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

hashCode

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

toEscapedModel

public Layout toEscapedModel()
Description copied from interface: BaseModel
Gets a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<Layout>
Specified by:
toEscapedModel in interface LayoutModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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

getAllChildren

public List<Layout> getAllChildren()
                            throws SystemException
Specified by:
getAllChildren in interface Layout
Throws:
SystemException

getAncestorLayoutId

public long getAncestorLayoutId()
                         throws PortalException,
                                SystemException
Specified by:
getAncestorLayoutId in interface Layout
Throws:
PortalException
SystemException

getAncestorPlid

public long getAncestorPlid()
                     throws PortalException,
                            SystemException
Specified by:
getAncestorPlid in interface Layout
Throws:
PortalException
SystemException

getAncestors

public List<Layout> getAncestors()
                          throws PortalException,
                                 SystemException
Specified by:
getAncestors in interface Layout
Throws:
PortalException
SystemException

getChildren

public List<Layout> getChildren()
                         throws SystemException
Specified by:
getChildren in interface Layout
Throws:
SystemException

getChildren

public List<Layout> getChildren(PermissionChecker permissionChecker)
                         throws PortalException,
                                SystemException
Specified by:
getChildren in interface Layout
Throws:
PortalException
SystemException

getColorScheme

public ColorScheme getColorScheme()
                           throws PortalException,
                                  SystemException
Specified by:
getColorScheme in interface Layout
Throws:
PortalException
SystemException

getCssText

public String getCssText()
                  throws PortalException,
                         SystemException
Specified by:
getCssText in interface Layout
Throws:
PortalException
SystemException

getGroup

public Group getGroup()
               throws PortalException,
                      SystemException
Specified by:
getGroup in interface Layout
Throws:
PortalException
SystemException

getHTMLTitle

public String getHTMLTitle(Locale locale)
Specified by:
getHTMLTitle in interface Layout

getHTMLTitle

public String getHTMLTitle(String localeLanguageId)
Specified by:
getHTMLTitle in interface Layout

getLayoutSet

public LayoutSet getLayoutSet()
                       throws PortalException,
                              SystemException
Specified by:
getLayoutSet in interface Layout
Throws:
PortalException
SystemException

getLayoutType

public LayoutType getLayoutType()
Specified by:
getLayoutType in interface Layout

getName

public String getName(Locale locale)
Specified by:
getName in interface Layout

getName

public String getName(Locale locale,
                      boolean useDefault)
Specified by:
getName in interface Layout

getName

public String getName(String localeLanguageId)
Specified by:
getName in interface Layout

getName

public String getName(String localeLanguageId,
                      boolean useDefault)
Specified by:
getName in interface Layout

getParentPlid

public long getParentPlid()
                   throws PortalException,
                          SystemException
Specified by:
getParentPlid in interface Layout
Throws:
PortalException
SystemException

getRegularURL

public String getRegularURL(javax.servlet.http.HttpServletRequest request)
                     throws PortalException,
                            SystemException
Specified by:
getRegularURL in interface Layout
Throws:
PortalException
SystemException

getResetLayoutURL

public String getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
                         throws PortalException,
                                SystemException
Specified by:
getResetLayoutURL in interface Layout
Throws:
PortalException
SystemException

getResetMaxStateURL

public String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
                           throws PortalException,
                                  SystemException
Specified by:
getResetMaxStateURL in interface Layout
Throws:
PortalException
SystemException

getScopeGroup

public Group getScopeGroup()
                    throws PortalException,
                           SystemException
Specified by:
getScopeGroup in interface Layout
Throws:
PortalException
SystemException

getTarget

public String getTarget()
Specified by:
getTarget in interface Layout

getTheme

public Theme getTheme()
               throws PortalException,
                      SystemException
Specified by:
getTheme in interface Layout
Throws:
PortalException
SystemException

getTitle

public String getTitle(Locale locale)
Specified by:
getTitle in interface Layout

getTitle

public String getTitle(Locale locale,
                       boolean useDefault)
Specified by:
getTitle in interface Layout

getTitle

public String getTitle(String localeLanguageId)
Specified by:
getTitle in interface Layout

getTitle

public String getTitle(String localeLanguageId,
                       boolean useDefault)
Specified by:
getTitle in interface Layout

getTypeSettingsProperties

public UnicodeProperties getTypeSettingsProperties()
Specified by:
getTypeSettingsProperties in interface Layout

getWapColorScheme

public ColorScheme getWapColorScheme()
                              throws PortalException,
                                     SystemException
Specified by:
getWapColorScheme in interface Layout
Throws:
PortalException
SystemException

getWapTheme

public Theme getWapTheme()
                  throws PortalException,
                         SystemException
Specified by:
getWapTheme in interface Layout
Throws:
PortalException
SystemException

hasAncestor

public boolean hasAncestor(long layoutId)
                    throws PortalException,
                           SystemException
Specified by:
hasAncestor in interface Layout
Throws:
PortalException
SystemException

hasChildren

public boolean hasChildren()
                    throws SystemException
Specified by:
hasChildren in interface Layout
Throws:
SystemException

hasScopeGroup

public boolean hasScopeGroup()
                      throws PortalException,
                             SystemException
Specified by:
hasScopeGroup in interface Layout
Throws:
PortalException
SystemException

isChildSelected

public boolean isChildSelected(boolean selectable,
                               Layout layout)
                        throws PortalException,
                               SystemException
Specified by:
isChildSelected in interface Layout
Throws:
PortalException
SystemException

isFirstChild

public boolean isFirstChild()
Specified by:
isFirstChild in interface Layout

isFirstParent

public boolean isFirstParent()
Specified by:
isFirstParent in interface Layout

isInheritLookAndFeel

public boolean isInheritLookAndFeel()
Specified by:
isInheritLookAndFeel in interface Layout

isInheritWapLookAndFeel

public boolean isInheritWapLookAndFeel()
Specified by:
isInheritWapLookAndFeel in interface Layout

isPublicLayout

public boolean isPublicLayout()
Specified by:
isPublicLayout in interface Layout

isRootLayout

public boolean isRootLayout()
Specified by:
isRootLayout in interface Layout

isSelected

public boolean isSelected(boolean selectable,
                          Layout layout,
                          long ancestorPlid)
Specified by:
isSelected in interface Layout

isTypeArticle

public boolean isTypeArticle()
Specified by:
isTypeArticle in interface Layout

isTypeControlPanel

public boolean isTypeControlPanel()
Specified by:
isTypeControlPanel in interface Layout

isTypeEmbedded

public boolean isTypeEmbedded()
Specified by:
isTypeEmbedded in interface Layout

isTypeLinkToLayout

public boolean isTypeLinkToLayout()
Specified by:
isTypeLinkToLayout in interface Layout

isTypePanel

public boolean isTypePanel()
Specified by:
isTypePanel in interface Layout

isTypePortlet

public boolean isTypePortlet()
Specified by:
isTypePortlet in interface Layout

isTypeURL

public boolean isTypeURL()
Specified by:
isTypeURL in interface Layout

setName

public void setName(String name,
                    Locale locale)
Specified by:
setName in interface Layout

setTitle

public void setTitle(String title,
                     Locale locale)
Specified by:
setTitle in interface Layout

setTypeSettingsProperties

public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
Specified by:
setTypeSettingsProperties in interface Layout

getWrappedLayout

public Layout getWrappedLayout()

Liferay 6.0-ee