com.liferay.portal.kernel.model.LayoutWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.kernel Show documentation
Show all versions of com.liferay.portal.kernel Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.kernel.model;
import aQute.bnd.annotation.ProviderType;
import com.liferay.expando.kernel.model.ExpandoBridge;
import com.liferay.exportimport.kernel.lar.StagedModelType;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.util.Validator;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
*
* This class is a wrapper for {@link Layout}.
*
*
* @author Brian Wing Shun Chan
* @see Layout
* @generated
*/
@ProviderType
public class LayoutWrapper implements Layout, ModelWrapper {
public LayoutWrapper(Layout layout) {
_layout = layout;
}
@Override
public Class> getModelClass() {
return Layout.class;
}
@Override
public String getModelClassName() {
return Layout.class.getName();
}
@Override
public Map getModelAttributes() {
Map attributes = new HashMap();
attributes.put("mvccVersion", getMvccVersion());
attributes.put("uuid", getUuid());
attributes.put("plid", getPlid());
attributes.put("groupId", getGroupId());
attributes.put("companyId", getCompanyId());
attributes.put("userId", getUserId());
attributes.put("userName", getUserName());
attributes.put("createDate", getCreateDate());
attributes.put("modifiedDate", getModifiedDate());
attributes.put("privateLayout", getPrivateLayout());
attributes.put("layoutId", getLayoutId());
attributes.put("parentLayoutId", getParentLayoutId());
attributes.put("name", getName());
attributes.put("title", getTitle());
attributes.put("description", getDescription());
attributes.put("keywords", getKeywords());
attributes.put("robots", getRobots());
attributes.put("type", getType());
attributes.put("typeSettings", getTypeSettings());
attributes.put("hidden", getHidden());
attributes.put("friendlyURL", getFriendlyURL());
attributes.put("iconImageId", getIconImageId());
attributes.put("themeId", getThemeId());
attributes.put("colorSchemeId", getColorSchemeId());
attributes.put("css", getCss());
attributes.put("priority", getPriority());
attributes.put("layoutPrototypeUuid", getLayoutPrototypeUuid());
attributes.put("layoutPrototypeLinkEnabled",
getLayoutPrototypeLinkEnabled());
attributes.put("sourcePrototypeLayoutUuid",
getSourcePrototypeLayoutUuid());
attributes.put("lastPublishDate", getLastPublishDate());
return attributes;
}
@Override
public void setModelAttributes(Map attributes) {
Long mvccVersion = (Long)attributes.get("mvccVersion");
if (mvccVersion != null) {
setMvccVersion(mvccVersion);
}
String uuid = (String)attributes.get("uuid");
if (uuid != null) {
setUuid(uuid);
}
Long plid = (Long)attributes.get("plid");
if (plid != null) {
setPlid(plid);
}
Long groupId = (Long)attributes.get("groupId");
if (groupId != null) {
setGroupId(groupId);
}
Long companyId = (Long)attributes.get("companyId");
if (companyId != null) {
setCompanyId(companyId);
}
Long userId = (Long)attributes.get("userId");
if (userId != null) {
setUserId(userId);
}
String userName = (String)attributes.get("userName");
if (userName != null) {
setUserName(userName);
}
Date createDate = (Date)attributes.get("createDate");
if (createDate != null) {
setCreateDate(createDate);
}
Date modifiedDate = (Date)attributes.get("modifiedDate");
if (modifiedDate != null) {
setModifiedDate(modifiedDate);
}
Boolean privateLayout = (Boolean)attributes.get("privateLayout");
if (privateLayout != null) {
setPrivateLayout(privateLayout);
}
Long layoutId = (Long)attributes.get("layoutId");
if (layoutId != null) {
setLayoutId(layoutId);
}
Long parentLayoutId = (Long)attributes.get("parentLayoutId");
if (parentLayoutId != null) {
setParentLayoutId(parentLayoutId);
}
String name = (String)attributes.get("name");
if (name != null) {
setName(name);
}
String title = (String)attributes.get("title");
if (title != null) {
setTitle(title);
}
String description = (String)attributes.get("description");
if (description != null) {
setDescription(description);
}
String keywords = (String)attributes.get("keywords");
if (keywords != null) {
setKeywords(keywords);
}
String robots = (String)attributes.get("robots");
if (robots != null) {
setRobots(robots);
}
String type = (String)attributes.get("type");
if (type != null) {
setType(type);
}
String typeSettings = (String)attributes.get("typeSettings");
if (typeSettings != null) {
setTypeSettings(typeSettings);
}
Boolean hidden = (Boolean)attributes.get("hidden");
if (hidden != null) {
setHidden(hidden);
}
String friendlyURL = (String)attributes.get("friendlyURL");
if (friendlyURL != null) {
setFriendlyURL(friendlyURL);
}
Long iconImageId = (Long)attributes.get("iconImageId");
if (iconImageId != null) {
setIconImageId(iconImageId);
}
String themeId = (String)attributes.get("themeId");
if (themeId != null) {
setThemeId(themeId);
}
String colorSchemeId = (String)attributes.get("colorSchemeId");
if (colorSchemeId != null) {
setColorSchemeId(colorSchemeId);
}
String css = (String)attributes.get("css");
if (css != null) {
setCss(css);
}
Integer priority = (Integer)attributes.get("priority");
if (priority != null) {
setPriority(priority);
}
String layoutPrototypeUuid = (String)attributes.get(
"layoutPrototypeUuid");
if (layoutPrototypeUuid != null) {
setLayoutPrototypeUuid(layoutPrototypeUuid);
}
Boolean layoutPrototypeLinkEnabled = (Boolean)attributes.get(
"layoutPrototypeLinkEnabled");
if (layoutPrototypeLinkEnabled != null) {
setLayoutPrototypeLinkEnabled(layoutPrototypeLinkEnabled);
}
String sourcePrototypeLayoutUuid = (String)attributes.get(
"sourcePrototypeLayoutUuid");
if (sourcePrototypeLayoutUuid != null) {
setSourcePrototypeLayoutUuid(sourcePrototypeLayoutUuid);
}
Date lastPublishDate = (Date)attributes.get("lastPublishDate");
if (lastPublishDate != null) {
setLastPublishDate(lastPublishDate);
}
}
@Override
public java.lang.Object clone() {
return new LayoutWrapper((Layout)_layout.clone());
}
@Override
public int compareTo(com.liferay.portal.kernel.model.Layout layout) {
return _layout.compareTo(layout);
}
/**
* Returns all layouts that are direct or indirect children of the current
* layout.
*
* @return the layouts that are direct or indirect children of the current
layout
*/
@Override
public java.util.List getAllChildren() {
return _layout.getAllChildren();
}
/**
* Returns the ID of the topmost parent layout (e.g. n-th parent layout) of
* the current layout.
*
* @return the ID of the topmost parent layout of the current layout
*/
@Override
public long getAncestorLayoutId()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getAncestorLayoutId();
}
/**
* Returns the plid of the topmost parent layout (e.g. n-th parent layout)
* of the current layout.
*
* @return the plid of the topmost parent layout of the current layout
*/
@Override
public long getAncestorPlid()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getAncestorPlid();
}
/**
* Returns all parent layouts of the current layout. The list is retrieved
* recursively with the direct parent layout listed first, and most distant
* parent listed last.
*
* @return the current layout's list of parent layouts
*/
@Override
public java.util.List getAncestors()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getAncestors();
}
@Override
public java.lang.String[] getAvailableLanguageIds() {
return _layout.getAvailableLanguageIds();
}
/**
* Returns all child layouts of the current layout, independent of user
* access permissions.
*
* @return the list of all child layouts
*/
@Override
public java.util.List getChildren() {
return _layout.getChildren();
}
/**
* Returns all child layouts of the current layout that the user has
* permission to access.
*
* @param permissionChecker the user-specific context to check permissions
* @return the list of all child layouts that the user has permission to
access
*/
@Override
public java.util.List getChildren(
com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getChildren(permissionChecker);
}
/**
* 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.
*
* @return 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
*/
@Override
public com.liferay.portal.kernel.model.ColorScheme getColorScheme()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getColorScheme();
}
/**
* Returns the color scheme ID of this layout.
*
* @return the color scheme ID of this layout
*/
@Override
public java.lang.String getColorSchemeId() {
return _layout.getColorSchemeId();
}
/**
* Returns the company ID of this layout.
*
* @return the company ID of this layout
*/
@Override
public long getCompanyId() {
return _layout.getCompanyId();
}
/**
* Returns the create date of this layout.
*
* @return the create date of this layout
*/
@Override
public Date getCreateDate() {
return _layout.getCreateDate();
}
/**
* Returns the css of this layout.
*
* @return the css of this layout
*/
@Override
public java.lang.String getCss() {
return _layout.getCss();
}
/**
* Returns the CSS text for the current layout, or for the layout set if no
* CSS text is configured in the current layout.
*
*
* Layouts and layout sets can configure CSS that is applied in addition to
* the theme's CSS.
*
*
* @return the CSS text for the current layout, or for the layout set if no
CSS text is configured in the current layout
*/
@Override
public java.lang.String getCssText()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getCssText();
}
@Override
public java.lang.String getDefaultLanguageId() {
return _layout.getDefaultLanguageId();
}
@Override
public java.lang.String getDefaultThemeSetting(java.lang.String key,
java.lang.String device, boolean inheritLookAndFeel) {
return _layout.getDefaultThemeSetting(key, device, inheritLookAndFeel);
}
/**
* Returns the description of this layout.
*
* @return the description of this layout
*/
@Override
public java.lang.String getDescription() {
return _layout.getDescription();
}
/**
* Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @return the localized description of this layout
*/
@Override
public java.lang.String getDescription(java.lang.String languageId) {
return _layout.getDescription(languageId);
}
/**
* Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized description of this layout
*/
@Override
public java.lang.String getDescription(java.lang.String languageId,
boolean useDefault) {
return _layout.getDescription(languageId, useDefault);
}
/**
* Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param locale the locale of the language
* @return the localized description of this layout
*/
@Override
public java.lang.String getDescription(java.util.Locale locale) {
return _layout.getDescription(locale);
}
/**
* Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param locale the local of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized description of this layout. If useDefault
is false
and no localization exists for the requested language, an empty string will be returned.
*/
@Override
public java.lang.String getDescription(java.util.Locale locale,
boolean useDefault) {
return _layout.getDescription(locale, useDefault);
}
@Override
public java.lang.String getDescriptionCurrentLanguageId() {
return _layout.getDescriptionCurrentLanguageId();
}
@Override
public java.lang.String getDescriptionCurrentValue() {
return _layout.getDescriptionCurrentValue();
}
/**
* Returns a map of the locales and localized descriptions of this layout.
*
* @return the locales and localized descriptions of this layout
*/
@Override
public Map getDescriptionMap() {
return _layout.getDescriptionMap();
}
@Override
public java.util.List getEmbeddedPortlets() {
return _layout.getEmbeddedPortlets();
}
@Override
public java.util.List getEmbeddedPortlets(
long groupId) {
return _layout.getEmbeddedPortlets(groupId);
}
@Override
public ExpandoBridge getExpandoBridge() {
return _layout.getExpandoBridge();
}
/**
* Returns the friendly u r l of this layout.
*
* @return the friendly u r l of this layout
*/
@Override
public java.lang.String getFriendlyURL() {
return _layout.getFriendlyURL();
}
/**
* Returns the layout's friendly URL for the given locale.
*
* @param locale the locale that the friendly URL should be retrieved for
* @return the layout's friendly URL for the given locale
*/
@Override
public java.lang.String getFriendlyURL(java.util.Locale locale) {
return _layout.getFriendlyURL(locale);
}
/**
* Returns the friendly URLs for all configured locales.
*
* @return the friendly URLs for all configured locales
*/
@Override
public Map getFriendlyURLMap() {
return _layout.getFriendlyURLMap();
}
@Override
public java.lang.String getFriendlyURLsXML() {
return _layout.getFriendlyURLsXML();
}
/**
* Returns the current layout's group.
*
*
* Group is Liferay's technical name for a site.
*
*
* @return the current layout's group
*/
@Override
public com.liferay.portal.kernel.model.Group getGroup()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getGroup();
}
/**
* Returns the group ID of this layout.
*
* @return the group ID of this layout
*/
@Override
public long getGroupId() {
return _layout.getGroupId();
}
/**
* 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.
*
* @param locale the locale that the HTML title should be retrieved for
* @return 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
*/
@Override
public java.lang.String getHTMLTitle(java.util.Locale locale) {
return _layout.getHTMLTitle(locale);
}
/**
* 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.
*
* @param localeLanguageId the locale that the HTML title should be
retrieved for
* @return the current layout's HTML title for the given locale language ID,
or the current layout's name if no HTML title is configured
*/
@Override
public java.lang.String getHTMLTitle(java.lang.String localeLanguageId) {
return _layout.getHTMLTitle(localeLanguageId);
}
/**
* Returns the hidden of this layout.
*
* @return the hidden of this layout
*/
@Override
public boolean getHidden() {
return _layout.getHidden();
}
/**
* Returns true
if the current layout has a configured icon.
*
* @return true
if the current layout has a configured icon;
false
otherwise
*/
@Override
public boolean getIconImage() {
return _layout.getIconImage();
}
/**
* Returns the icon image ID of this layout.
*
* @return the icon image ID of this layout
*/
@Override
public long getIconImageId() {
return _layout.getIconImageId();
}
/**
* Returns the keywords of this layout.
*
* @return the keywords of this layout
*/
@Override
public java.lang.String getKeywords() {
return _layout.getKeywords();
}
/**
* Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @return the localized keywords of this layout
*/
@Override
public java.lang.String getKeywords(java.lang.String languageId) {
return _layout.getKeywords(languageId);
}
/**
* Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized keywords of this layout
*/
@Override
public java.lang.String getKeywords(java.lang.String languageId,
boolean useDefault) {
return _layout.getKeywords(languageId, useDefault);
}
/**
* Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param locale the locale of the language
* @return the localized keywords of this layout
*/
@Override
public java.lang.String getKeywords(java.util.Locale locale) {
return _layout.getKeywords(locale);
}
/**
* Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param locale the local of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized keywords of this layout. If useDefault
is false
and no localization exists for the requested language, an empty string will be returned.
*/
@Override
public java.lang.String getKeywords(java.util.Locale locale,
boolean useDefault) {
return _layout.getKeywords(locale, useDefault);
}
@Override
public java.lang.String getKeywordsCurrentLanguageId() {
return _layout.getKeywordsCurrentLanguageId();
}
@Override
public java.lang.String getKeywordsCurrentValue() {
return _layout.getKeywordsCurrentValue();
}
/**
* Returns a map of the locales and localized keywordses of this layout.
*
* @return the locales and localized keywordses of this layout
*/
@Override
public Map getKeywordsMap() {
return _layout.getKeywordsMap();
}
/**
* Returns the last publish date of this layout.
*
* @return the last publish date of this layout
*/
@Override
public Date getLastPublishDate() {
return _layout.getLastPublishDate();
}
/**
* Returns the layout ID of this layout.
*
* @return the layout ID of this layout
*/
@Override
public long getLayoutId() {
return _layout.getLayoutId();
}
/**
* Returns the layout prototype link enabled of this layout.
*
* @return the layout prototype link enabled of this layout
*/
@Override
public boolean getLayoutPrototypeLinkEnabled() {
return _layout.getLayoutPrototypeLinkEnabled();
}
/**
* Returns the layout prototype uuid of this layout.
*
* @return the layout prototype uuid of this layout
*/
@Override
public java.lang.String getLayoutPrototypeUuid() {
return _layout.getLayoutPrototypeUuid();
}
/**
* Returns the current layout's {@link LayoutSet}.
*
* @return the current layout's layout set
*/
@Override
public com.liferay.portal.kernel.model.LayoutSet getLayoutSet()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getLayoutSet();
}
/**
* Returns the current layout's {@link LayoutType}.
*
* @return the current layout's layout type
*/
@Override
public com.liferay.portal.kernel.model.LayoutType getLayoutType() {
return _layout.getLayoutType();
}
/**
* Returns the current layout's linked layout.
*
* @return the current layout's linked layout, or null
if no
linked layout could be found
*/
@Override
public com.liferay.portal.kernel.model.Layout getLinkedToLayout() {
return _layout.getLinkedToLayout();
}
/**
* Returns the modified date of this layout.
*
* @return the modified date of this layout
*/
@Override
public Date getModifiedDate() {
return _layout.getModifiedDate();
}
/**
* Returns the mvcc version of this layout.
*
* @return the mvcc version of this layout
*/
@Override
public long getMvccVersion() {
return _layout.getMvccVersion();
}
/**
* Returns the name of this layout.
*
* @return the name of this layout
*/
@Override
public java.lang.String getName() {
return _layout.getName();
}
/**
* Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @return the localized name of this layout
*/
@Override
public java.lang.String getName(java.lang.String languageId) {
return _layout.getName(languageId);
}
/**
* Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized name of this layout
*/
@Override
public java.lang.String getName(java.lang.String languageId,
boolean useDefault) {
return _layout.getName(languageId, useDefault);
}
/**
* Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param locale the locale of the language
* @return the localized name of this layout
*/
@Override
public java.lang.String getName(java.util.Locale locale) {
return _layout.getName(locale);
}
/**
* Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param locale the local of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized name of this layout. If useDefault
is false
and no localization exists for the requested language, an empty string will be returned.
*/
@Override
public java.lang.String getName(java.util.Locale locale, boolean useDefault) {
return _layout.getName(locale, useDefault);
}
@Override
public java.lang.String getNameCurrentLanguageId() {
return _layout.getNameCurrentLanguageId();
}
@Override
public java.lang.String getNameCurrentValue() {
return _layout.getNameCurrentValue();
}
/**
* Returns a map of the locales and localized names of this layout.
*
* @return the locales and localized names of this layout
*/
@Override
public Map getNameMap() {
return _layout.getNameMap();
}
/**
* Returns the parent layout ID of this layout.
*
* @return the parent layout ID of this layout
*/
@Override
public long getParentLayoutId() {
return _layout.getParentLayoutId();
}
/**
* Returns the current layout's parent plid.
*
* @return the current layout's parent plid, or 0
if the
current layout is the topmost parent layout
*/
@Override
public long getParentPlid()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getParentPlid();
}
/**
* Returns the plid of this layout.
*
* @return the plid of this layout
*/
@Override
public long getPlid() {
return _layout.getPlid();
}
/**
* Returns the primary key of this layout.
*
* @return the primary key of this layout
*/
@Override
public long getPrimaryKey() {
return _layout.getPrimaryKey();
}
@Override
public Serializable getPrimaryKeyObj() {
return _layout.getPrimaryKeyObj();
}
/**
* Returns the priority of this layout.
*
* @return the priority of this layout
*/
@Override
public int getPriority() {
return _layout.getPriority();
}
/**
* Returns the private layout of this layout.
*
* @return the private layout of this layout
*/
@Override
public boolean getPrivateLayout() {
return _layout.getPrivateLayout();
}
@Override
public java.lang.String getRegularURL(
javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getRegularURL(request);
}
@Override
public java.lang.String getResetLayoutURL(
javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getResetLayoutURL(request);
}
@Override
public java.lang.String getResetMaxStateURL(
javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getResetMaxStateURL(request);
}
/**
* Returns the robots of this layout.
*
* @return the robots of this layout
*/
@Override
public java.lang.String getRobots() {
return _layout.getRobots();
}
/**
* Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @return the localized robots of this layout
*/
@Override
public java.lang.String getRobots(java.lang.String languageId) {
return _layout.getRobots(languageId);
}
/**
* Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized robots of this layout
*/
@Override
public java.lang.String getRobots(java.lang.String languageId,
boolean useDefault) {
return _layout.getRobots(languageId, useDefault);
}
/**
* Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param locale the locale of the language
* @return the localized robots of this layout
*/
@Override
public java.lang.String getRobots(java.util.Locale locale) {
return _layout.getRobots(locale);
}
/**
* Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param locale the local of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized robots of this layout. If useDefault
is false
and no localization exists for the requested language, an empty string will be returned.
*/
@Override
public java.lang.String getRobots(java.util.Locale locale,
boolean useDefault) {
return _layout.getRobots(locale, useDefault);
}
@Override
public java.lang.String getRobotsCurrentLanguageId() {
return _layout.getRobotsCurrentLanguageId();
}
@Override
public java.lang.String getRobotsCurrentValue() {
return _layout.getRobotsCurrentValue();
}
/**
* Returns a map of the locales and localized robotses of this layout.
*
* @return the locales and localized robotses of this layout
*/
@Override
public Map getRobotsMap() {
return _layout.getRobotsMap();
}
@Override
public com.liferay.portal.kernel.model.Group getScopeGroup()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getScopeGroup();
}
/**
* Returns the source prototype layout uuid of this layout.
*
* @return the source prototype layout uuid of this layout
*/
@Override
public java.lang.String getSourcePrototypeLayoutUuid() {
return _layout.getSourcePrototypeLayoutUuid();
}
@Override
public java.lang.String getTarget() {
return _layout.getTarget();
}
/**
* Returns the current layout's theme, or the layout set's theme if no
* layout theme is configured.
*
* @return the current layout's theme, or the layout set's theme if no
layout theme is configured
*/
@Override
public com.liferay.portal.kernel.model.Theme getTheme()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.getTheme();
}
/**
* Returns the theme ID of this layout.
*
* @return the theme ID of this layout
*/
@Override
public java.lang.String getThemeId() {
return _layout.getThemeId();
}
@Override
public java.lang.String getThemeSetting(java.lang.String key,
java.lang.String device) {
return _layout.getThemeSetting(key, device);
}
@Override
public java.lang.String getThemeSetting(java.lang.String key,
java.lang.String device, boolean inheritLookAndFeel) {
return _layout.getThemeSetting(key, device, inheritLookAndFeel);
}
/**
* Returns the title of this layout.
*
* @return the title of this layout
*/
@Override
public java.lang.String getTitle() {
return _layout.getTitle();
}
/**
* Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @return the localized title of this layout
*/
@Override
public java.lang.String getTitle(java.lang.String languageId) {
return _layout.getTitle(languageId);
}
/**
* Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized title of this layout
*/
@Override
public java.lang.String getTitle(java.lang.String languageId,
boolean useDefault) {
return _layout.getTitle(languageId, useDefault);
}
/**
* Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.
*
* @param locale the locale of the language
* @return the localized title of this layout
*/
@Override
public java.lang.String getTitle(java.util.Locale locale) {
return _layout.getTitle(locale);
}
/**
* Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
*
* @param locale the local of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized title of this layout. If useDefault
is false
and no localization exists for the requested language, an empty string will be returned.
*/
@Override
public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
return _layout.getTitle(locale, useDefault);
}
@Override
public java.lang.String getTitleCurrentLanguageId() {
return _layout.getTitleCurrentLanguageId();
}
@Override
public java.lang.String getTitleCurrentValue() {
return _layout.getTitleCurrentValue();
}
/**
* Returns a map of the locales and localized titles of this layout.
*
* @return the locales and localized titles of this layout
*/
@Override
public Map getTitleMap() {
return _layout.getTitleMap();
}
/**
* Returns the type of this layout.
*
* @return the type of this layout
*/
@Override
public java.lang.String getType() {
return _layout.getType();
}
/**
* Returns the type settings of this layout.
*
* @return the type settings of this layout
*/
@Override
public java.lang.String getTypeSettings() {
return _layout.getTypeSettings();
}
@Override
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
return _layout.getTypeSettingsProperties();
}
@Override
public java.lang.String getTypeSettingsProperty(java.lang.String key) {
return _layout.getTypeSettingsProperty(key);
}
@Override
public java.lang.String getTypeSettingsProperty(java.lang.String key,
java.lang.String defaultValue) {
return _layout.getTypeSettingsProperty(key, defaultValue);
}
/**
* Returns the user ID of this layout.
*
* @return the user ID of this layout
*/
@Override
public long getUserId() {
return _layout.getUserId();
}
/**
* Returns the user name of this layout.
*
* @return the user name of this layout
*/
@Override
public java.lang.String getUserName() {
return _layout.getUserName();
}
/**
* Returns the user uuid of this layout.
*
* @return the user uuid of this layout
*/
@Override
public java.lang.String getUserUuid() {
return _layout.getUserUuid();
}
/**
* Returns the uuid of this layout.
*
* @return the uuid of this layout
*/
@Override
public java.lang.String getUuid() {
return _layout.getUuid();
}
/**
* Returns true
if the given layout ID matches one of the
* current layout's hierarchical parents.
*
* @param layoutId the layout ID to search for in the current layout's
parent list
* @return true
if the given layout ID matches one of the
current layout's hierarchical parents; false
otherwise
*/
@Override
public boolean hasAncestor(long layoutId)
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.hasAncestor(layoutId);
}
/**
* Returns true
if the current layout has child layouts.
*
* @return true
if the current layout has child layouts,
false
otherwise
*/
@Override
public boolean hasChildren() {
return _layout.hasChildren();
}
@Override
public boolean hasScopeGroup()
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.hasScopeGroup();
}
@Override
public boolean hasSetModifiedDate() {
return _layout.hasSetModifiedDate();
}
@Override
public int hashCode() {
return _layout.hashCode();
}
@Override
public boolean includeLayoutContent(
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception {
return _layout.includeLayoutContent(request, response);
}
@Override
public boolean isCachedModel() {
return _layout.isCachedModel();
}
@Override
public boolean isChildSelected(boolean selectable,
com.liferay.portal.kernel.model.Layout layout)
throws com.liferay.portal.kernel.exception.PortalException {
return _layout.isChildSelected(selectable, layout);
}
/**
* Returns 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.
*
*
* @return true
if the current layout can be used as a content
display page; false
otherwise
*/
@Override
public boolean isContentDisplayPage() {
return _layout.isContentDisplayPage();
}
@Override
public boolean isCustomizable() {
return _layout.isCustomizable();
}
@Override
public boolean isEscapedModel() {
return _layout.isEscapedModel();
}
/**
* Returns true
if the current layout is the first layout in
* its parent's hierarchical list of children layouts.
*
* @return true
if the current layout is the first layout in
its parent's hierarchical list of children layouts;
false
otherwise
*/
@Override
public boolean isFirstChild() {
return _layout.isFirstChild();
}
/**
* Returns true
if the current layout is the topmost parent
* layout.
*
* @return true
if the current layout is the topmost parent
layout; false
otherwise
*/
@Override
public boolean isFirstParent() {
return _layout.isFirstParent();
}
/**
* Returns true
if this layout is hidden.
*
* @return true
if this layout is hidden; false
otherwise
*/
@Override
public boolean isHidden() {
return _layout.isHidden();
}
@Override
public boolean isIconImage() {
return _layout.isIconImage();
}
/**
* Returns true
if the current layout utilizes its {@link
* LayoutSet}'s look and feel options (e.g. theme and color scheme).
*
* @return true
if the current layout utilizes its layout set's
look and feel options; false
otherwise
*/
@Override
public boolean isInheritLookAndFeel() {
return _layout.isInheritLookAndFeel();
}
/**
* Returns true
if the current layout is built from a layout
* template and still maintains an active connection to it.
*
* @return true
if the current layout is built from a layout
template and still maintains an active connection to it;
false
otherwise
*/
@Override
public boolean isLayoutPrototypeLinkActive() {
return _layout.isLayoutPrototypeLinkActive();
}
/**
* Returns true
if this layout is layout prototype link enabled.
*
* @return true
if this layout is layout prototype link enabled; false
otherwise
*/
@Override
public boolean isLayoutPrototypeLinkEnabled() {
return _layout.isLayoutPrototypeLinkEnabled();
}
@Override
public boolean isNew() {
return _layout.isNew();
}
@Override
public boolean isPortletEmbedded(java.lang.String portletId, long groupId) {
return _layout.isPortletEmbedded(portletId, groupId);
}
/**
* Returns true
if this layout is private layout.
*
* @return true
if this layout is private layout; false
otherwise
*/
@Override
public boolean isPrivateLayout() {
return _layout.isPrivateLayout();
}
/**
* Returns true
if the current layout is part of the public
* {@link LayoutSet}.
*
*
* Note, the returned value reflects the layout's default access options,
* not its access permissions.
*
*
* @return true
if the current layout is part of the public
layout set; false
otherwise
*/
@Override
public boolean isPublicLayout() {
return _layout.isPublicLayout();
}
/**
* Returns true
if the current layout is the root layout.
*
* @return true
if the current layout is the root layout;
false
otherwise
*/
@Override
public boolean isRootLayout() {
return _layout.isRootLayout();
}
@Override
public boolean isSelected(boolean selectable,
com.liferay.portal.kernel.model.Layout layout, long ancestorPlid) {
return _layout.isSelected(selectable, layout, ancestorPlid);
}
/**
* Returns true
if the current layout can hold embedded
* portlets.
*
* @return true
if the current layout can hold embedded
portlets; false
otherwise
*/
@Override
public boolean isSupportsEmbeddedPortlets() {
return _layout.isSupportsEmbeddedPortlets();
}
/**
* @deprecated As of 7.0.0, with no direct replacement
*/
@Deprecated
@Override
public boolean isTypeArticle() {
return _layout.isTypeArticle();
}
@Override
public boolean isTypeControlPanel() {
return _layout.isTypeControlPanel();
}
@Override
public boolean isTypeEmbedded() {
return _layout.isTypeEmbedded();
}
@Override
public boolean isTypeLinkToLayout() {
return _layout.isTypeLinkToLayout();
}
@Override
public boolean isTypePanel() {
return _layout.isTypePanel();
}
@Override
public boolean isTypePortlet() {
return _layout.isTypePortlet();
}
@Override
public boolean isTypeSharedPortlet() {
return _layout.isTypeSharedPortlet();
}
@Override
public boolean isTypeURL() {
return _layout.isTypeURL();
}
@Override
public boolean matches(javax.servlet.http.HttpServletRequest request,
java.lang.String friendlyURL) {
return _layout.matches(request, friendlyURL);
}
@Override
public void persist() {
_layout.persist();
}
@Override
public void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException {
_layout.prepareLocalizedFieldsForImport();
}
@Override
public void prepareLocalizedFieldsForImport(
java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException {
_layout.prepareLocalizedFieldsForImport(defaultImportLocale);
}
@Override
public void setCachedModel(boolean cachedModel) {
_layout.setCachedModel(cachedModel);
}
/**
* Sets the color scheme ID of this layout.
*
* @param colorSchemeId the color scheme ID of this layout
*/
@Override
public void setColorSchemeId(java.lang.String colorSchemeId) {
_layout.setColorSchemeId(colorSchemeId);
}
/**
* Sets the company ID of this layout.
*
* @param companyId the company ID of this layout
*/
@Override
public void setCompanyId(long companyId) {
_layout.setCompanyId(companyId);
}
/**
* Sets the create date of this layout.
*
* @param createDate the create date of this layout
*/
@Override
public void setCreateDate(Date createDate) {
_layout.setCreateDate(createDate);
}
/**
* Sets the css of this layout.
*
* @param css the css of this layout
*/
@Override
public void setCss(java.lang.String css) {
_layout.setCss(css);
}
/**
* Sets the description of this layout.
*
* @param description the description of this layout
*/
@Override
public void setDescription(java.lang.String description) {
_layout.setDescription(description);
}
/**
* Sets the localized description of this layout in the language.
*
* @param description the localized description of this layout
* @param locale the locale of the language
*/
@Override
public void setDescription(java.lang.String description,
java.util.Locale locale) {
_layout.setDescription(description, locale);
}
/**
* Sets the localized description of this layout in the language, and sets the default locale.
*
* @param description the localized description of this layout
* @param locale the locale of the language
* @param defaultLocale the default locale
*/
@Override
public void setDescription(java.lang.String description,
java.util.Locale locale, java.util.Locale defaultLocale) {
_layout.setDescription(description, locale, defaultLocale);
}
@Override
public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
_layout.setDescriptionCurrentLanguageId(languageId);
}
/**
* Sets the localized descriptions of this layout from the map of locales and localized descriptions.
*
* @param descriptionMap the locales and localized descriptions of this layout
*/
@Override
public void setDescriptionMap(
Map descriptionMap) {
_layout.setDescriptionMap(descriptionMap);
}
/**
* Sets the localized descriptions of this layout from the map of locales and localized descriptions, and sets the default locale.
*
* @param descriptionMap the locales and localized descriptions of this layout
* @param defaultLocale the default locale
*/
@Override
public void setDescriptionMap(
Map descriptionMap,
java.util.Locale defaultLocale) {
_layout.setDescriptionMap(descriptionMap, defaultLocale);
}
@Override
public void setExpandoBridgeAttributes(BaseModel> baseModel) {
_layout.setExpandoBridgeAttributes(baseModel);
}
@Override
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge) {
_layout.setExpandoBridgeAttributes(expandoBridge);
}
@Override
public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
_layout.setExpandoBridgeAttributes(serviceContext);
}
/**
* Sets the friendly u r l of this layout.
*
* @param friendlyURL the friendly u r l of this layout
*/
@Override
public void setFriendlyURL(java.lang.String friendlyURL) {
_layout.setFriendlyURL(friendlyURL);
}
/**
* Sets the group ID of this layout.
*
* @param groupId the group ID of this layout
*/
@Override
public void setGroupId(long groupId) {
_layout.setGroupId(groupId);
}
/**
* Sets whether this layout is hidden.
*
* @param hidden the hidden of this layout
*/
@Override
public void setHidden(boolean hidden) {
_layout.setHidden(hidden);
}
/**
* Sets the icon image ID of this layout.
*
* @param iconImageId the icon image ID of this layout
*/
@Override
public void setIconImageId(long iconImageId) {
_layout.setIconImageId(iconImageId);
}
/**
* Sets the keywords of this layout.
*
* @param keywords the keywords of this layout
*/
@Override
public void setKeywords(java.lang.String keywords) {
_layout.setKeywords(keywords);
}
/**
* Sets the localized keywords of this layout in the language.
*
* @param keywords the localized keywords of this layout
* @param locale the locale of the language
*/
@Override
public void setKeywords(java.lang.String keywords, java.util.Locale locale) {
_layout.setKeywords(keywords, locale);
}
/**
* Sets the localized keywords of this layout in the language, and sets the default locale.
*
* @param keywords the localized keywords of this layout
* @param locale the locale of the language
* @param defaultLocale the default locale
*/
@Override
public void setKeywords(java.lang.String keywords, java.util.Locale locale,
java.util.Locale defaultLocale) {
_layout.setKeywords(keywords, locale, defaultLocale);
}
@Override
public void setKeywordsCurrentLanguageId(java.lang.String languageId) {
_layout.setKeywordsCurrentLanguageId(languageId);
}
/**
* Sets the localized keywordses of this layout from the map of locales and localized keywordses.
*
* @param keywordsMap the locales and localized keywordses of this layout
*/
@Override
public void setKeywordsMap(
Map keywordsMap) {
_layout.setKeywordsMap(keywordsMap);
}
/**
* Sets the localized keywordses of this layout from the map of locales and localized keywordses, and sets the default locale.
*
* @param keywordsMap the locales and localized keywordses of this layout
* @param defaultLocale the default locale
*/
@Override
public void setKeywordsMap(
Map keywordsMap,
java.util.Locale defaultLocale) {
_layout.setKeywordsMap(keywordsMap, defaultLocale);
}
/**
* Sets the last publish date of this layout.
*
* @param lastPublishDate the last publish date of this layout
*/
@Override
public void setLastPublishDate(Date lastPublishDate) {
_layout.setLastPublishDate(lastPublishDate);
}
/**
* Sets the layout ID of this layout.
*
* @param layoutId the layout ID of this layout
*/
@Override
public void setLayoutId(long layoutId) {
_layout.setLayoutId(layoutId);
}
/**
* Sets whether this layout is layout prototype link enabled.
*
* @param layoutPrototypeLinkEnabled the layout prototype link enabled of this layout
*/
@Override
public void setLayoutPrototypeLinkEnabled(
boolean layoutPrototypeLinkEnabled) {
_layout.setLayoutPrototypeLinkEnabled(layoutPrototypeLinkEnabled);
}
/**
* Sets the layout prototype uuid of this layout.
*
* @param layoutPrototypeUuid the layout prototype uuid of this layout
*/
@Override
public void setLayoutPrototypeUuid(java.lang.String layoutPrototypeUuid) {
_layout.setLayoutPrototypeUuid(layoutPrototypeUuid);
}
@Override
public void setLayoutSet(
com.liferay.portal.kernel.model.LayoutSet layoutSet) {
_layout.setLayoutSet(layoutSet);
}
/**
* Sets the modified date of this layout.
*
* @param modifiedDate the modified date of this layout
*/
@Override
public void setModifiedDate(Date modifiedDate) {
_layout.setModifiedDate(modifiedDate);
}
/**
* Sets the mvcc version of this layout.
*
* @param mvccVersion the mvcc version of this layout
*/
@Override
public void setMvccVersion(long mvccVersion) {
_layout.setMvccVersion(mvccVersion);
}
/**
* Sets the name of this layout.
*
* @param name the name of this layout
*/
@Override
public void setName(java.lang.String name) {
_layout.setName(name);
}
/**
* Sets the localized name of this layout in the language.
*
* @param name the localized name of this layout
* @param locale the locale of the language
*/
@Override
public void setName(java.lang.String name, java.util.Locale locale) {
_layout.setName(name, locale);
}
/**
* Sets the localized name of this layout in the language, and sets the default locale.
*
* @param name the localized name of this layout
* @param locale the locale of the language
* @param defaultLocale the default locale
*/
@Override
public void setName(java.lang.String name, java.util.Locale locale,
java.util.Locale defaultLocale) {
_layout.setName(name, locale, defaultLocale);
}
@Override
public void setNameCurrentLanguageId(java.lang.String languageId) {
_layout.setNameCurrentLanguageId(languageId);
}
/**
* Sets the localized names of this layout from the map of locales and localized names.
*
* @param nameMap the locales and localized names of this layout
*/
@Override
public void setNameMap(Map nameMap) {
_layout.setNameMap(nameMap);
}
/**
* Sets the localized names of this layout from the map of locales and localized names, and sets the default locale.
*
* @param nameMap the locales and localized names of this layout
* @param defaultLocale the default locale
*/
@Override
public void setNameMap(Map nameMap,
java.util.Locale defaultLocale) {
_layout.setNameMap(nameMap, defaultLocale);
}
@Override
public void setNew(boolean n) {
_layout.setNew(n);
}
/**
* Sets the parent layout ID of this layout.
*
* @param parentLayoutId the parent layout ID of this layout
*/
@Override
public void setParentLayoutId(long parentLayoutId) {
_layout.setParentLayoutId(parentLayoutId);
}
/**
* Sets the plid of this layout.
*
* @param plid the plid of this layout
*/
@Override
public void setPlid(long plid) {
_layout.setPlid(plid);
}
/**
* Sets the primary key of this layout.
*
* @param primaryKey the primary key of this layout
*/
@Override
public void setPrimaryKey(long primaryKey) {
_layout.setPrimaryKey(primaryKey);
}
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj) {
_layout.setPrimaryKeyObj(primaryKeyObj);
}
/**
* Sets the priority of this layout.
*
* @param priority the priority of this layout
*/
@Override
public void setPriority(int priority) {
_layout.setPriority(priority);
}
/**
* Sets whether this layout is private layout.
*
* @param privateLayout the private layout of this layout
*/
@Override
public void setPrivateLayout(boolean privateLayout) {
_layout.setPrivateLayout(privateLayout);
}
/**
* Sets the robots of this layout.
*
* @param robots the robots of this layout
*/
@Override
public void setRobots(java.lang.String robots) {
_layout.setRobots(robots);
}
/**
* Sets the localized robots of this layout in the language.
*
* @param robots the localized robots of this layout
* @param locale the locale of the language
*/
@Override
public void setRobots(java.lang.String robots, java.util.Locale locale) {
_layout.setRobots(robots, locale);
}
/**
* Sets the localized robots of this layout in the language, and sets the default locale.
*
* @param robots the localized robots of this layout
* @param locale the locale of the language
* @param defaultLocale the default locale
*/
@Override
public void setRobots(java.lang.String robots, java.util.Locale locale,
java.util.Locale defaultLocale) {
_layout.setRobots(robots, locale, defaultLocale);
}
@Override
public void setRobotsCurrentLanguageId(java.lang.String languageId) {
_layout.setRobotsCurrentLanguageId(languageId);
}
/**
* Sets the localized robotses of this layout from the map of locales and localized robotses.
*
* @param robotsMap the locales and localized robotses of this layout
*/
@Override
public void setRobotsMap(Map robotsMap) {
_layout.setRobotsMap(robotsMap);
}
/**
* Sets the localized robotses of this layout from the map of locales and localized robotses, and sets the default locale.
*
* @param robotsMap the locales and localized robotses of this layout
* @param defaultLocale the default locale
*/
@Override
public void setRobotsMap(
Map robotsMap,
java.util.Locale defaultLocale) {
_layout.setRobotsMap(robotsMap, defaultLocale);
}
/**
* Sets the source prototype layout uuid of this layout.
*
* @param sourcePrototypeLayoutUuid the source prototype layout uuid of this layout
*/
@Override
public void setSourcePrototypeLayoutUuid(
java.lang.String sourcePrototypeLayoutUuid) {
_layout.setSourcePrototypeLayoutUuid(sourcePrototypeLayoutUuid);
}
/**
* Sets the theme ID of this layout.
*
* @param themeId the theme ID of this layout
*/
@Override
public void setThemeId(java.lang.String themeId) {
_layout.setThemeId(themeId);
}
/**
* Sets the title of this layout.
*
* @param title the title of this layout
*/
@Override
public void setTitle(java.lang.String title) {
_layout.setTitle(title);
}
/**
* Sets the localized title of this layout in the language.
*
* @param title the localized title of this layout
* @param locale the locale of the language
*/
@Override
public void setTitle(java.lang.String title, java.util.Locale locale) {
_layout.setTitle(title, locale);
}
/**
* Sets the localized title of this layout in the language, and sets the default locale.
*
* @param title the localized title of this layout
* @param locale the locale of the language
* @param defaultLocale the default locale
*/
@Override
public void setTitle(java.lang.String title, java.util.Locale locale,
java.util.Locale defaultLocale) {
_layout.setTitle(title, locale, defaultLocale);
}
@Override
public void setTitleCurrentLanguageId(java.lang.String languageId) {
_layout.setTitleCurrentLanguageId(languageId);
}
/**
* Sets the localized titles of this layout from the map of locales and localized titles.
*
* @param titleMap the locales and localized titles of this layout
*/
@Override
public void setTitleMap(Map titleMap) {
_layout.setTitleMap(titleMap);
}
/**
* Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale.
*
* @param titleMap the locales and localized titles of this layout
* @param defaultLocale the default locale
*/
@Override
public void setTitleMap(Map titleMap,
java.util.Locale defaultLocale) {
_layout.setTitleMap(titleMap, defaultLocale);
}
/**
* Sets the type of this layout.
*
* @param type the type of this layout
*/
@Override
public void setType(java.lang.String type) {
_layout.setType(type);
}
/**
* Sets the type settings of this layout.
*
* @param typeSettings the type settings of this layout
*/
@Override
public void setTypeSettings(java.lang.String typeSettings) {
_layout.setTypeSettings(typeSettings);
}
@Override
public void setTypeSettingsProperties(
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
_layout.setTypeSettingsProperties(typeSettingsProperties);
}
/**
* Sets the user ID of this layout.
*
* @param userId the user ID of this layout
*/
@Override
public void setUserId(long userId) {
_layout.setUserId(userId);
}
/**
* Sets the user name of this layout.
*
* @param userName the user name of this layout
*/
@Override
public void setUserName(java.lang.String userName) {
_layout.setUserName(userName);
}
/**
* Sets the user uuid of this layout.
*
* @param userUuid the user uuid of this layout
*/
@Override
public void setUserUuid(java.lang.String userUuid) {
_layout.setUserUuid(userUuid);
}
/**
* Sets the uuid of this layout.
*
* @param uuid the uuid of this layout
*/
@Override
public void setUuid(java.lang.String uuid) {
_layout.setUuid(uuid);
}
@Override
public CacheModel toCacheModel() {
return _layout.toCacheModel();
}
@Override
public com.liferay.portal.kernel.model.Layout toEscapedModel() {
return new LayoutWrapper(_layout.toEscapedModel());
}
@Override
public java.lang.String toString() {
return _layout.toString();
}
@Override
public com.liferay.portal.kernel.model.Layout toUnescapedModel() {
return new LayoutWrapper(_layout.toUnescapedModel());
}
@Override
public java.lang.String toXmlString() {
return _layout.toXmlString();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof LayoutWrapper)) {
return false;
}
LayoutWrapper layoutWrapper = (LayoutWrapper)obj;
if (Validator.equals(_layout, layoutWrapper._layout)) {
return true;
}
return false;
}
@Override
public StagedModelType getStagedModelType() {
return _layout.getStagedModelType();
}
@Override
public Layout getWrappedModel() {
return _layout;
}
@Override
public boolean isEntityCacheEnabled() {
return _layout.isEntityCacheEnabled();
}
@Override
public boolean isFinderCacheEnabled() {
return _layout.isFinderCacheEnabled();
}
@Override
public void resetOriginalValues() {
_layout.resetOriginalValues();
}
private final Layout _layout;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy