com.liferay.portal.model
Class LayoutWrapper
java.lang.Object
com.liferay.portal.model.LayoutWrapper
- All Implemented Interfaces:
- BaseModel<Layout>, Layout, LayoutModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Layout>
public class LayoutWrapper
- extends java.lang.Object
- implements Layout
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for Layout
.
- Author:
- Brian Wing Shun Chan
- See Also:
Layout
,
Serialized Form- Generated:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
LayoutWrapper
public LayoutWrapper(Layout layout)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface LayoutModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey
in interface LayoutModel
getPlid
public long getPlid()
- Specified by:
getPlid
in interface LayoutModel
setPlid
public void setPlid(long plid)
- Specified by:
setPlid
in interface LayoutModel
getGroupId
public long getGroupId()
- Specified by:
getGroupId
in interface LayoutModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId
in interface LayoutModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId
in interface LayoutModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface LayoutModel
getPrivateLayout
public boolean getPrivateLayout()
- Specified by:
getPrivateLayout
in interface LayoutModel
isPrivateLayout
public boolean isPrivateLayout()
- Specified by:
isPrivateLayout
in interface LayoutModel
setPrivateLayout
public void setPrivateLayout(boolean privateLayout)
- Specified by:
setPrivateLayout
in interface LayoutModel
getLayoutId
public long getLayoutId()
- Specified by:
getLayoutId
in interface LayoutModel
setLayoutId
public void setLayoutId(long layoutId)
- Specified by:
setLayoutId
in interface LayoutModel
getParentLayoutId
public long getParentLayoutId()
- Specified by:
getParentLayoutId
in interface LayoutModel
setParentLayoutId
public void setParentLayoutId(long parentLayoutId)
- Specified by:
setParentLayoutId
in interface LayoutModel
getName
public java.lang.String getName()
- Specified by:
getName
in interface LayoutModel
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface LayoutModel
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface LayoutModel
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle
in interface LayoutModel
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface LayoutModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interface LayoutModel
getType
public java.lang.String getType()
- Specified by:
getType
in interface LayoutModel
setType
public void setType(java.lang.String type)
- Specified by:
setType
in interface LayoutModel
getTypeSettings
public java.lang.String getTypeSettings()
- Specified by:
getTypeSettings
in interface Layout
- Specified by:
getTypeSettings
in interface LayoutModel
setTypeSettings
public void setTypeSettings(java.lang.String typeSettings)
- Specified by:
setTypeSettings
in interface Layout
- Specified by:
setTypeSettings
in interface LayoutModel
getHidden
public boolean getHidden()
- Specified by:
getHidden
in interface LayoutModel
isHidden
public boolean isHidden()
- Specified by:
isHidden
in interface LayoutModel
setHidden
public void setHidden(boolean hidden)
- Specified by:
setHidden
in interface LayoutModel
getFriendlyURL
public java.lang.String getFriendlyURL()
- Specified by:
getFriendlyURL
in interface LayoutModel
setFriendlyURL
public void setFriendlyURL(java.lang.String friendlyURL)
- Specified by:
setFriendlyURL
in interface LayoutModel
getIconImage
public boolean getIconImage()
- Specified by:
getIconImage
in interface LayoutModel
isIconImage
public boolean isIconImage()
- Specified by:
isIconImage
in interface LayoutModel
setIconImage
public void setIconImage(boolean iconImage)
- Specified by:
setIconImage
in interface LayoutModel
getIconImageId
public long getIconImageId()
- Specified by:
getIconImageId
in interface LayoutModel
setIconImageId
public void setIconImageId(long iconImageId)
- Specified by:
setIconImageId
in interface LayoutModel
getThemeId
public java.lang.String getThemeId()
- Specified by:
getThemeId
in interface LayoutModel
setThemeId
public void setThemeId(java.lang.String themeId)
- Specified by:
setThemeId
in interface LayoutModel
getColorSchemeId
public java.lang.String getColorSchemeId()
- Specified by:
getColorSchemeId
in interface LayoutModel
setColorSchemeId
public void setColorSchemeId(java.lang.String colorSchemeId)
- Specified by:
setColorSchemeId
in interface LayoutModel
getWapThemeId
public java.lang.String getWapThemeId()
- Specified by:
getWapThemeId
in interface LayoutModel
setWapThemeId
public void setWapThemeId(java.lang.String wapThemeId)
- Specified by:
setWapThemeId
in interface LayoutModel
getWapColorSchemeId
public java.lang.String getWapColorSchemeId()
- Specified by:
getWapColorSchemeId
in interface LayoutModel
setWapColorSchemeId
public void setWapColorSchemeId(java.lang.String wapColorSchemeId)
- Specified by:
setWapColorSchemeId
in interface LayoutModel
getCss
public java.lang.String getCss()
- Specified by:
getCss
in interface LayoutModel
setCss
public void setCss(java.lang.String css)
- Specified by:
setCss
in interface LayoutModel
getPriority
public int getPriority()
- Specified by:
getPriority
in interface LayoutModel
setPriority
public void setPriority(int priority)
- Specified by:
setPriority
in interface LayoutModel
getDlFolderId
public long getDlFolderId()
- Specified by:
getDlFolderId
in interface LayoutModel
setDlFolderId
public void setDlFolderId(long dlFolderId)
- Specified by:
setDlFolderId
in interface LayoutModel
isNew
public boolean isNew()
- Specified by:
isNew
in interface BaseModel<Layout>
- Specified by:
isNew
in interface LayoutModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<Layout>
- Specified by:
setNew
in interface LayoutModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<Layout>
- Specified by:
isCachedModel
in interface LayoutModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<Layout>
- Specified by:
setCachedModel
in interface LayoutModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<Layout>
- Specified by:
isEscapedModel
in interface LayoutModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<Layout>
- Specified by:
setEscapedModel
in interface LayoutModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<Layout>
- Specified by:
getPrimaryKeyObj
in interface LayoutModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<Layout>
- Specified by:
getExpandoBridge
in interface LayoutModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<Layout>
- Specified by:
setExpandoBridgeAttributes
in interface LayoutModel
clone
public java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<Layout>
- Specified by:
clone
in interface LayoutModel
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(Layout layout)
- Specified by:
compareTo
in interface LayoutModel
- Specified by:
compareTo
in interface java.lang.Comparable<Layout>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface LayoutModel
- Overrides:
hashCode
in class java.lang.Object
toEscapedModel
public Layout toEscapedModel()
- Specified by:
toEscapedModel
in interface BaseModel<Layout>
- Specified by:
toEscapedModel
in interface LayoutModel
toString
public java.lang.String toString()
- Specified by:
toString
in interface LayoutModel
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<Layout>
- Specified by:
toXmlString
in interface LayoutModel
getAllChildren
public java.util.List<Layout> getAllChildren()
throws com.liferay.portal.SystemException
- Specified by:
getAllChildren
in interface Layout
- Throws:
com.liferay.portal.SystemException
getAncestorLayoutId
public long getAncestorLayoutId()
- Specified by:
getAncestorLayoutId
in interface Layout
getAncestorPlid
public long getAncestorPlid()
- Specified by:
getAncestorPlid
in interface Layout
getAncestors
public java.util.List<Layout> getAncestors()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getAncestors
in interface Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getChildren
public java.util.List<Layout> getChildren()
throws com.liferay.portal.SystemException
- Specified by:
getChildren
in interface Layout
- Throws:
com.liferay.portal.SystemException
getChildren
public java.util.List<Layout> getChildren(PermissionChecker permissionChecker)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getChildren
in interface Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getColorScheme
public ColorScheme getColorScheme()
throws com.liferay.portal.SystemException
- Specified by:
getColorScheme
in interface Layout
- Throws:
com.liferay.portal.SystemException
getCssText
public java.lang.String getCssText()
- Specified by:
getCssText
in interface Layout
getGroup
public Group getGroup()
- Specified by:
getGroup
in interface Layout
getHTMLTitle
public java.lang.String getHTMLTitle(java.util.Locale locale)
- Specified by:
getHTMLTitle
in interface Layout
getHTMLTitle
public java.lang.String getHTMLTitle(java.lang.String localeLanguageId)
- Specified by:
getHTMLTitle
in interface Layout
getLayoutSet
public LayoutSet getLayoutSet()
- Specified by:
getLayoutSet
in interface Layout
getLayoutType
public LayoutType getLayoutType()
- Specified by:
getLayoutType
in interface Layout
getName
public java.lang.String getName(java.util.Locale locale)
- Specified by:
getName
in interface Layout
getName
public java.lang.String getName(java.util.Locale locale,
boolean useDefault)
- Specified by:
getName
in interface Layout
getName
public java.lang.String getName(java.lang.String localeLanguageId)
- Specified by:
getName
in interface Layout
getName
public java.lang.String getName(java.lang.String localeLanguageId,
boolean useDefault)
- Specified by:
getName
in interface Layout
getParentPlid
public long getParentPlid()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getParentPlid
in interface Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getRegularURL
public java.lang.String getRegularURL(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.SystemException
- Specified by:
getRegularURL
in interface 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 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 Layout
- Throws:
com.liferay.portal.SystemException
getScopeGroup
public Group getScopeGroup()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getScopeGroup
in interface Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTarget
public java.lang.String getTarget()
- Specified by:
getTarget
in interface Layout
getTheme
public Theme getTheme()
throws com.liferay.portal.SystemException
- Specified by:
getTheme
in interface Layout
- Throws:
com.liferay.portal.SystemException
getTitle
public java.lang.String getTitle(java.util.Locale locale)
- Specified by:
getTitle
in interface Layout
getTitle
public java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
- Specified by:
getTitle
in interface Layout
getTitle
public java.lang.String getTitle(java.lang.String localeLanguageId)
- Specified by:
getTitle
in interface Layout
getTitle
public java.lang.String getTitle(java.lang.String localeLanguageId,
boolean useDefault)
- Specified by:
getTitle
in interface Layout
getTypeSettingsProperties
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
- Specified by:
getTypeSettingsProperties
in interface Layout
getWapColorScheme
public ColorScheme getWapColorScheme()
throws com.liferay.portal.SystemException
- Specified by:
getWapColorScheme
in interface Layout
- Throws:
com.liferay.portal.SystemException
getWapTheme
public Theme getWapTheme()
throws com.liferay.portal.SystemException
- Specified by:
getWapTheme
in interface Layout
- Throws:
com.liferay.portal.SystemException
hasAncestor
public boolean hasAncestor(long layoutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
hasAncestor
in interface 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 Layout
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
isChildSelected
public boolean isChildSelected(boolean selectable,
Layout layout)
- Specified by:
isChildSelected
in interface Layout
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(java.lang.String name,
java.util.Locale locale)
- Specified by:
setName
in interface Layout
setTitle
public void setTitle(java.lang.String title,
java.util.Locale locale)
- Specified by:
setTitle
in interface Layout
setTypeSettingsProperties
public void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties)
- Specified by:
setTypeSettingsProperties
in interface Layout
getWrappedLayout
public Layout getWrappedLayout()