public class VirtualLayout extends LayoutWrapper
model
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 url 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 httpServletRequest) |
java.lang.String |
getResetLayoutURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
java.lang.String |
getResetMaxStateURL(javax.servlet.http.HttpServletRequest httpServletRequest) |
long |
getSourceGroupId() |
Layout |
getSourceLayout() |
long |
getVirtualGroupId() |
protected java.lang.String |
injectVirtualGroupURL(java.lang.String layoutURL,
java.util.Locale locale) |
void |
setLayoutSet(LayoutSet layoutSet) |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout is private layout.
|
cloneWithOriginalValues, fetchDraftLayout, getAllChildren, getAncestorLayoutId, getAncestorPlid, getAncestors, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getAvailableLanguageIds, getBreadcrumb, getChildren, getChildren, getClassName, getClassNameId, getClassPK, getColorScheme, getColorSchemeId, getCompanyId, getCreateDate, getCss, getCssText, getCtCollectionId, getDefaultLanguageId, getDefaultThemeSetting, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getEmbeddedPortlets, getFaviconFileEntryId, getFaviconURL, getFriendlyURLMap, getFriendlyURLsXML, getHidden, getHTMLTitle, getHTMLTitle, getIcon, getIconImage, getIconImageId, getKeywords, getKeywords, getKeywords, getKeywords, getKeywords, getKeywordsCurrentLanguageId, getKeywordsCurrentValue, getKeywordsMap, getLastPublishDate, getLayoutId, getLayoutPrototypeLinkEnabled, getLayoutPrototypeUuid, getLayoutSetPrototypeLayout, getLinkedToLayout, getMasterLayoutPlid, 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, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getStyleBookEntryId, 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, isApproved, isChildSelected, isContentDisplayPage, isCustomizable, isDenied, isDraft, isDraftLayout, isEmbeddedPersonalApplication, isExpired, isFirstChild, isFirstParent, isHidden, isIconImage, isInactive, isIncomplete, isInheritLookAndFeel, isLayoutDeleteable, isLayoutPrototypeLinkActive, isLayoutPrototypeLinkEnabled, isLayoutSortable, isLayoutUpdateable, isPending, isPortletEmbedded, isPrivateLayout, isPublicLayout, isPublished, isRootLayout, isScheduled, isSelected, isSupportsEmbeddedPortlets, isSystem, isTypeAssetDisplay, isTypeCollection, isTypeContent, isTypeControlPanel, isTypeEmbedded, isTypeLinkToLayout, isTypePanel, isTypePortlet, isTypeURL, isUnlocked, matches, persist, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setClassName, setClassNameId, setClassPK, setColorSchemeId, setCompanyId, setCreateDate, setCss, setCtCollectionId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setFaviconFileEntryId, setFriendlyURL, setGroupId, setHidden, setIconImageId, setKeywords, setKeywords, setKeywords, setKeywordsCurrentLanguageId, setKeywordsMap, setKeywordsMap, setLastPublishDate, setLayoutId, setLayoutPrototypeLinkEnabled, setLayoutPrototypeUuid, setMasterLayoutPlid, setModelAttributes, setModifiedDate, setMvccVersion, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setParentLayoutId, setParentPlid, setPlid, setPrimaryKey, setPriority, setPublishDate, setRobots, setRobots, setRobots, setRobotsCurrentLanguageId, setRobotsMap, setRobotsMap, setSourcePrototypeLayoutUuid, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setStyleBookEntryId, setSystem, setThemeId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setType, setTypeSettings, setTypeSettingsProperties, setUserId, setUserName, setUserUuid, setUuid, toXmlString, wrap
compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
getWrappedModel
public java.lang.Object clone()
BaseModel
clone
in interface BaseModel<Layout>
clone
in interface StagedModel
clone
in class BaseModelWrapper<Layout>
public java.util.List<Portlet> getEmbeddedPortlets()
getEmbeddedPortlets
in interface Layout
getEmbeddedPortlets
in class LayoutWrapper
public java.lang.String getFriendlyURL()
LayoutWrapper
getFriendlyURL
in interface LayoutModel
getFriendlyURL
in class LayoutWrapper
public java.lang.String getFriendlyURL(java.util.Locale locale)
LayoutWrapper
getFriendlyURL
in interface Layout
getFriendlyURL
in class LayoutWrapper
locale
- the locale that the friendly URL should be retrieved forpublic Group getGroup()
LayoutWrapper
Group is Liferay's technical name for a site.
getGroup
in interface Layout
getGroup
in class LayoutWrapper
public long getGroupId()
LayoutWrapper
getGroupId
in interface GroupedModel
getGroupId
in interface LayoutModel
getGroupId
in class LayoutWrapper
public Group getHostGroup()
public LayoutSet getLayoutSet()
LayoutWrapper
LayoutSet
.getLayoutSet
in interface Layout
getLayoutSet
in class LayoutWrapper
public LayoutType getLayoutType()
LayoutWrapper
LayoutType
.getLayoutType
in interface Layout
getLayoutType
in class LayoutWrapper
public java.lang.String getRegularURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException
getRegularURL
in interface Layout
getRegularURL
in class LayoutWrapper
PortalException
public java.lang.String getResetLayoutURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException
getResetLayoutURL
in interface Layout
getResetLayoutURL
in class LayoutWrapper
PortalException
public java.lang.String getResetMaxStateURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException
getResetMaxStateURL
in interface Layout
getResetMaxStateURL
in class LayoutWrapper
PortalException
public long getSourceGroupId()
public Layout getSourceLayout()
public long getVirtualGroupId()
public void setLayoutSet(LayoutSet layoutSet)
setLayoutSet
in interface Layout
setLayoutSet
in class LayoutWrapper
public void setPrivateLayout(boolean privateLayout)
LayoutWrapper
setPrivateLayout
in interface LayoutModel
setPrivateLayout
in class LayoutWrapper
privateLayout
- the private layout of this layoutprotected java.lang.String injectVirtualGroupURL(java.lang.String layoutURL, java.util.Locale locale)