public class VirtualLayout extends LayoutWrapper
LAYOUT_ID_ACCESSOR, PLID_ACCESSOR| Constructor and Description |
|---|
VirtualLayout(Layout sourceLayout,
Group targetGroup) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
java.util.List<Portlet> |
getEmbeddedPortlets() |
java.lang.String |
getFriendlyURL()
Returns the friendly u r l of this layout.
|
java.lang.String |
getFriendlyURL(java.util.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. |
java.lang.String |
getRegularURL(javax.servlet.http.HttpServletRequest request) |
java.lang.String |
getResetLayoutURL(javax.servlet.http.HttpServletRequest request) |
java.lang.String |
getResetMaxStateURL(javax.servlet.http.HttpServletRequest request) |
long |
getSourceGroupId() |
Layout |
getSourceLayout() |
long |
getVirtualGroupId() |
protected java.lang.String |
injectVirtualGroupURL(java.lang.String layoutURL,
java.util.Locale locale) |
compareTo, equals, getAllChildren, getAncestorLayoutId, getAncestorPlid, getAncestors, getAvailableLanguageIds, getChildren, getChildren, getColorScheme, getColorSchemeId, getCompanyId, getCreateDate, getCss, getCssText, getDefaultLanguageId, getDefaultThemeSetting, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getEmbeddedPortlets, getExpandoBridge, getFriendlyURLMap, getFriendlyURLsXML, getHidden, getHTMLTitle, getHTMLTitle, getIconImage, getIconImageId, getKeywords, getKeywords, getKeywords, getKeywords, getKeywords, getKeywordsCurrentLanguageId, getKeywordsCurrentValue, getKeywordsMap, getLastPublishDate, getLayoutId, getLayoutPrototypeLinkEnabled, getLayoutPrototypeUuid, getLinkedToLayout, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMvccVersion, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getParentLayoutId, getParentPlid, getPlid, getPrimaryKey, getPrimaryKeyObj, getPriority, getPrivateLayout, getRobots, getRobots, getRobots, getRobots, getRobots, getRobotsCurrentLanguageId, getRobotsCurrentValue, getRobotsMap, getScopeGroup, getSourcePrototypeLayoutUuid, getStagedModelType, getTarget, getTheme, getThemeId, getThemeSetting, getThemeSetting, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getType, getTypeSettings, getTypeSettingsProperties, getTypeSettingsProperty, getTypeSettingsProperty, getUserId, getUserName, getUserUuid, getUuid, getWapColorScheme, getWapColorSchemeId, getWapTheme, getWapThemeId, getWrappedLayout, getWrappedModel, hasAncestor, hasChildren, hashCode, hasScopeGroup, hasSetModifiedDate, includeLayoutContent, isCachedModel, isChildSelected, isContentDisplayPage, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isFirstChild, isFirstParent, isHidden, isIconImage, isInheritLookAndFeel, isInheritWapLookAndFeel, isLayoutPrototypeLinkActive, isLayoutPrototypeLinkEnabled, isNew, isPrivateLayout, isPublicLayout, isRootLayout, isSelected, isSupportsEmbeddedPortlets, isTypeArticle, isTypeControlPanel, isTypeEmbedded, isTypeLinkToLayout, isTypePanel, isTypePortlet, isTypeURL, matches, persist, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, resetOriginalValues, setCachedModel, setColorSchemeId, setCompanyId, setCreateDate, setCss, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setFriendlyURL, setGroupId, setHidden, setIconImageId, setKeywords, setKeywords, setKeywords, setKeywordsCurrentLanguageId, setKeywordsMap, setKeywordsMap, setLastPublishDate, setLayoutId, setLayoutPrototypeLinkEnabled, setLayoutPrototypeUuid, setLayoutSet, setModelAttributes, setModifiedDate, setMvccVersion, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setNew, setParentLayoutId, setPlid, setPrimaryKey, setPrimaryKeyObj, setPriority, setPrivateLayout, setRobots, setRobots, setRobots, setRobotsCurrentLanguageId, setRobotsMap, setRobotsMap, setSourcePrototypeLayoutUuid, setThemeId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setType, setTypeSettings, setTypeSettingsProperties, setUserId, setUserName, setUserUuid, setUuid, setWapColorSchemeId, setWapThemeId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringpublic java.lang.Object clone()
BaseModelclone in interface BaseModel<Layout>clone in interface LayoutModelclone in interface StagedModelclone in class LayoutWrapperpublic java.util.List<Portlet> getEmbeddedPortlets()
getEmbeddedPortlets in interface LayoutgetEmbeddedPortlets in class LayoutWrapperpublic java.lang.String getFriendlyURL()
LayoutWrappergetFriendlyURL in interface LayoutModelgetFriendlyURL in class LayoutWrapperpublic java.lang.String getFriendlyURL(java.util.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 java.lang.String getRegularURL(javax.servlet.http.HttpServletRequest request)
throws PortalException
getRegularURL in interface LayoutgetRegularURL in class LayoutWrapperPortalExceptionpublic java.lang.String getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
throws PortalException
getResetLayoutURL in interface LayoutgetResetLayoutURL in class LayoutWrapperPortalExceptionpublic java.lang.String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
throws PortalException
getResetMaxStateURL in interface LayoutgetResetMaxStateURL in class LayoutWrapperPortalExceptionpublic long getSourceGroupId()
public Layout getSourceLayout()
public long getVirtualGroupId()
protected java.lang.String injectVirtualGroupURL(java.lang.String layoutURL,
java.util.Locale locale)