Class VirtualLayout
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Layout>
com.liferay.portal.kernel.model.LayoutWrapper
com.liferay.portal.kernel.model.impl.VirtualLayout
- All Implemented Interfaces:
AttachedModel,AuditedModel,BaseModel<Layout>,CTModel<Layout>,ClassedModel,ExternalReferenceCodeModel,GroupedModel,Layout,LayoutModel,LocalizedModel,ModelWrapper<Layout>,MVCCModel,PersistedModel,ShardedModel,StagedGroupedModel,StagedModel,TypedModel,WorkflowedModel,Serializable,Cloneable,Comparable<Layout>
- Author:
- Raymond Augé
- See Also:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.Layout
LAYOUT_ID_ACCESSOR, PLID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this model instance.Returns the friendly url of this layout.getFriendlyURL(Locale locale) Returns the layout's friendly URL for the given locale.getGroup()Returns the current layout's group.longReturns the group ID of this layout.Returns the current layout'sLayoutSet.Returns the current layout'sLayoutType.getRegularURL(javax.servlet.http.HttpServletRequest httpServletRequest) getResetLayoutURL(javax.servlet.http.HttpServletRequest httpServletRequest) getResetMaxStateURL(javax.servlet.http.HttpServletRequest httpServletRequest) longlongprotected StringinjectVirtualGroupURL(String layoutURL, Locale locale) voidsetLayoutSet(LayoutSet layoutSet) voidsetPrivateLayout(boolean privateLayout) Sets whether this layout is private layout.Methods inherited from class com.liferay.portal.kernel.model.LayoutWrapper
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, getExternalReferenceCode, 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, isTypeContent, isTypeControlPanel, isTypeEmbedded, isTypeLinkToLayout, isTypePanel, isTypePortlet, isTypeURL, isTypeUtility, isUnlocked, matches, persist, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setClassName, setClassNameId, setClassPK, setColorSchemeId, setCompanyId, setCreateDate, setCss, setCtCollectionId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExternalReferenceCode, 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, wrapMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
VirtualLayout
-
-
Method Details
-
clone
Description copied from interface:BaseModelCreates a shallow clone of this model instance.- Specified by:
clonein interfaceBaseModel<Layout>- Specified by:
clonein interfaceStagedModel- Overrides:
clonein classBaseModelWrapper<Layout>- Returns:
- the shallow clone of this model instance
-
getEmbeddedPortlets
- Specified by:
getEmbeddedPortletsin interfaceLayout- Overrides:
getEmbeddedPortletsin classLayoutWrapper
-
getFriendlyURL
Description copied from class:LayoutWrapperReturns the friendly url of this layout.- Specified by:
getFriendlyURLin interfaceLayoutModel- Overrides:
getFriendlyURLin classLayoutWrapper- Returns:
- the friendly url of this layout
-
getFriendlyURL
Description copied from class:LayoutWrapperReturns the layout's friendly URL for the given locale.- Specified by:
getFriendlyURLin interfaceLayout- Overrides:
getFriendlyURLin classLayoutWrapper- Parameters:
locale- the locale that the friendly URL should be retrieved for- Returns:
- the layout's friendly URL for the given locale
-
getGroup
Description copied from class:LayoutWrapperReturns the current layout's group.Group is Liferay's technical name for a site.
- Specified by:
getGroupin interfaceLayout- Overrides:
getGroupin classLayoutWrapper- Returns:
- the current layout's group
-
getGroupId
public long getGroupId()Description copied from class:LayoutWrapperReturns the group ID of this layout.- Specified by:
getGroupIdin interfaceGroupedModel- Specified by:
getGroupIdin interfaceLayoutModel- Overrides:
getGroupIdin classLayoutWrapper- Returns:
- the group ID of this layout
-
getHostGroup
-
getLayoutSet
Description copied from class:LayoutWrapperReturns the current layout'sLayoutSet.- Specified by:
getLayoutSetin interfaceLayout- Overrides:
getLayoutSetin classLayoutWrapper- Returns:
- the current layout's layout set
-
getLayoutType
Description copied from class:LayoutWrapperReturns the current layout'sLayoutType.- Specified by:
getLayoutTypein interfaceLayout- Overrides:
getLayoutTypein classLayoutWrapper- Returns:
- the current layout's layout type
-
getRegularURL
public String getRegularURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException - Specified by:
getRegularURLin interfaceLayout- Overrides:
getRegularURLin classLayoutWrapper- Throws:
PortalException
-
getResetLayoutURL
public String getResetLayoutURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException - Specified by:
getResetLayoutURLin interfaceLayout- Overrides:
getResetLayoutURLin classLayoutWrapper- Throws:
PortalException
-
getResetMaxStateURL
public String getResetMaxStateURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws PortalException - Specified by:
getResetMaxStateURLin interfaceLayout- Overrides:
getResetMaxStateURLin classLayoutWrapper- Throws:
PortalException
-
getSourceGroupId
public long getSourceGroupId() -
getSourceLayout
-
getVirtualGroupId
public long getVirtualGroupId() -
setLayoutSet
- Specified by:
setLayoutSetin interfaceLayout- Overrides:
setLayoutSetin classLayoutWrapper
-
setPrivateLayout
public void setPrivateLayout(boolean privateLayout) Description copied from class:LayoutWrapperSets whether this layout is private layout.- Specified by:
setPrivateLayoutin interfaceLayoutModel- Overrides:
setPrivateLayoutin classLayoutWrapper- Parameters:
privateLayout- the private layout of this layout
-
injectVirtualGroupURL
-