|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.LayoutWrapper
public class LayoutWrapper
This class is a wrapper for Layout.
Layout,
Serialized Form| Constructor Summary | |
|---|---|
LayoutWrapper(Layout layout)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Layout layout)
|
List<Layout> |
getAllChildren()
|
long |
getAncestorLayoutId()
|
long |
getAncestorPlid()
|
List<Layout> |
getAncestors()
|
List<Layout> |
getChildren()
|
List<Layout> |
getChildren(PermissionChecker permissionChecker)
|
ColorScheme |
getColorScheme()
|
String |
getColorSchemeId()
|
long |
getCompanyId()
|
String |
getCss()
|
String |
getCssText()
|
String |
getDescription()
|
long |
getDlFolderId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFriendlyURL()
|
Group |
getGroup()
|
long |
getGroupId()
|
boolean |
getHidden()
|
String |
getHTMLTitle(Locale locale)
|
String |
getHTMLTitle(String localeLanguageId)
|
boolean |
getIconImage()
|
long |
getIconImageId()
|
long |
getLayoutId()
|
long |
getLayoutPrototypeId()
|
LayoutSet |
getLayoutSet()
|
LayoutType |
getLayoutType()
|
String |
getName()
|
String |
getName(Locale locale)
|
String |
getName(Locale locale,
boolean useDefault)
|
String |
getName(String localeLanguageId)
|
String |
getName(String localeLanguageId,
boolean useDefault)
|
long |
getParentLayoutId()
|
long |
getParentPlid()
|
long |
getPlid()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
int |
getPriority()
|
boolean |
getPrivateLayout()
|
String |
getRegularURL(javax.servlet.http.HttpServletRequest request)
|
String |
getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
|
String |
getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
|
Group |
getScopeGroup()
|
String |
getTarget()
|
Theme |
getTheme()
|
String |
getThemeId()
|
String |
getTitle()
|
String |
getTitle(Locale locale)
|
String |
getTitle(Locale locale,
boolean useDefault)
|
String |
getTitle(String localeLanguageId)
|
String |
getTitle(String localeLanguageId,
boolean useDefault)
|
String |
getType()
|
String |
getTypeSettings()
|
UnicodeProperties |
getTypeSettingsProperties()
|
String |
getUuid()
|
ColorScheme |
getWapColorScheme()
|
String |
getWapColorSchemeId()
|
Theme |
getWapTheme()
|
String |
getWapThemeId()
|
Layout |
getWrappedLayout()
|
boolean |
hasAncestor(long layoutId)
|
boolean |
hasChildren()
|
int |
hashCode()
|
boolean |
hasScopeGroup()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isChildSelected(boolean selectable,
Layout layout)
|
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isFirstChild()
|
boolean |
isFirstParent()
|
boolean |
isHidden()
|
boolean |
isIconImage()
|
boolean |
isInheritLookAndFeel()
|
boolean |
isInheritWapLookAndFeel()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrivateLayout()
|
boolean |
isPublicLayout()
|
boolean |
isRootLayout()
|
boolean |
isSelected(boolean selectable,
Layout layout,
long ancestorPlid)
|
boolean |
isTypeArticle()
|
boolean |
isTypeControlPanel()
|
boolean |
isTypeEmbedded()
|
boolean |
isTypeLinkToLayout()
|
boolean |
isTypePanel()
|
boolean |
isTypePortlet()
|
boolean |
isTypeURL()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setColorSchemeId(String colorSchemeId)
|
void |
setCompanyId(long companyId)
|
void |
setCss(String css)
|
void |
setDescription(String description)
|
void |
setDlFolderId(long dlFolderId)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFriendlyURL(String friendlyURL)
|
void |
setGroupId(long groupId)
|
void |
setHidden(boolean hidden)
|
void |
setIconImage(boolean iconImage)
|
void |
setIconImageId(long iconImageId)
|
void |
setLayoutId(long layoutId)
|
void |
setLayoutPrototypeId(long layoutPrototypeId)
|
void |
setName(String name)
|
void |
setName(String name,
Locale locale)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentLayoutId(long parentLayoutId)
|
void |
setPlid(long plid)
|
void |
setPrimaryKey(long pk)
|
void |
setPriority(int priority)
|
void |
setPrivateLayout(boolean privateLayout)
|
void |
setThemeId(String themeId)
|
void |
setTitle(String title)
|
void |
setTitle(String title,
Locale locale)
|
void |
setType(String type)
|
void |
setTypeSettings(String typeSettings)
|
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
|
void |
setUuid(String uuid)
|
void |
setWapColorSchemeId(String wapColorSchemeId)
|
void |
setWapThemeId(String wapThemeId)
|
Layout |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutWrapper(Layout layout)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface LayoutModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface LayoutModelpublic String getUuid()
getUuid in interface LayoutModelpublic void setUuid(String uuid)
setUuid in interface LayoutModelpublic long getPlid()
getPlid in interface LayoutModelpublic void setPlid(long plid)
setPlid in interface LayoutModelpublic long getGroupId()
getGroupId in interface LayoutModelpublic void setGroupId(long groupId)
setGroupId in interface LayoutModelpublic long getCompanyId()
getCompanyId in interface LayoutModelpublic void setCompanyId(long companyId)
setCompanyId in interface LayoutModelpublic boolean getPrivateLayout()
getPrivateLayout in interface LayoutModelpublic boolean isPrivateLayout()
isPrivateLayout in interface LayoutModelpublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout in interface LayoutModelpublic long getLayoutId()
getLayoutId in interface LayoutModelpublic void setLayoutId(long layoutId)
setLayoutId in interface LayoutModelpublic long getParentLayoutId()
getParentLayoutId in interface LayoutModelpublic void setParentLayoutId(long parentLayoutId)
setParentLayoutId in interface LayoutModelpublic String getName()
getName in interface LayoutModelpublic void setName(String name)
setName in interface LayoutModelpublic String getTitle()
getTitle in interface LayoutModelpublic void setTitle(String title)
setTitle in interface LayoutModelpublic String getDescription()
getDescription in interface LayoutModelpublic void setDescription(String description)
setDescription in interface LayoutModelpublic String getType()
getType in interface LayoutModelpublic void setType(String type)
setType in interface LayoutModelpublic String getTypeSettings()
getTypeSettings in interface LayoutgetTypeSettings in interface LayoutModelpublic void setTypeSettings(String typeSettings)
setTypeSettings in interface LayoutsetTypeSettings in interface LayoutModelpublic boolean getHidden()
getHidden in interface LayoutModelpublic boolean isHidden()
isHidden in interface LayoutModelpublic void setHidden(boolean hidden)
setHidden in interface LayoutModelpublic String getFriendlyURL()
getFriendlyURL in interface LayoutModelpublic void setFriendlyURL(String friendlyURL)
setFriendlyURL in interface LayoutModelpublic boolean getIconImage()
getIconImage in interface LayoutModelpublic boolean isIconImage()
isIconImage in interface LayoutModelpublic void setIconImage(boolean iconImage)
setIconImage in interface LayoutModelpublic long getIconImageId()
getIconImageId in interface LayoutModelpublic void setIconImageId(long iconImageId)
setIconImageId in interface LayoutModelpublic String getThemeId()
getThemeId in interface LayoutModelpublic void setThemeId(String themeId)
setThemeId in interface LayoutModelpublic String getColorSchemeId()
getColorSchemeId in interface LayoutModelpublic void setColorSchemeId(String colorSchemeId)
setColorSchemeId in interface LayoutModelpublic String getWapThemeId()
getWapThemeId in interface LayoutModelpublic void setWapThemeId(String wapThemeId)
setWapThemeId in interface LayoutModelpublic String getWapColorSchemeId()
getWapColorSchemeId in interface LayoutModelpublic void setWapColorSchemeId(String wapColorSchemeId)
setWapColorSchemeId in interface LayoutModelpublic String getCss()
getCss in interface LayoutModelpublic void setCss(String css)
setCss in interface LayoutModelpublic int getPriority()
getPriority in interface LayoutModelpublic void setPriority(int priority)
setPriority in interface LayoutModelpublic long getLayoutPrototypeId()
getLayoutPrototypeId in interface LayoutModelpublic void setLayoutPrototypeId(long layoutPrototypeId)
setLayoutPrototypeId in interface LayoutModelpublic long getDlFolderId()
getDlFolderId in interface LayoutModelpublic void setDlFolderId(long dlFolderId)
setDlFolderId in interface LayoutModelpublic Layout toEscapedModel()
toEscapedModel in interface LayoutModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Layout>isNew in interface LayoutModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Layout>setNew in interface LayoutModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Layout>isCachedModel in interface LayoutModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Layout>setCachedModel in interface LayoutModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Layout>isEscapedModel in interface LayoutModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Layout>setEscapedModel in interface LayoutModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Layout>getPrimaryKeyObj in interface LayoutModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Layout>getExpandoBridge in interface LayoutModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Layout>setExpandoBridgeAttributes in interface LayoutModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Layout>clone in interface LayoutModelclone in class Objectpublic int compareTo(Layout layout)
compareTo in interface LayoutModelcompareTo in interface Comparable<Layout>public int hashCode()
hashCode in interface LayoutModelhashCode in class Objectpublic String toString()
toString in interface LayoutModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Layout>toXmlString in interface LayoutModel
public List<Layout> getAllChildren()
throws SystemException
getAllChildren in interface LayoutSystemException
public long getAncestorLayoutId()
throws PortalException,
SystemException
getAncestorLayoutId in interface LayoutPortalException
SystemException
public long getAncestorPlid()
throws PortalException,
SystemException
getAncestorPlid in interface LayoutPortalException
SystemException
public List<Layout> getAncestors()
throws PortalException,
SystemException
getAncestors in interface LayoutPortalException
SystemException
public List<Layout> getChildren()
throws SystemException
getChildren in interface LayoutSystemException
public List<Layout> getChildren(PermissionChecker permissionChecker)
throws PortalException,
SystemException
getChildren in interface LayoutPortalException
SystemException
public ColorScheme getColorScheme()
throws PortalException,
SystemException
getColorScheme in interface LayoutPortalException
SystemException
public String getCssText()
throws PortalException,
SystemException
getCssText in interface LayoutPortalException
SystemException
public Group getGroup()
throws PortalException,
SystemException
getGroup in interface LayoutPortalException
SystemExceptionpublic String getHTMLTitle(Locale locale)
getHTMLTitle in interface Layoutpublic String getHTMLTitle(String localeLanguageId)
getHTMLTitle in interface Layout
public LayoutSet getLayoutSet()
throws PortalException,
SystemException
getLayoutSet in interface LayoutPortalException
SystemExceptionpublic LayoutType getLayoutType()
getLayoutType in interface Layoutpublic String getName(Locale locale)
getName in interface Layout
public String getName(Locale locale,
boolean useDefault)
getName in interface Layoutpublic String getName(String localeLanguageId)
getName in interface Layout
public String getName(String localeLanguageId,
boolean useDefault)
getName in interface Layout
public long getParentPlid()
throws PortalException,
SystemException
getParentPlid in interface LayoutPortalException
SystemException
public String getRegularURL(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getRegularURL in interface LayoutPortalException
SystemException
public String getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getResetLayoutURL in interface LayoutPortalException
SystemException
public String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
throws PortalException,
SystemException
getResetMaxStateURL in interface LayoutPortalException
SystemException
public Group getScopeGroup()
throws PortalException,
SystemException
getScopeGroup in interface LayoutPortalException
SystemExceptionpublic String getTarget()
getTarget in interface Layout
public Theme getTheme()
throws PortalException,
SystemException
getTheme in interface LayoutPortalException
SystemExceptionpublic String getTitle(Locale locale)
getTitle in interface Layout
public String getTitle(Locale locale,
boolean useDefault)
getTitle in interface Layoutpublic String getTitle(String localeLanguageId)
getTitle in interface Layout
public String getTitle(String localeLanguageId,
boolean useDefault)
getTitle in interface Layoutpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface Layout
public ColorScheme getWapColorScheme()
throws PortalException,
SystemException
getWapColorScheme in interface LayoutPortalException
SystemException
public Theme getWapTheme()
throws PortalException,
SystemException
getWapTheme in interface LayoutPortalException
SystemException
public boolean hasAncestor(long layoutId)
throws PortalException,
SystemException
hasAncestor in interface LayoutPortalException
SystemException
public boolean hasChildren()
throws SystemException
hasChildren in interface LayoutSystemException
public boolean hasScopeGroup()
throws PortalException,
SystemException
hasScopeGroup in interface LayoutPortalException
SystemException
public boolean isChildSelected(boolean selectable,
Layout layout)
throws PortalException,
SystemException
isChildSelected in interface LayoutPortalException
SystemExceptionpublic boolean isFirstChild()
isFirstChild in interface Layoutpublic boolean isFirstParent()
isFirstParent in interface Layoutpublic boolean isInheritLookAndFeel()
isInheritLookAndFeel in interface Layoutpublic boolean isInheritWapLookAndFeel()
isInheritWapLookAndFeel in interface Layoutpublic boolean isPublicLayout()
isPublicLayout in interface Layoutpublic boolean isRootLayout()
isRootLayout in interface Layout
public boolean isSelected(boolean selectable,
Layout layout,
long ancestorPlid)
isSelected in interface Layoutpublic boolean isTypeArticle()
isTypeArticle in interface Layoutpublic boolean isTypeControlPanel()
isTypeControlPanel in interface Layoutpublic boolean isTypeEmbedded()
isTypeEmbedded in interface Layoutpublic boolean isTypeLinkToLayout()
isTypeLinkToLayout in interface Layoutpublic boolean isTypePanel()
isTypePanel in interface Layoutpublic boolean isTypePortlet()
isTypePortlet in interface Layoutpublic boolean isTypeURL()
isTypeURL in interface Layout
public void setName(String name,
Locale locale)
setName in interface Layout
public void setTitle(String title,
Locale locale)
setTitle in interface Layoutpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface Layoutpublic Layout getWrappedLayout()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||