com.liferay.portal.model
Interface Layout

All Superinterfaces:
BaseModel, java.lang.Cloneable, java.lang.Comparable, LayoutModel, java.io.Serializable

public interface Layout
extends LayoutModel

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

Customize com.liferay.portal.service.model.impl.LayoutImpl and rerun the ServiceBuilder to generate the new methods.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.model.LayoutModel, com.liferay.portal.service.model.impl.LayoutImpl, com.liferay.portal.service.model.impl.LayoutModelImpl

Method Summary
 java.util.List<Layout> getAllChildren()
           
 long getAncestorLayoutId()
           
 long getAncestorPlid()
           
 java.util.List<Layout> getAncestors()
           
 java.util.List<Layout> getChildren()
           
 java.util.List<Layout> getChildren(PermissionChecker permissionChecker)
           
 ColorScheme getColorScheme()
           
 java.lang.String getCssText()
           
 Group getGroup()
           
 java.lang.String getHTMLTitle(java.util.Locale locale)
           
 java.lang.String getHTMLTitle(java.lang.String localeLanguageId)
           
 LayoutSet getLayoutSet()
           
 LayoutType getLayoutType()
           
 java.lang.String getName(java.util.Locale locale)
           
 java.lang.String getName(java.util.Locale locale, boolean useDefault)
           
 java.lang.String getName(java.lang.String localeLanguageId)
           
 java.lang.String getName(java.lang.String localeLanguageId, boolean useDefault)
           
 java.lang.String getRegularURL(javax.servlet.http.HttpServletRequest req)
           
 java.lang.String getResetLayoutURL(javax.servlet.http.HttpServletRequest req)
           
 java.lang.String getResetMaxStateURL(javax.servlet.http.HttpServletRequest req)
           
 java.lang.String getTarget()
           
 Theme getTheme()
           
 java.lang.String getTitle(java.util.Locale locale)
           
 java.lang.String getTitle(java.util.Locale locale, boolean useDefault)
           
 java.lang.String getTitle(java.lang.String localeLanguageId)
           
 java.lang.String getTitle(java.lang.String localeLanguageId, boolean useDefault)
           
 java.lang.String getTypeSettings()
           
 java.util.Properties getTypeSettingsProperties()
           
 ColorScheme getWapColorScheme()
           
 Theme getWapTheme()
           
 boolean hasAncestor(long layoutId)
           
 boolean isFirstChild()
           
 boolean isFirstParent()
           
 boolean isInheritLookAndFeel()
           
 boolean isInheritWapLookAndFeel()
           
 boolean isRootLayout()
           
 boolean isSelected(boolean selectable, Layout layout, long ancestorPlid)
           
 boolean isShared()
           
 void setName(java.lang.String name, java.util.Locale locale)
           
 void setTitle(java.lang.String title, java.util.Locale locale)
           
 void setTypeSettings(java.lang.String typeSettings)
           
 void setTypeSettingsProperties(java.util.Properties typeSettingsProperties)
           
 
Methods inherited from interface com.liferay.portal.model.LayoutModel
getColorSchemeId, getCompanyId, getCss, getDescription, getDlFolderId, getFriendlyURL, getGroupId, getHidden, getIconImage, getIconImageId, getLayoutId, getName, getParentLayoutId, getPlid, getPrimaryKey, getPriority, getPrivateLayout, getThemeId, getTitle, getType, getWapColorSchemeId, getWapThemeId, isHidden, isIconImage, isPrivateLayout, setColorSchemeId, setCompanyId, setCss, setDescription, setDlFolderId, setFriendlyURL, setGroupId, setHidden, setIconImage, setIconImageId, setLayoutId, setName, setParentLayoutId, setPlid, setPrimaryKey, setPriority, setPrivateLayout, setThemeId, setTitle, setType, setWapColorSchemeId, setWapThemeId, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getGroup

Group getGroup()

isShared

boolean isShared()

getAncestorPlid

long getAncestorPlid()

getAncestorLayoutId

long getAncestorLayoutId()

getAncestors

java.util.List<Layout> getAncestors()
                                    throws com.liferay.portal.SystemException,
                                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

hasAncestor

boolean hasAncestor(long layoutId)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

isFirstParent

boolean isFirstParent()

isFirstChild

boolean isFirstChild()

isRootLayout

boolean isRootLayout()

getChildren

java.util.List<Layout> getChildren()
                                   throws com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getAllChildren

java.util.List<Layout> getAllChildren()
                                      throws com.liferay.portal.SystemException,
                                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getChildren

java.util.List<Layout> getChildren(PermissionChecker permissionChecker)
                                   throws com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getName

java.lang.String getName(java.util.Locale locale)

getName

java.lang.String getName(java.lang.String localeLanguageId)

getName

java.lang.String getName(java.util.Locale locale,
                         boolean useDefault)

getName

java.lang.String getName(java.lang.String localeLanguageId,
                         boolean useDefault)

setName

void setName(java.lang.String name,
             java.util.Locale locale)

getTitle

java.lang.String getTitle(java.util.Locale locale)

getTitle

java.lang.String getTitle(java.lang.String localeLanguageId)

getTitle

java.lang.String getTitle(java.util.Locale locale,
                          boolean useDefault)

getTitle

java.lang.String getTitle(java.lang.String localeLanguageId,
                          boolean useDefault)

getHTMLTitle

java.lang.String getHTMLTitle(java.util.Locale locale)

getHTMLTitle

java.lang.String getHTMLTitle(java.lang.String localeLanguageId)

setTitle

void setTitle(java.lang.String title,
              java.util.Locale locale)

getLayoutType

LayoutType getLayoutType()

getTypeSettings

java.lang.String getTypeSettings()
Specified by:
getTypeSettings in interface LayoutModel

setTypeSettings

void setTypeSettings(java.lang.String typeSettings)
Specified by:
setTypeSettings in interface LayoutModel

getTypeSettingsProperties

java.util.Properties getTypeSettingsProperties()

setTypeSettingsProperties

void setTypeSettingsProperties(java.util.Properties typeSettingsProperties)

getLayoutSet

LayoutSet getLayoutSet()

isInheritLookAndFeel

boolean isInheritLookAndFeel()

getTheme

Theme getTheme()
               throws com.liferay.portal.SystemException,
                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColorScheme

ColorScheme getColorScheme()
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

isInheritWapLookAndFeel

boolean isInheritWapLookAndFeel()

getWapTheme

Theme getWapTheme()
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getWapColorScheme

ColorScheme getWapColorScheme()
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getCssText

java.lang.String getCssText()
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getRegularURL

java.lang.String getRegularURL(javax.servlet.http.HttpServletRequest req)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getResetMaxStateURL

java.lang.String getResetMaxStateURL(javax.servlet.http.HttpServletRequest req)
                                     throws com.liferay.portal.SystemException,
                                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getResetLayoutURL

java.lang.String getResetLayoutURL(javax.servlet.http.HttpServletRequest req)
                                   throws com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getTarget

java.lang.String getTarget()

isSelected

boolean isSelected(boolean selectable,
                   Layout layout,
                   long ancestorPlid)