public class LayoutWrapper extends BaseModelWrapper<Layout> implements Layout, ModelWrapper<Layout>
This class is a wrapper for Layout
.
Layout
,
Serialized Formmodel
LAYOUT_ID_ACCESSOR, PLID_ACCESSOR
Constructor and Description |
---|
LayoutWrapper(Layout layout) |
Modifier and Type | Method and Description |
---|---|
Layout |
cloneWithOriginalValues() |
Layout |
fetchDraftLayout() |
List<Layout> |
getAllChildren()
Returns all layouts that are direct or indirect children of the current
layout.
|
long |
getAncestorLayoutId()
Returns the ID of the topmost parent layout (e.g. n-th parent layout) of
the current layout.
|
long |
getAncestorPlid()
Returns the plid of the topmost parent layout (e.g. n-th parent layout)
of the current layout.
|
List<Layout> |
getAncestors()
Returns all parent layouts of the current layout.
|
Map<String,Function<Layout,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<Layout,Object>> |
getAttributeSetterBiConsumers() |
String[] |
getAvailableLanguageIds() |
String |
getBreadcrumb(Locale locale) |
List<Layout> |
getChildren()
Returns all child layouts of the current layout, independent of user
access permissions.
|
List<Layout> |
getChildren(PermissionChecker permissionChecker)
Returns all child layouts of the current layout that the user has
permission to access.
|
String |
getClassName()
Returns the fully qualified class name of this layout.
|
long |
getClassNameId()
Returns the class name ID of this layout.
|
long |
getClassPK()
Returns the class pk of this layout.
|
ColorScheme |
getColorScheme()
Returns the color scheme that is configured for the current layout, or
the color scheme of the layout set that contains the current layout if no
color scheme is configured.
|
String |
getColorSchemeId()
Returns the color scheme ID of this layout.
|
long |
getCompanyId()
Returns the company ID of this layout.
|
Date |
getCreateDate()
Returns the create date of this layout.
|
String |
getCss()
Returns the css of this layout.
|
String |
getCssText()
Returns the CSS text for the current layout, or for the layout set if no
CSS text is configured in the current layout.
|
long |
getCtCollectionId()
Returns the ct collection ID of this layout.
|
String |
getDefaultLanguageId() |
String |
getDefaultThemeSetting(String key,
String device,
boolean inheritLookAndFeel) |
String |
getDescription()
Returns the description of this layout.
|
String |
getDescription(Locale locale)
Returns the localized description of this layout in the language.
|
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getDescription(String languageId)
Returns the localized description of this layout in the language.
|
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getDescriptionCurrentLanguageId() |
String |
getDescriptionCurrentValue() |
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this layout.
|
List<Portlet> |
getEmbeddedPortlets() |
List<Portlet> |
getEmbeddedPortlets(long groupId) |
long |
getFaviconFileEntryId()
Returns the favicon file entry ID of this layout.
|
String |
getFaviconURL() |
String |
getFriendlyURL()
Returns the friendly url of this layout.
|
String |
getFriendlyURL(Locale locale)
Returns the layout's friendly URL for the given locale.
|
Map<Locale,String> |
getFriendlyURLMap()
Returns the friendly URLs for all configured locales.
|
String |
getFriendlyURLsXML() |
Group |
getGroup()
Returns the current layout's group.
|
long |
getGroupId()
Returns the group ID of this layout.
|
boolean |
getHidden()
Returns the hidden of this layout.
|
String |
getHTMLTitle(Locale locale)
Returns the current layout's HTML title for the given locale, or the
current layout's name for the given locale if no HTML title is
configured.
|
String |
getHTMLTitle(String localeLanguageId)
Returns the current layout's HTML title for the given locale language ID,
or the current layout's name if no HTML title is configured.
|
String |
getIcon() |
boolean |
getIconImage()
Returns
true if the current layout has a configured icon. |
long |
getIconImageId()
Returns the icon image ID of this layout.
|
String |
getKeywords()
Returns the keywords of this layout.
|
String |
getKeywords(Locale locale)
Returns the localized keywords of this layout in the language.
|
String |
getKeywords(Locale locale,
boolean useDefault)
Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getKeywords(String languageId)
Returns the localized keywords of this layout in the language.
|
String |
getKeywords(String languageId,
boolean useDefault)
Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getKeywordsCurrentLanguageId() |
String |
getKeywordsCurrentValue() |
Map<Locale,String> |
getKeywordsMap()
Returns a map of the locales and localized keywordses of this layout.
|
Date |
getLastPublishDate()
Returns the last publish date of this layout.
|
long |
getLayoutId()
Returns the layout ID of this layout.
|
boolean |
getLayoutPrototypeLinkEnabled()
Returns the layout prototype link enabled of this layout.
|
String |
getLayoutPrototypeUuid()
Returns the layout prototype uuid of this layout.
|
LayoutSet |
getLayoutSet()
Returns the current layout's
LayoutSet . |
LayoutType |
getLayoutType()
Returns the current layout's
LayoutType . |
Layout |
getLinkedToLayout()
Returns the current layout's linked layout.
|
long |
getMasterLayoutPlid()
Returns the master layout plid of this layout.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this layout.
|
long |
getMvccVersion()
Returns the mvcc version of this layout.
|
String |
getName()
Returns the name of this layout.
|
String |
getName(Locale locale)
Returns the localized name of this layout in the language.
|
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getName(String languageId)
Returns the localized name of this layout in the language.
|
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getNameCurrentLanguageId() |
String |
getNameCurrentValue() |
Map<Locale,String> |
getNameMap()
Returns a map of the locales and localized names of this layout.
|
long |
getParentLayoutId()
Returns the parent layout ID of this layout.
|
long |
getParentPlid()
Returns the parent plid of this layout.
|
long |
getPlid()
Returns the plid of this layout.
|
long |
getPrimaryKey()
Returns the primary key of this layout.
|
int |
getPriority()
Returns the priority of this layout.
|
boolean |
getPrivateLayout()
Returns the private layout of this layout.
|
Date |
getPublishDate()
Returns the publish date of this layout.
|
String |
getRegularURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
String |
getResetLayoutURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
String |
getResetMaxStateURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
String |
getRobots()
Returns the robots of this layout.
|
String |
getRobots(Locale locale)
Returns the localized robots of this layout in the language.
|
String |
getRobots(Locale locale,
boolean useDefault)
Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getRobots(String languageId)
Returns the localized robots of this layout in the language.
|
String |
getRobots(String languageId,
boolean useDefault)
Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getRobotsCurrentLanguageId() |
String |
getRobotsCurrentValue() |
Map<Locale,String> |
getRobotsMap()
Returns a map of the locales and localized robotses of this layout.
|
Group |
getScopeGroup() |
String |
getSourcePrototypeLayoutUuid()
Returns the source prototype layout uuid of this layout.
|
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this layout.
|
long |
getStatusByUserId()
Returns the status by user ID of this layout.
|
String |
getStatusByUserName()
Returns the status by user name of this layout.
|
String |
getStatusByUserUuid()
Returns the status by user uuid of this layout.
|
Date |
getStatusDate()
Returns the status date of this layout.
|
long |
getStyleBookEntryId()
Returns the style book entry ID of this layout.
|
boolean |
getSystem()
Returns the system of this layout.
|
String |
getTarget() |
Theme |
getTheme()
Returns the current layout's theme, or the layout set's theme if no
layout theme is configured.
|
String |
getThemeId()
Returns the theme ID of this layout.
|
String |
getThemeSetting(String key,
String device) |
String |
getThemeSetting(String key,
String device,
boolean inheritLookAndFeel) |
String |
getTitle()
Returns the title of this layout.
|
String |
getTitle(Locale locale)
Returns the localized title of this layout in the language.
|
String |
getTitle(Locale locale,
boolean useDefault)
Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getTitle(String languageId)
Returns the localized title of this layout in the language.
|
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getTitleCurrentLanguageId() |
String |
getTitleCurrentValue() |
Map<Locale,String> |
getTitleMap()
Returns a map of the locales and localized titles of this layout.
|
String |
getType()
Returns the type of this layout.
|
String |
getTypeSettings()
Returns the type settings of this layout.
|
UnicodeProperties |
getTypeSettingsProperties() |
String |
getTypeSettingsProperty(String key) |
String |
getTypeSettingsProperty(String key,
String defaultValue) |
long |
getUserId()
Returns the user ID of this layout.
|
String |
getUserName()
Returns the user name of this layout.
|
String |
getUserUuid()
Returns the user uuid of this layout.
|
String |
getUuid()
Returns the uuid of this layout.
|
boolean |
hasAncestor(long layoutId)
Returns
true if the given layout ID matches one of the
current layout's hierarchical parents. |
boolean |
hasChildren()
Returns
true if the current layout has child layouts. |
boolean |
hasScopeGroup() |
boolean |
hasSetModifiedDate() |
boolean |
includeLayoutContent(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
boolean |
isApproved()
Returns
true if this layout is approved. |
boolean |
isChildSelected(boolean selectable,
Layout layout) |
boolean |
isContentDisplayPage()
Returns
true if the current layout can be used as a content
display page. |
boolean |
isCustomizable() |
boolean |
isDenied()
Returns
true if this layout is denied. |
boolean |
isDraft()
Returns
true if this layout is a draft. |
boolean |
isDraftLayout() |
boolean |
isEmbeddedPersonalApplication() |
boolean |
isExpired()
Returns
true if this layout is expired. |
boolean |
isFirstChild()
Returns
true if the current layout is the first layout in
its parent's hierarchical list of children layouts. |
boolean |
isFirstParent()
Returns
true if the current layout is the topmost parent
layout. |
boolean |
isHidden()
Returns
true if this layout is hidden. |
boolean |
isIconImage() |
boolean |
isInactive()
Returns
true if this layout is inactive. |
boolean |
isIncomplete()
Returns
true if this layout is incomplete. |
boolean |
isInheritLookAndFeel()
Returns
true if the current layout utilizes its LayoutSet 's look and feel options (e.g. theme and color scheme). |
boolean |
isLayoutPrototypeLinkActive()
Returns
true if the current layout is built from a layout
template and still maintains an active connection to it. |
boolean |
isLayoutPrototypeLinkEnabled()
Returns
true if this layout is layout prototype link enabled. |
boolean |
isPending()
Returns
true if this layout is pending. |
boolean |
isPortletEmbedded(String portletId,
long groupId) |
boolean |
isPrivateLayout()
Returns
true if this layout is private layout. |
boolean |
isPublicLayout()
Returns
true if the current layout is part of the public
LayoutSet . |
boolean |
isPublished() |
boolean |
isRootLayout()
Returns
true if the current layout is the root layout. |
boolean |
isScheduled()
Returns
true if this layout is scheduled. |
boolean |
isSelected(boolean selectable,
Layout layout,
long ancestorPlid) |
boolean |
isSupportsEmbeddedPortlets()
Returns
true if the current layout can hold embedded
portlets. |
boolean |
isSystem()
Returns
true if this layout is system. |
boolean |
isTypeAssetDisplay() |
boolean |
isTypeCollection() |
boolean |
isTypeContent() |
boolean |
isTypeControlPanel() |
boolean |
isTypeEmbedded() |
boolean |
isTypeLinkToLayout() |
boolean |
isTypePanel() |
boolean |
isTypePortlet() |
boolean |
isTypeURL() |
boolean |
matches(javax.servlet.http.HttpServletRequest httpServletRequest,
String friendlyURL) |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale) |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this layout.
|
void |
setClassPK(long classPK)
Sets the class pk of this layout.
|
void |
setColorSchemeId(String colorSchemeId)
Sets the color scheme ID of this layout.
|
void |
setCompanyId(long companyId)
Sets the company ID of this layout.
|
void |
setCreateDate(Date createDate)
Sets the create date of this layout.
|
void |
setCss(String css)
Sets the css of this layout.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this layout.
|
void |
setDescription(String description)
Sets the description of this layout.
|
void |
setDescription(String description,
Locale locale)
Sets the localized description of this layout in the language.
|
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this layout in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(String languageId) |
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this layout from the map of locales and localized descriptions.
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this layout from the map of locales and localized descriptions, and sets the default locale.
|
void |
setFaviconFileEntryId(long faviconFileEntryId)
Sets the favicon file entry ID of this layout.
|
void |
setFriendlyURL(String friendlyURL)
Sets the friendly url of this layout.
|
void |
setGroupId(long groupId)
Sets the group ID of this layout.
|
void |
setHidden(boolean hidden)
Sets whether this layout is hidden.
|
void |
setIconImageId(long iconImageId)
Sets the icon image ID of this layout.
|
void |
setKeywords(String keywords)
Sets the keywords of this layout.
|
void |
setKeywords(String keywords,
Locale locale)
Sets the localized keywords of this layout in the language.
|
void |
setKeywords(String keywords,
Locale locale,
Locale defaultLocale)
Sets the localized keywords of this layout in the language, and sets the default locale.
|
void |
setKeywordsCurrentLanguageId(String languageId) |
void |
setKeywordsMap(Map<Locale,String> keywordsMap)
Sets the localized keywordses of this layout from the map of locales and localized keywordses.
|
void |
setKeywordsMap(Map<Locale,String> keywordsMap,
Locale defaultLocale)
Sets the localized keywordses of this layout from the map of locales and localized keywordses, and sets the default locale.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this layout.
|
void |
setLayoutId(long layoutId)
Sets the layout ID of this layout.
|
void |
setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
Sets whether this layout is layout prototype link enabled.
|
void |
setLayoutPrototypeUuid(String layoutPrototypeUuid)
Sets the layout prototype uuid of this layout.
|
void |
setLayoutSet(LayoutSet layoutSet) |
void |
setMasterLayoutPlid(long masterLayoutPlid)
Sets the master layout plid of this layout.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this layout.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout.
|
void |
setName(String name)
Sets the name of this layout.
|
void |
setName(String name,
Locale locale)
Sets the localized name of this layout in the language.
|
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this layout in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(String languageId) |
void |
setNameMap(Map<Locale,String> nameMap)
Sets the localized names of this layout from the map of locales and localized names.
|
void |
setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
Sets the localized names of this layout from the map of locales and localized names, and sets the default locale.
|
void |
setParentLayoutId(long parentLayoutId)
Sets the parent layout ID of this layout.
|
void |
setParentPlid(long parentPlid)
Sets the parent plid of this layout.
|
void |
setPlid(long plid)
Sets the plid of this layout.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout.
|
void |
setPriority(int priority)
Sets the priority of this layout.
|
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout is private layout.
|
void |
setPublishDate(Date publishDate)
Sets the publish date of this layout.
|
void |
setRobots(String robots)
Sets the robots of this layout.
|
void |
setRobots(String robots,
Locale locale)
Sets the localized robots of this layout in the language.
|
void |
setRobots(String robots,
Locale locale,
Locale defaultLocale)
Sets the localized robots of this layout in the language, and sets the default locale.
|
void |
setRobotsCurrentLanguageId(String languageId) |
void |
setRobotsMap(Map<Locale,String> robotsMap)
Sets the localized robotses of this layout from the map of locales and localized robotses.
|
void |
setRobotsMap(Map<Locale,String> robotsMap,
Locale defaultLocale)
Sets the localized robotses of this layout from the map of locales and localized robotses, and sets the default locale.
|
void |
setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Sets the source prototype layout uuid of this layout.
|
void |
setStatus(int status)
Sets the status of this layout.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this layout.
|
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this layout.
|
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this layout.
|
void |
setStatusDate(Date statusDate)
Sets the status date of this layout.
|
void |
setStyleBookEntryId(long styleBookEntryId)
Sets the style book entry ID of this layout.
|
void |
setSystem(boolean system)
Sets whether this layout is system.
|
void |
setThemeId(String themeId)
Sets the theme ID of this layout.
|
void |
setTitle(String title)
Sets the title of this layout.
|
void |
setTitle(String title,
Locale locale)
Sets the localized title of this layout in the language.
|
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this layout in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(String languageId) |
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this layout from the map of locales and localized titles.
|
void |
setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale.
|
void |
setType(String type)
Sets the type of this layout.
|
void |
setTypeSettings(String typeSettings)
Sets the type settings of this layout.
|
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties) |
void |
setUserId(long userId)
Sets the user ID of this layout.
|
void |
setUserName(String userName)
Sets the user name of this layout.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this layout.
|
void |
setUuid(String uuid)
Sets the uuid of this layout.
|
String |
toXmlString() |
protected LayoutWrapper |
wrap(Layout layout) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
clone
getWrappedModel
public LayoutWrapper(Layout layout)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Layout>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Layout>
public Layout cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<Layout>
cloneWithOriginalValues
in interface LayoutModel
public Layout fetchDraftLayout()
fetchDraftLayout
in interface Layout
public List<Layout> getAllChildren()
getAllChildren
in interface Layout
public long getAncestorLayoutId() throws PortalException
getAncestorLayoutId
in interface Layout
PortalException
public long getAncestorPlid() throws PortalException
getAncestorPlid
in interface Layout
PortalException
public List<Layout> getAncestors() throws PortalException
getAncestors
in interface Layout
PortalException
public String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface LayoutModel
getAvailableLanguageIds
in interface LocalizedModel
public String getBreadcrumb(Locale locale) throws PortalException
getBreadcrumb
in interface Layout
PortalException
public List<Layout> getChildren()
getChildren
in interface Layout
public List<Layout> getChildren(PermissionChecker permissionChecker) throws PortalException
getChildren
in interface Layout
permissionChecker
- the user-specific context to check permissionsPortalException
public String getClassName()
getClassName
in interface LayoutModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface LayoutModel
getClassNameId
in interface TypedModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface LayoutModel
public ColorScheme getColorScheme() throws PortalException
getColorScheme
in interface Layout
PortalException
public String getColorSchemeId()
getColorSchemeId
in interface LayoutModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface LayoutModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface LayoutModel
getCreateDate
in interface StagedModel
public String getCss()
getCss
in interface LayoutModel
public String getCssText() throws PortalException
Layouts and layout sets can configure CSS that is applied in addition to the theme's CSS.
getCssText
in interface Layout
PortalException
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<Layout>
getCtCollectionId
in interface LayoutModel
public String getDefaultLanguageId()
getDefaultLanguageId
in interface LayoutModel
getDefaultLanguageId
in interface LocalizedModel
public String getDefaultThemeSetting(String key, String device, boolean inheritLookAndFeel)
getDefaultThemeSetting
in interface Layout
public String getDescription()
getDescription
in interface LayoutModel
public String getDescription(Locale locale)
getDescription
in interface LayoutModel
locale
- the locale of the languagepublic String getDescription(Locale locale, boolean useDefault)
getDescription
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getDescription(String languageId)
getDescription
in interface LayoutModel
languageId
- the ID of the languagepublic String getDescription(String languageId, boolean useDefault)
getDescription
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface LayoutModel
public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface LayoutModel
public Map<Locale,String> getDescriptionMap()
getDescriptionMap
in interface LayoutModel
public List<Portlet> getEmbeddedPortlets()
getEmbeddedPortlets
in interface Layout
public List<Portlet> getEmbeddedPortlets(long groupId)
getEmbeddedPortlets
in interface Layout
public long getFaviconFileEntryId()
getFaviconFileEntryId
in interface LayoutModel
public String getFaviconURL()
getFaviconURL
in interface Layout
public String getFriendlyURL()
getFriendlyURL
in interface LayoutModel
public String getFriendlyURL(Locale locale)
getFriendlyURL
in interface Layout
locale
- the locale that the friendly URL should be retrieved forpublic Map<Locale,String> getFriendlyURLMap()
getFriendlyURLMap
in interface Layout
public String getFriendlyURLsXML()
getFriendlyURLsXML
in interface Layout
public Group getGroup()
Group is Liferay's technical name for a site.
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface LayoutModel
public boolean getHidden()
getHidden
in interface LayoutModel
public String getHTMLTitle(Locale locale)
getHTMLTitle
in interface Layout
locale
- the locale that the HTML title should be retrieved forpublic String getHTMLTitle(String localeLanguageId)
getHTMLTitle
in interface Layout
localeLanguageId
- the locale that the HTML title should be
retrieved forpublic boolean getIconImage()
true
if the current layout has a configured icon.getIconImage
in interface Layout
true
if the current layout has a configured icon;
false
otherwisepublic long getIconImageId()
getIconImageId
in interface LayoutModel
public String getKeywords()
getKeywords
in interface LayoutModel
public String getKeywords(Locale locale)
getKeywords
in interface LayoutModel
locale
- the locale of the languagepublic String getKeywords(Locale locale, boolean useDefault)
getKeywords
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getKeywords(String languageId)
getKeywords
in interface LayoutModel
languageId
- the ID of the languagepublic String getKeywords(String languageId, boolean useDefault)
getKeywords
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getKeywordsCurrentLanguageId()
getKeywordsCurrentLanguageId
in interface LayoutModel
public String getKeywordsCurrentValue()
getKeywordsCurrentValue
in interface LayoutModel
public Map<Locale,String> getKeywordsMap()
getKeywordsMap
in interface LayoutModel
public Date getLastPublishDate()
getLastPublishDate
in interface LayoutModel
getLastPublishDate
in interface StagedGroupedModel
public long getLayoutId()
getLayoutId
in interface LayoutModel
public boolean getLayoutPrototypeLinkEnabled()
getLayoutPrototypeLinkEnabled
in interface LayoutModel
public String getLayoutPrototypeUuid()
getLayoutPrototypeUuid
in interface LayoutModel
public LayoutSet getLayoutSet()
LayoutSet
.getLayoutSet
in interface Layout
public LayoutType getLayoutType()
LayoutType
.getLayoutType
in interface Layout
public Layout getLinkedToLayout()
getLinkedToLayout
in interface Layout
null
if no
linked layout could be foundpublic long getMasterLayoutPlid()
getMasterLayoutPlid
in interface LayoutModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface LayoutModel
getModifiedDate
in interface StagedModel
public long getMvccVersion()
getMvccVersion
in interface LayoutModel
getMvccVersion
in interface MVCCModel
public String getName()
getName
in interface LayoutModel
public String getName(Locale locale)
getName
in interface LayoutModel
locale
- the locale of the languagepublic String getName(Locale locale, boolean useDefault)
getName
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getName(String languageId)
getName
in interface LayoutModel
languageId
- the ID of the languagepublic String getName(String languageId, boolean useDefault)
getName
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface LayoutModel
public String getNameCurrentValue()
getNameCurrentValue
in interface LayoutModel
public Map<Locale,String> getNameMap()
getNameMap
in interface LayoutModel
public long getParentLayoutId()
getParentLayoutId
in interface LayoutModel
public long getParentPlid()
getParentPlid
in interface LayoutModel
public long getPlid()
getPlid
in interface LayoutModel
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<Layout>
getPrimaryKey
in interface LayoutModel
public int getPriority()
getPriority
in interface LayoutModel
public boolean getPrivateLayout()
getPrivateLayout
in interface LayoutModel
public Date getPublishDate()
getPublishDate
in interface LayoutModel
public String getRegularURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException
getRegularURL
in interface Layout
PortalException
public String getResetLayoutURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException
getResetLayoutURL
in interface Layout
PortalException
public String getResetMaxStateURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException
getResetMaxStateURL
in interface Layout
PortalException
public String getRobots()
getRobots
in interface LayoutModel
public String getRobots(Locale locale)
getRobots
in interface LayoutModel
locale
- the locale of the languagepublic String getRobots(Locale locale, boolean useDefault)
getRobots
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getRobots(String languageId)
getRobots
in interface LayoutModel
languageId
- the ID of the languagepublic String getRobots(String languageId, boolean useDefault)
getRobots
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getRobotsCurrentLanguageId()
getRobotsCurrentLanguageId
in interface LayoutModel
public String getRobotsCurrentValue()
getRobotsCurrentValue
in interface LayoutModel
public Map<Locale,String> getRobotsMap()
getRobotsMap
in interface LayoutModel
public Group getScopeGroup() throws PortalException
getScopeGroup
in interface Layout
PortalException
public String getSourcePrototypeLayoutUuid()
getSourcePrototypeLayoutUuid
in interface LayoutModel
public int getStatus()
getStatus
in interface LayoutModel
getStatus
in interface WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface LayoutModel
getStatusByUserId
in interface WorkflowedModel
public String getStatusByUserName()
getStatusByUserName
in interface LayoutModel
getStatusByUserName
in interface WorkflowedModel
public String getStatusByUserUuid()
getStatusByUserUuid
in interface LayoutModel
getStatusByUserUuid
in interface WorkflowedModel
public Date getStatusDate()
getStatusDate
in interface LayoutModel
getStatusDate
in interface WorkflowedModel
public long getStyleBookEntryId()
getStyleBookEntryId
in interface LayoutModel
public boolean getSystem()
getSystem
in interface LayoutModel
public Theme getTheme() throws PortalException
getTheme
in interface Layout
PortalException
public String getThemeId()
getThemeId
in interface LayoutModel
public String getThemeSetting(String key, String device)
getThemeSetting
in interface Layout
public String getThemeSetting(String key, String device, boolean inheritLookAndFeel)
getThemeSetting
in interface Layout
public String getTitle()
getTitle
in interface LayoutModel
public String getTitle(Locale locale)
getTitle
in interface LayoutModel
locale
- the locale of the languagepublic String getTitle(Locale locale, boolean useDefault)
getTitle
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getTitle(String languageId)
getTitle
in interface LayoutModel
languageId
- the ID of the languagepublic String getTitle(String languageId, boolean useDefault)
getTitle
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface LayoutModel
public String getTitleCurrentValue()
getTitleCurrentValue
in interface LayoutModel
public Map<Locale,String> getTitleMap()
getTitleMap
in interface LayoutModel
public String getType()
getType
in interface LayoutModel
public String getTypeSettings()
getTypeSettings
in interface LayoutModel
public UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface Layout
public String getTypeSettingsProperty(String key)
getTypeSettingsProperty
in interface Layout
public String getTypeSettingsProperty(String key, String defaultValue)
getTypeSettingsProperty
in interface Layout
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface LayoutModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface LayoutModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface LayoutModel
public String getUuid()
getUuid
in interface LayoutModel
getUuid
in interface StagedModel
public boolean hasAncestor(long layoutId) throws PortalException
true
if the given layout ID matches one of the
current layout's hierarchical parents.hasAncestor
in interface Layout
layoutId
- the layout ID to search for in the current layout's
parent listtrue
if the given layout ID matches one of the
current layout's hierarchical parents; false
otherwisePortalException
public boolean hasChildren()
true
if the current layout has child layouts.hasChildren
in interface Layout
true
if the current layout has child layouts,
false
otherwisepublic boolean hasScopeGroup() throws PortalException
hasScopeGroup
in interface Layout
PortalException
public boolean hasSetModifiedDate()
hasSetModifiedDate
in interface Layout
public boolean includeLayoutContent(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
includeLayoutContent
in interface Layout
Exception
public boolean isApproved()
true
if this layout is approved.isApproved
in interface LayoutModel
isApproved
in interface WorkflowedModel
true
if this layout is approved; false
otherwisepublic boolean isChildSelected(boolean selectable, Layout layout) throws PortalException
isChildSelected
in interface Layout
PortalException
public boolean isContentDisplayPage()
true
if the current layout can be used as a content
display page.
A content display page must have an Asset Publisher portlet that is configured as the default Asset Publisher for the layout.
isContentDisplayPage
in interface Layout
true
if the current layout can be used as a content
display page; false
otherwisepublic boolean isCustomizable()
isCustomizable
in interface Layout
public boolean isDenied()
true
if this layout is denied.isDenied
in interface LayoutModel
isDenied
in interface WorkflowedModel
true
if this layout is denied; false
otherwisepublic boolean isDraft()
true
if this layout is a draft.isDraft
in interface LayoutModel
isDraft
in interface WorkflowedModel
true
if this layout is a draft; false
otherwisepublic boolean isDraftLayout()
isDraftLayout
in interface Layout
public boolean isEmbeddedPersonalApplication()
isEmbeddedPersonalApplication
in interface Layout
public boolean isExpired()
true
if this layout is expired.isExpired
in interface LayoutModel
isExpired
in interface WorkflowedModel
true
if this layout is expired; false
otherwisepublic boolean isFirstChild()
true
if the current layout is the first layout in
its parent's hierarchical list of children layouts.isFirstChild
in interface Layout
true
if the current layout is the first layout in
its parent's hierarchical list of children layouts;
false
otherwisepublic boolean isFirstParent()
true
if the current layout is the topmost parent
layout.isFirstParent
in interface Layout
true
if the current layout is the topmost parent
layout; false
otherwisepublic boolean isHidden()
true
if this layout is hidden.isHidden
in interface LayoutModel
true
if this layout is hidden; false
otherwisepublic boolean isIconImage()
isIconImage
in interface Layout
public boolean isInactive()
true
if this layout is inactive.isInactive
in interface LayoutModel
isInactive
in interface WorkflowedModel
true
if this layout is inactive; false
otherwisepublic boolean isIncomplete()
true
if this layout is incomplete.isIncomplete
in interface LayoutModel
isIncomplete
in interface WorkflowedModel
true
if this layout is incomplete; false
otherwisepublic boolean isInheritLookAndFeel()
true
if the current layout utilizes its LayoutSet
's look and feel options (e.g. theme and color scheme).isInheritLookAndFeel
in interface Layout
true
if the current layout utilizes its layout set's
look and feel options; false
otherwisepublic boolean isLayoutPrototypeLinkActive()
true
if the current layout is built from a layout
template and still maintains an active connection to it.isLayoutPrototypeLinkActive
in interface Layout
true
if the current layout is built from a layout
template and still maintains an active connection to it;
false
otherwisepublic boolean isLayoutPrototypeLinkEnabled()
true
if this layout is layout prototype link enabled.isLayoutPrototypeLinkEnabled
in interface LayoutModel
true
if this layout is layout prototype link enabled; false
otherwisepublic boolean isPending()
true
if this layout is pending.isPending
in interface LayoutModel
isPending
in interface WorkflowedModel
true
if this layout is pending; false
otherwisepublic boolean isPortletEmbedded(String portletId, long groupId)
isPortletEmbedded
in interface Layout
public boolean isPrivateLayout()
true
if this layout is private layout.isPrivateLayout
in interface LayoutModel
true
if this layout is private layout; false
otherwisepublic boolean isPublicLayout()
true
if the current layout is part of the public
LayoutSet
.
Note, the returned value reflects the layout's default access options, not its access permissions.
isPublicLayout
in interface Layout
true
if the current layout is part of the public
layout set; false
otherwisepublic boolean isPublished()
isPublished
in interface Layout
public boolean isRootLayout()
true
if the current layout is the root layout.isRootLayout
in interface Layout
true
if the current layout is the root layout;
false
otherwisepublic boolean isScheduled()
true
if this layout is scheduled.isScheduled
in interface LayoutModel
isScheduled
in interface WorkflowedModel
true
if this layout is scheduled; false
otherwisepublic boolean isSelected(boolean selectable, Layout layout, long ancestorPlid)
isSelected
in interface Layout
public boolean isSupportsEmbeddedPortlets()
true
if the current layout can hold embedded
portlets.isSupportsEmbeddedPortlets
in interface Layout
true
if the current layout can hold embedded
portlets; false
otherwisepublic boolean isSystem()
true
if this layout is system.isSystem
in interface LayoutModel
true
if this layout is system; false
otherwisepublic boolean isTypeAssetDisplay()
isTypeAssetDisplay
in interface Layout
public boolean isTypeCollection()
isTypeCollection
in interface Layout
public boolean isTypeContent()
isTypeContent
in interface Layout
public boolean isTypeControlPanel()
isTypeControlPanel
in interface Layout
public boolean isTypeEmbedded()
isTypeEmbedded
in interface Layout
public boolean isTypeLinkToLayout()
isTypeLinkToLayout
in interface Layout
public boolean isTypePanel()
isTypePanel
in interface Layout
public boolean isTypePortlet()
isTypePortlet
in interface Layout
public boolean matches(javax.servlet.http.HttpServletRequest httpServletRequest, String friendlyURL)
public void persist()
PersistedModel
persist
in interface PersistedModel
public void prepareLocalizedFieldsForImport() throws LocaleException
prepareLocalizedFieldsForImport
in interface LayoutModel
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface LayoutModel
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
public void setClassName(String className)
setClassName
in interface LayoutModel
public void setClassNameId(long classNameId)
setClassNameId
in interface LayoutModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this layoutpublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface LayoutModel
classPK
- the class pk of this layoutpublic void setColorSchemeId(String colorSchemeId)
setColorSchemeId
in interface LayoutModel
colorSchemeId
- the color scheme ID of this layoutpublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface LayoutModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this layoutpublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface LayoutModel
setCreateDate
in interface StagedModel
createDate
- the create date of this layoutpublic void setCss(String css)
setCss
in interface LayoutModel
css
- the css of this layoutpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<Layout>
setCtCollectionId
in interface LayoutModel
ctCollectionId
- the ct collection ID of this layoutpublic void setDescription(String description)
setDescription
in interface LayoutModel
description
- the description of this layoutpublic void setDescription(String description, Locale locale)
setDescription
in interface LayoutModel
description
- the localized description of this layoutlocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
setDescription
in interface LayoutModel
description
- the localized description of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface LayoutModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap
in interface LayoutModel
descriptionMap
- the locales and localized descriptions of this layoutpublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
setDescriptionMap
in interface LayoutModel
descriptionMap
- the locales and localized descriptions of this layoutdefaultLocale
- the default localepublic void setFaviconFileEntryId(long faviconFileEntryId)
setFaviconFileEntryId
in interface LayoutModel
faviconFileEntryId
- the favicon file entry ID of this layoutpublic void setFriendlyURL(String friendlyURL)
setFriendlyURL
in interface LayoutModel
friendlyURL
- the friendly url of this layoutpublic void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface LayoutModel
groupId
- the group ID of this layoutpublic void setHidden(boolean hidden)
setHidden
in interface LayoutModel
hidden
- the hidden of this layoutpublic void setIconImageId(long iconImageId)
setIconImageId
in interface LayoutModel
iconImageId
- the icon image ID of this layoutpublic void setKeywords(String keywords)
setKeywords
in interface LayoutModel
keywords
- the keywords of this layoutpublic void setKeywords(String keywords, Locale locale)
setKeywords
in interface LayoutModel
keywords
- the localized keywords of this layoutlocale
- the locale of the languagepublic void setKeywords(String keywords, Locale locale, Locale defaultLocale)
setKeywords
in interface LayoutModel
keywords
- the localized keywords of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setKeywordsCurrentLanguageId(String languageId)
setKeywordsCurrentLanguageId
in interface LayoutModel
public void setKeywordsMap(Map<Locale,String> keywordsMap)
setKeywordsMap
in interface LayoutModel
keywordsMap
- the locales and localized keywordses of this layoutpublic void setKeywordsMap(Map<Locale,String> keywordsMap, Locale defaultLocale)
setKeywordsMap
in interface LayoutModel
keywordsMap
- the locales and localized keywordses of this layoutdefaultLocale
- the default localepublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface LayoutModel
setLastPublishDate
in interface StagedGroupedModel
lastPublishDate
- the last publish date of this layoutpublic void setLayoutId(long layoutId)
setLayoutId
in interface LayoutModel
layoutId
- the layout ID of this layoutpublic void setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
setLayoutPrototypeLinkEnabled
in interface LayoutModel
layoutPrototypeLinkEnabled
- the layout prototype link enabled of this layoutpublic void setLayoutPrototypeUuid(String layoutPrototypeUuid)
setLayoutPrototypeUuid
in interface LayoutModel
layoutPrototypeUuid
- the layout prototype uuid of this layoutpublic void setLayoutSet(LayoutSet layoutSet)
setLayoutSet
in interface Layout
public void setMasterLayoutPlid(long masterLayoutPlid)
setMasterLayoutPlid
in interface LayoutModel
masterLayoutPlid
- the master layout plid of this layoutpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface LayoutModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this layoutpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface LayoutModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this layoutpublic void setName(String name)
setName
in interface LayoutModel
name
- the name of this layoutpublic void setName(String name, Locale locale)
setName
in interface LayoutModel
name
- the localized name of this layoutlocale
- the locale of the languagepublic void setName(String name, Locale locale, Locale defaultLocale)
setName
in interface LayoutModel
name
- the localized name of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId
in interface LayoutModel
public void setNameMap(Map<Locale,String> nameMap)
setNameMap
in interface LayoutModel
nameMap
- the locales and localized names of this layoutpublic void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
setNameMap
in interface LayoutModel
nameMap
- the locales and localized names of this layoutdefaultLocale
- the default localepublic void setParentLayoutId(long parentLayoutId)
setParentLayoutId
in interface LayoutModel
parentLayoutId
- the parent layout ID of this layoutpublic void setParentPlid(long parentPlid)
setParentPlid
in interface LayoutModel
parentPlid
- the parent plid of this layoutpublic void setPlid(long plid)
setPlid
in interface LayoutModel
plid
- the plid of this layoutpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<Layout>
setPrimaryKey
in interface LayoutModel
primaryKey
- the primary key of this layoutpublic void setPriority(int priority)
setPriority
in interface LayoutModel
priority
- the priority of this layoutpublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface LayoutModel
privateLayout
- the private layout of this layoutpublic void setPublishDate(Date publishDate)
setPublishDate
in interface LayoutModel
publishDate
- the publish date of this layoutpublic void setRobots(String robots)
setRobots
in interface LayoutModel
robots
- the robots of this layoutpublic void setRobots(String robots, Locale locale)
setRobots
in interface LayoutModel
robots
- the localized robots of this layoutlocale
- the locale of the languagepublic void setRobots(String robots, Locale locale, Locale defaultLocale)
setRobots
in interface LayoutModel
robots
- the localized robots of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setRobotsCurrentLanguageId(String languageId)
setRobotsCurrentLanguageId
in interface LayoutModel
public void setRobotsMap(Map<Locale,String> robotsMap)
setRobotsMap
in interface LayoutModel
robotsMap
- the locales and localized robotses of this layoutpublic void setRobotsMap(Map<Locale,String> robotsMap, Locale defaultLocale)
setRobotsMap
in interface LayoutModel
robotsMap
- the locales and localized robotses of this layoutdefaultLocale
- the default localepublic void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
setSourcePrototypeLayoutUuid
in interface LayoutModel
sourcePrototypeLayoutUuid
- the source prototype layout uuid of this layoutpublic void setStatus(int status)
setStatus
in interface LayoutModel
setStatus
in interface WorkflowedModel
status
- the status of this layoutpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface LayoutModel
setStatusByUserId
in interface WorkflowedModel
statusByUserId
- the status by user ID of this layoutpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface LayoutModel
setStatusByUserName
in interface WorkflowedModel
statusByUserName
- the status by user name of this layoutpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface LayoutModel
setStatusByUserUuid
in interface WorkflowedModel
statusByUserUuid
- the status by user uuid of this layoutpublic void setStatusDate(Date statusDate)
setStatusDate
in interface LayoutModel
setStatusDate
in interface WorkflowedModel
statusDate
- the status date of this layoutpublic void setStyleBookEntryId(long styleBookEntryId)
setStyleBookEntryId
in interface LayoutModel
styleBookEntryId
- the style book entry ID of this layoutpublic void setSystem(boolean system)
setSystem
in interface LayoutModel
system
- the system of this layoutpublic void setThemeId(String themeId)
setThemeId
in interface LayoutModel
themeId
- the theme ID of this layoutpublic void setTitle(String title)
setTitle
in interface LayoutModel
title
- the title of this layoutpublic void setTitle(String title, Locale locale)
setTitle
in interface LayoutModel
title
- the localized title of this layoutlocale
- the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
setTitle
in interface LayoutModel
title
- the localized title of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId
in interface LayoutModel
public void setTitleMap(Map<Locale,String> titleMap)
setTitleMap
in interface LayoutModel
titleMap
- the locales and localized titles of this layoutpublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
setTitleMap
in interface LayoutModel
titleMap
- the locales and localized titles of this layoutdefaultLocale
- the default localepublic void setType(String type)
setType
in interface LayoutModel
type
- the type of this layoutpublic void setTypeSettings(String typeSettings)
setTypeSettings
in interface LayoutModel
typeSettings
- the type settings of this layoutpublic void setTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsProperties
in interface Layout
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface LayoutModel
userId
- the user ID of this layoutpublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface LayoutModel
userName
- the user name of this layoutpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface LayoutModel
userUuid
- the user uuid of this layoutpublic void setUuid(String uuid)
setUuid
in interface LayoutModel
setUuid
in interface StagedModel
uuid
- the uuid of this layoutpublic String toXmlString()
toXmlString
in interface LayoutModel
public Map<String,Function<Layout,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<Layout>
public Map<String,BiConsumer<Layout,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<Layout>
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected LayoutWrapper wrap(Layout layout)
wrap
in class BaseModelWrapper<Layout>