com.liferay.portal.model.impl
Class LayoutImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<Layout>
com.liferay.portal.model.impl.LayoutModelImpl
com.liferay.portal.model.impl.LayoutImpl
- All Implemented Interfaces:
- BaseModel<Layout>, Layout, LayoutModel, Serializable, Cloneable, Comparable<Layout>
public class LayoutImpl
- extends LayoutModelImpl
- implements Layout
- 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, getOriginalUuid, getParentLayoutId, getPlid, getPrimaryKey, getPrimaryKeyObj, getPriority, getPrivateLayout, getThemeId, getTitle, getType, getUuid, 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, setUuid, setWapColorSchemeId, setWapThemeId, toEscapedModel, toModel, toModels, toString, toXmlString |
| 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, getUuid, 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, setUuid, setWapColorSchemeId, setWapThemeId, toEscapedModel, toString, toXmlString |
LayoutImpl
public LayoutImpl()
validateFriendlyURL
public static int validateFriendlyURL(String friendlyURL)
validateFriendlyURLKeyword
public static void validateFriendlyURLKeyword(String friendlyURL)
throws LayoutFriendlyURLException
- Throws:
LayoutFriendlyURLException
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
getTypeSettings
public String getTypeSettings()
- Description copied from interface:
LayoutModel
- Gets the type settings of this layout.
- Specified by:
getTypeSettings in interface Layout- Specified by:
getTypeSettings in interface LayoutModel- Overrides:
getTypeSettings in class LayoutModelImpl
- Returns:
- the type settings of this 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
setTypeSettings
public void setTypeSettings(String typeSettings)
- Description copied from interface:
LayoutModel
- Sets the type settings of this layout.
- Specified by:
setTypeSettings in interface Layout- Specified by:
setTypeSettings in interface LayoutModel- Overrides:
setTypeSettings in class LayoutModelImpl
- Parameters:
typeSettings - the type settings of this layout
setTypeSettingsProperties
public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
- Specified by:
setTypeSettingsProperties in interface Layout