com.liferay.portal.model.impl
Class LayoutImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl
com.liferay.portal.model.impl.LayoutModelImpl
com.liferay.portal.model.impl.LayoutImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel, com.liferay.portal.model.Layout, com.liferay.portal.model.LayoutModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class LayoutImpl
- extends LayoutModelImpl
- implements com.liferay.portal.model.Layout
View Source
- Author:
- Brian Wing Shun Chan
- See Also:
- Serialized Form
Methods inherited from class com.liferay.portal.model.impl.LayoutModelImpl |
clone, compareTo, equals, getColorSchemeId, getCompanyId, getCss, getDescription, getDlFolderId, getExpandoBridge, getFriendlyURL, getGroupId, getHidden, getIconImage, getIconImageId, getLayoutId, getName, getParentLayoutId, getPlid, getPrimaryKey, getPrimaryKeyObj, getPriority, getPrivateLayout, getThemeId, getTitle, getType, getWapColorSchemeId, getWapThemeId, hashCode, 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, toModel, toModels |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
isEscapedModel, isNew, setEscapedModel, setNew |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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, getExpandoBridge, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, setNew |
Methods inherited from interface java.lang.Comparable |
compareTo |
LayoutImpl
public LayoutImpl()
validateFriendlyURL
public static int validateFriendlyURL(java.lang.String friendlyURL)
validateFriendlyURLKeyword
public static void validateFriendlyURLKeyword(java.lang.String friendlyURL)
throws com.liferay.portal.LayoutFriendlyURLException
- Throws:
com.liferay.portal.LayoutFriendlyURLException
getGroup
public com.liferay.portal.model.Group getGroup()
- Specified by:
getGroup
in interface com.liferay.portal.model.Layout
getScopeGroup
public com.liferay.portal.model.Group getScopeGroup()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getScopeGroup
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasScopeGroup
public boolean hasScopeGroup()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
hasScopeGroup
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
isPublicLayout
public boolean isPublicLayout()
- Specified by:
isPublicLayout
in interface com.liferay.portal.model.Layout
getAncestorPlid
public long getAncestorPlid()
- Specified by:
getAncestorPlid
in interface com.liferay.portal.model.Layout
getAncestorLayoutId
public long getAncestorLayoutId()
- Specified by:
getAncestorLayoutId
in interface com.liferay.portal.model.Layout
getAncestors
public java.util.List<com.liferay.portal.model.Layout> getAncestors()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getAncestors
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasAncestor
public boolean hasAncestor(long layoutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
hasAncestor
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
isFirstParent
public boolean isFirstParent()
- Specified by:
isFirstParent
in interface com.liferay.portal.model.Layout
isFirstChild
public boolean isFirstChild()
- Specified by:
isFirstChild
in interface com.liferay.portal.model.Layout
isRootLayout
public boolean isRootLayout()
- Specified by:
isRootLayout
in interface com.liferay.portal.model.Layout
getChildren
public java.util.List<com.liferay.portal.model.Layout> getChildren()
throws com.liferay.portal.SystemException
- Specified by:
getChildren
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.SystemException
getAllChildren
public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
throws com.liferay.portal.SystemException
- Specified by:
getAllChildren
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.SystemException
getChildren
public java.util.List<com.liferay.portal.model.Layout> getChildren(com.liferay.portal.security.permission.PermissionChecker permissionChecker)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getChildren
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getName
public java.lang.String getName(java.util.Locale locale)
- Specified by:
getName
in interface com.liferay.portal.model.Layout
getName
public java.lang.String getName(java.lang.String localeLanguageId)
- Specified by:
getName
in interface com.liferay.portal.model.Layout
getName
public java.lang.String getName(java.util.Locale locale,
boolean useDefault)
- Specified by:
getName
in interface com.liferay.portal.model.Layout
getName
public java.lang.String getName(java.lang.String localeLanguageId,
boolean useDefault)
- Specified by:
getName
in interface com.liferay.portal.model.Layout
setName
public void setName(java.lang.String name,
java.util.Locale locale)
- Specified by:
setName
in interface com.liferay.portal.model.Layout
getTitle
public java.lang.String getTitle(java.util.Locale locale)
- Specified by:
getTitle
in interface com.liferay.portal.model.Layout
getTitle
public java.lang.String getTitle(java.lang.String localeLanguageId)
- Specified by:
getTitle
in interface com.liferay.portal.model.Layout
getTitle
public java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
- Specified by:
getTitle
in interface com.liferay.portal.model.Layout
getTitle
public java.lang.String getTitle(java.lang.String localeLanguageId,
boolean useDefault)
- Specified by:
getTitle
in interface com.liferay.portal.model.Layout
getHTMLTitle
public java.lang.String getHTMLTitle(java.util.Locale locale)
- Specified by:
getHTMLTitle
in interface com.liferay.portal.model.Layout
getHTMLTitle
public java.lang.String getHTMLTitle(java.lang.String localeLanguageId)
- Specified by:
getHTMLTitle
in interface com.liferay.portal.model.Layout
setTitle
public void setTitle(java.lang.String title,
java.util.Locale locale)
- Specified by:
setTitle
in interface com.liferay.portal.model.Layout
getLayoutType
public com.liferay.portal.model.LayoutType getLayoutType()
- Specified by:
getLayoutType
in interface com.liferay.portal.model.Layout
getTypeSettings
public java.lang.String getTypeSettings()
- Specified by:
getTypeSettings
in interface com.liferay.portal.model.Layout
- Specified by:
getTypeSettings
in interface com.liferay.portal.model.LayoutModel
- Overrides:
getTypeSettings
in class LayoutModelImpl
setTypeSettings
public void setTypeSettings(java.lang.String typeSettings)
- Specified by:
setTypeSettings
in interface com.liferay.portal.model.Layout
- Specified by:
setTypeSettings
in interface com.liferay.portal.model.LayoutModel
- Overrides:
setTypeSettings
in class LayoutModelImpl
getTypeSettingsProperties
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
- Specified by:
getTypeSettingsProperties
in interface com.liferay.portal.model.Layout
setTypeSettingsProperties
public void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties)
- Specified by:
setTypeSettingsProperties
in interface com.liferay.portal.model.Layout
getLayoutSet
public com.liferay.portal.model.LayoutSet getLayoutSet()
- Specified by:
getLayoutSet
in interface com.liferay.portal.model.Layout
isInheritLookAndFeel
public boolean isInheritLookAndFeel()
- Specified by:
isInheritLookAndFeel
in interface com.liferay.portal.model.Layout
getTheme
public com.liferay.portal.model.Theme getTheme()
- Specified by:
getTheme
in interface com.liferay.portal.model.Layout
getColorScheme
public com.liferay.portal.model.ColorScheme getColorScheme()
- Specified by:
getColorScheme
in interface com.liferay.portal.model.Layout
isInheritWapLookAndFeel
public boolean isInheritWapLookAndFeel()
- Specified by:
isInheritWapLookAndFeel
in interface com.liferay.portal.model.Layout
getWapTheme
public com.liferay.portal.model.Theme getWapTheme()
- Specified by:
getWapTheme
in interface com.liferay.portal.model.Layout
getWapColorScheme
public com.liferay.portal.model.ColorScheme getWapColorScheme()
- Specified by:
getWapColorScheme
in interface com.liferay.portal.model.Layout
getCssText
public java.lang.String getCssText()
- Specified by:
getCssText
in interface com.liferay.portal.model.Layout
getRegularURL
public java.lang.String getRegularURL(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.SystemException
- Specified by:
getRegularURL
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.SystemException
getResetMaxStateURL
public java.lang.String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.SystemException
- Specified by:
getResetMaxStateURL
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.SystemException
getResetLayoutURL
public java.lang.String getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.SystemException
- Specified by:
getResetLayoutURL
in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.SystemException
getTarget
public java.lang.String getTarget()
- Specified by:
getTarget
in interface com.liferay.portal.model.Layout
isSelected
public boolean isSelected(boolean selectable,
com.liferay.portal.model.Layout layout,
long ancestorPlid)
- Specified by:
isSelected
in interface com.liferay.portal.model.Layout