public class VirtualLayout extends LayoutWrapper
modelLAYOUT_ID_ACCESSOR, PLID_ACCESSOR| Constructor and Description |
|---|
VirtualLayout(Layout sourceLayout,
Group targetGroup) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
List<Portlet> |
getEmbeddedPortlets() |
String |
getFriendlyURL()
Returns the friendly url of this layout.
|
String |
getFriendlyURL(Locale locale)
Returns the layout's friendly URL for the given locale.
|
Group |
getGroup()
Returns the current layout's group.
|
long |
getGroupId()
Returns the group ID of this layout.
|
Group |
getHostGroup() |
LayoutSet |
getLayoutSet()
Returns the current layout's
LayoutSet. |
LayoutType |
getLayoutType()
Returns the current layout's
LayoutType. |
String |
getRegularURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
String |
getResetLayoutURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
String |
getResetMaxStateURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
long |
getSourceGroupId() |
Layout |
getSourceLayout() |
long |
getVirtualGroupId() |
protected String |
injectVirtualGroupURL(String layoutURL,
Locale locale) |
void |
setLayoutSet(LayoutSet layoutSet) |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout is private layout.
|
getAllChildren, getAncestorLayoutId, getAncestorPlid, getAncestors, getAvailableLanguageIds, getChildren, getChildren, getClassName, getClassNameId, getClassPK, getColorScheme, getColorSchemeId, getCompanyId, getCreateDate, getCss, getCssText, getDefaultLanguageId, getDefaultThemeSetting, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getEmbeddedPortlets, getFriendlyURLMap, getFriendlyURLsXML, getHeadId, getHidden, getHTMLTitle, getHTMLTitle, getIconImage, getIconImageId, getKeywords, getKeywords, getKeywords, getKeywords, getKeywords, getKeywordsCurrentLanguageId, getKeywordsCurrentValue, getKeywordsMap, getLastPublishDate, getLayoutId, getLayoutPrototypeLinkEnabled, getLayoutPrototypeUuid, getLinkedToLayout, getModelAttributes, getModifiedDate, getMvccVersion, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getParentLayoutId, getParentPlid, getPlid, getPrimaryKey, getPriority, getPrivateLayout, getPublishDate, getRobots, getRobots, getRobots, getRobots, getRobots, getRobotsCurrentLanguageId, getRobotsCurrentValue, getRobotsMap, getScopeGroup, getSourcePrototypeLayoutUuid, getStagedModelType, getSystem, getTarget, getTheme, getThemeId, getThemeSetting, getThemeSetting, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getType, getTypeSettings, getTypeSettingsProperties, getTypeSettingsProperty, getTypeSettingsProperty, getUserId, getUserName, getUserUuid, getUuid, hasAncestor, hasChildren, hasScopeGroup, hasSetModifiedDate, includeLayoutContent, isChildSelected, isContentDisplayPage, isCustomizable, isFirstChild, isFirstParent, isHead, isHidden, isIconImage, isInheritLookAndFeel, isLayoutPrototypeLinkActive, isLayoutPrototypeLinkEnabled, isPortletEmbedded, isPrivateLayout, isPublicLayout, isRootLayout, isSelected, isSupportsEmbeddedPortlets, isSystem, isTypeControlPanel, isTypeEmbedded, isTypeLinkToLayout, isTypePanel, isTypePortlet, isTypeSharedPortlet, isTypeURL, matches, persist, populateVersionModel, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setClassName, setClassNameId, setClassPK, setColorSchemeId, setCompanyId, setCreateDate, setCss, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setFriendlyURL, setGroupId, setHeadId, setHidden, setIconImageId, setKeywords, setKeywords, setKeywords, setKeywordsCurrentLanguageId, setKeywordsMap, setKeywordsMap, setLastPublishDate, setLayoutId, setLayoutPrototypeLinkEnabled, setLayoutPrototypeUuid, setModelAttributes, setModifiedDate, setMvccVersion, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setParentLayoutId, setParentPlid, setPlid, setPrimaryKey, setPriority, setPublishDate, setRobots, setRobots, setRobots, setRobotsCurrentLanguageId, setRobotsMap, setRobotsMap, setSourcePrototypeLayoutUuid, setSystem, setThemeId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setType, setTypeSettings, setTypeSettingsProperties, setUserId, setUserName, setUserUuid, setUuid, wrapcompareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameisDraftgetWrappedModelpublic Object clone()
BaseModelclone in interface BaseModel<Layout>clone in interface StagedModelclone in class BaseModelWrapper<Layout>public List<Portlet> getEmbeddedPortlets()
getEmbeddedPortlets in interface LayoutgetEmbeddedPortlets in class LayoutWrapperpublic String getFriendlyURL()
LayoutWrappergetFriendlyURL in interface LayoutModelgetFriendlyURL in class LayoutWrapperpublic String getFriendlyURL(Locale locale)
LayoutWrappergetFriendlyURL in interface LayoutgetFriendlyURL in class LayoutWrapperlocale - the locale that the friendly URL should be retrieved forpublic Group getGroup()
LayoutWrapperGroup is Liferay's technical name for a site.
getGroup in interface LayoutgetGroup in class LayoutWrapperpublic long getGroupId()
LayoutWrappergetGroupId in interface GroupedModelgetGroupId in interface LayoutModelgetGroupId in class LayoutWrapperpublic Group getHostGroup()
public LayoutSet getLayoutSet()
LayoutWrapperLayoutSet.getLayoutSet in interface LayoutgetLayoutSet in class LayoutWrapperpublic LayoutType getLayoutType()
LayoutWrapperLayoutType.getLayoutType in interface LayoutgetLayoutType in class LayoutWrapperpublic String getRegularURL(javax.servlet.http.HttpServletRequest httpServletRequest)
throws PortalException
getRegularURL in interface LayoutgetRegularURL in class LayoutWrapperPortalExceptionpublic String getResetLayoutURL(javax.servlet.http.HttpServletRequest httpServletRequest)
throws PortalException
getResetLayoutURL in interface LayoutgetResetLayoutURL in class LayoutWrapperPortalExceptionpublic String getResetMaxStateURL(javax.servlet.http.HttpServletRequest httpServletRequest)
throws PortalException
getResetMaxStateURL in interface LayoutgetResetMaxStateURL in class LayoutWrapperPortalExceptionpublic long getSourceGroupId()
public Layout getSourceLayout()
public long getVirtualGroupId()
public void setLayoutSet(LayoutSet layoutSet)
setLayoutSet in interface LayoutsetLayoutSet in class LayoutWrapperpublic void setPrivateLayout(boolean privateLayout)
LayoutWrappersetPrivateLayout in interface LayoutModelsetPrivateLayout in class LayoutWrapperprivateLayout - the private layout of this layoutprotected String injectVirtualGroupURL(String layoutURL,
Locale locale)