public class VirtualLayout extends LayoutWrapper
LAYOUT_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 u r l 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 request) |
String |
getResetLayoutURL(javax.servlet.http.HttpServletRequest request) |
String |
getResetMaxStateURL(javax.servlet.http.HttpServletRequest request) |
long |
getSourceGroupId() |
Layout |
getSourceLayout() |
long |
getVirtualGroupId() |
protected String |
injectVirtualGroupURL(String layoutURL,
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, getWrappedModel, hasAncestor, hasChildren, hashCode, hasScopeGroup, hasSetModifiedDate, includeLayoutContent, isCachedModel, isChildSelected, isContentDisplayPage, isCustomizable, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isFirstChild, isFirstParent, isHidden, isIconImage, isInheritLookAndFeel, isLayoutPrototypeLinkActive, isLayoutPrototypeLinkEnabled, isNew, isPortletEmbedded, isPrivateLayout, isPublicLayout, isRootLayout, isSelected, isSupportsEmbeddedPortlets, isTypeArticle, isTypeControlPanel, isTypeEmbedded, isTypeLinkToLayout, isTypePanel, isTypePortlet, isTypeSharedPortlet, 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, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringpublic Object clone()
BaseModelclone in interface BaseModel<Layout>clone in interface LayoutModelclone in interface StagedModelclone in class LayoutWrapperpublic 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 request) throws PortalException
getRegularURL in interface LayoutgetRegularURL in class LayoutWrapperPortalExceptionpublic String getResetLayoutURL(javax.servlet.http.HttpServletRequest request) throws PortalException
getResetLayoutURL in interface LayoutgetResetLayoutURL in class LayoutWrapperPortalExceptionpublic String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request) throws PortalException
getResetMaxStateURL in interface LayoutgetResetMaxStateURL in class LayoutWrapperPortalExceptionpublic long getSourceGroupId()
public Layout getSourceLayout()
public long getVirtualGroupId()