com.liferay.portal.model.impl
Class LayoutImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Layout>
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.Layout, com.liferay.portal.model.LayoutModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.Layout>
public class LayoutImpl
- extends LayoutModelImpl
- implements com.liferay.portal.model.Layout
View Source
- Author:
- Brian Wing Shun Chan
- See Also:
- Serialized Form
| Fields inherited from class com.liferay.portal.model.impl.LayoutModelImpl |
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER |
| 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, getLayoutPrototypeId, getName, getOriginalDlFolderId, getOriginalFriendlyURL, getOriginalGroupId, getOriginalIconImageId, getOriginalLayoutId, getOriginalPrivateLayout, getParentLayoutId, getPlid, getPrimaryKey, getPrimaryKeyObj, getPriority, getPrivateLayout, getThemeId, getTitle, getType, getWapColorSchemeId, getWapThemeId, hashCode, isHidden, isIconImage, isPrivateLayout, setColorSchemeId, setCompanyId, setCss, setDescription, setDlFolderId, setExpandoBridgeAttributes, setFriendlyURL, setGroupId, setHidden, setIconImage, setIconImageId, setLayoutId, setLayoutPrototypeId, setName, setParentLayoutId, setPlid, setPrimaryKey, setPriority, setPrivateLayout, setThemeId, setTitle, setType, setWapColorSchemeId, setWapThemeId, toEscapedModel, toModel, toModels, toString, toXmlString |
| 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, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.LayoutModel |
clone, compareTo, getColorSchemeId, getCompanyId, getCss, getDescription, getDlFolderId, getExpandoBridge, getFriendlyURL, getGroupId, getHidden, getIconImage, getIconImageId, getLayoutId, getLayoutPrototypeId, getName, getParentLayoutId, getPlid, getPrimaryKey, getPrimaryKeyObj, getPriority, getPrivateLayout, getThemeId, getTitle, getType, getWapColorSchemeId, getWapThemeId, hashCode, isCachedModel, isEscapedModel, isHidden, isIconImage, isNew, isPrivateLayout, setCachedModel, setColorSchemeId, setCompanyId, setCss, setDescription, setDlFolderId, setEscapedModel, setExpandoBridgeAttributes, setFriendlyURL, setGroupId, setHidden, setIconImage, setIconImageId, setLayoutId, setLayoutPrototypeId, setName, setNew, setParentLayoutId, setPlid, setPrimaryKey, setPriority, setPrivateLayout, setThemeId, setTitle, setType, setWapColorSchemeId, setWapThemeId, toEscapedModel, toString, toXmlString |
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.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getScopeGroup in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
hasScopeGroup
public boolean hasScopeGroup()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
hasScopeGroup in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAncestors in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
hasAncestor
public boolean hasAncestor(long layoutId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
hasAncestor in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
- Specified by:
getChildren in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
hasChildren
public boolean hasChildren()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
hasChildren in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAllChildren
public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAllChildren in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
getChildren
public java.util.List<com.liferay.portal.model.Layout> getChildren(com.liferay.portal.security.permission.PermissionChecker permissionChecker)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getChildren in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getTheme in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
getColorScheme
public com.liferay.portal.model.ColorScheme getColorScheme()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getColorScheme in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
isInheritWapLookAndFeel
public boolean isInheritWapLookAndFeel()
- Specified by:
isInheritWapLookAndFeel in interface com.liferay.portal.model.Layout
getWapTheme
public com.liferay.portal.model.Theme getWapTheme()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getWapTheme in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
getWapColorScheme
public com.liferay.portal.model.ColorScheme getWapColorScheme()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getWapColorScheme in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
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.kernel.exception.SystemException
- Specified by:
getRegularURL in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
getResetMaxStateURL
public java.lang.String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getResetMaxStateURL in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
getResetLayoutURL
public java.lang.String getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getResetLayoutURL in interface com.liferay.portal.model.Layout
- Throws:
com.liferay.portal.kernel.exception.SystemException
getTarget
public java.lang.String getTarget()
- Specified by:
getTarget in interface com.liferay.portal.model.Layout
isChildSelected
public boolean isChildSelected(boolean selectable,
com.liferay.portal.model.Layout layout)
- Specified by:
isChildSelected 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