com.liferay.portal.model.impl
Class VirtualLayout

java.lang.Object
  extended by com.liferay.portal.model.LayoutWrapper
      extended by com.liferay.portal.model.impl.VirtualLayout
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portal.model.Layout>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.Layout, com.liferay.portal.model.LayoutModel, com.liferay.portal.model.ModelWrapper<com.liferay.portal.model.Layout>, com.liferay.portal.model.PersistedModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.Layout>

public class VirtualLayout
extends com.liferay.portal.model.LayoutWrapper

Author:
Raymond Augé
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.liferay.portal.model.Layout
LAYOUT_ID_ACCESSOR
 
Constructor Summary
VirtualLayout(com.liferay.portal.model.Layout sourceLayout, com.liferay.portal.model.Group targetGroup)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getFriendlyURL()
           
 com.liferay.portal.model.Group getGroup()
           
 long getGroupId()
           
 com.liferay.portal.model.Group getHostGroup()
           
 com.liferay.portal.model.LayoutSet getLayoutSet()
           
 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()
           
 long getVirtualGroupId()
           
protected  java.lang.String injectVirtualGroupURL(java.lang.String layoutURL)
           
 
Methods inherited from class com.liferay.portal.model.LayoutWrapper
compareTo, getAllChildren, getAncestorLayoutId, getAncestorPlid, getAncestors, getChildren, getChildren, getColorScheme, getColorSchemeId, getCompanyId, getCreateDate, getCss, getCssText, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getHidden, getHTMLTitle, getHTMLTitle, getIconImage, getIconImageId, getKeywords, getKeywords, getKeywords, getKeywords, getKeywords, getKeywordsCurrentLanguageId, getKeywordsCurrentValue, getKeywordsMap, getLayoutId, getLayoutPrototypeLinkEnabled, getLayoutPrototypeUuid, getLayoutType, getModelClass, getModelClassName, getModifiedDate, 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, getTarget, getTheme, getThemeId, getThemeSetting, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getType, getTypeSettings, getTypeSettingsProperties, getTypeSettingsProperty, getTypeSettingsProperty, getUuid, getWapColorScheme, getWapColorSchemeId, getWapTheme, getWapThemeId, getWrappedLayout, getWrappedModel, hasAncestor, hasChildren, hashCode, hasScopeGroup, isCachedModel, isChildSelected, isContentDisplayPage, isEscapedModel, isFirstChild, isFirstParent, isHidden, isIconImage, isInheritLookAndFeel, isInheritWapLookAndFeel, isLayoutPrototypeLinkActive, isLayoutPrototypeLinkEnabled, isNew, isPrivateLayout, isPublicLayout, isRootLayout, isSelected, isTypeArticle, isTypeControlPanel, isTypeEmbedded, isTypeLinkToLayout, isTypePanel, isTypePortlet, isTypeURL, persist, resetOriginalValues, setCachedModel, setColorSchemeId, setCompanyId, setCreateDate, setCss, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setFriendlyURL, setGroupId, setHidden, setIconImage, setIconImageId, setKeywords, setKeywords, setKeywords, setKeywordsCurrentLanguageId, setKeywordsMap, setKeywordsMap, setLayoutId, setLayoutPrototypeLinkEnabled, setLayoutPrototypeUuid, setLayoutSet, setModifiedDate, 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, setUuid, setWapColorSchemeId, setWapThemeId, toCacheModel, toEscapedModel, toString, toXmlString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualLayout

public VirtualLayout(com.liferay.portal.model.Layout sourceLayout,
                     com.liferay.portal.model.Group targetGroup)
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Layout>
Specified by:
clone in interface com.liferay.portal.model.LayoutModel
Overrides:
clone in class com.liferay.portal.model.LayoutWrapper

getFriendlyURL

public java.lang.String getFriendlyURL()
Specified by:
getFriendlyURL in interface com.liferay.portal.model.LayoutModel
Overrides:
getFriendlyURL in class com.liferay.portal.model.LayoutWrapper

getGroup

public com.liferay.portal.model.Group getGroup()
Specified by:
getGroup in interface com.liferay.portal.model.Layout
Overrides:
getGroup in class com.liferay.portal.model.LayoutWrapper

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface com.liferay.portal.model.LayoutModel
Overrides:
getGroupId in class com.liferay.portal.model.LayoutWrapper

getHostGroup

public com.liferay.portal.model.Group getHostGroup()

getLayoutSet

public com.liferay.portal.model.LayoutSet getLayoutSet()
Specified by:
getLayoutSet in interface com.liferay.portal.model.Layout
Overrides:
getLayoutSet in class com.liferay.portal.model.LayoutWrapper

getRegularURL

public java.lang.String getRegularURL(javax.servlet.http.HttpServletRequest request)
                               throws com.liferay.portal.kernel.exception.PortalException,
                                      com.liferay.portal.kernel.exception.SystemException
Specified by:
getRegularURL in interface com.liferay.portal.model.Layout
Overrides:
getRegularURL in class com.liferay.portal.model.LayoutWrapper
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getResetLayoutURL

public java.lang.String getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
                                   throws com.liferay.portal.kernel.exception.PortalException,
                                          com.liferay.portal.kernel.exception.SystemException
Specified by:
getResetLayoutURL in interface com.liferay.portal.model.Layout
Overrides:
getResetLayoutURL in class com.liferay.portal.model.LayoutWrapper
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getResetMaxStateURL

public java.lang.String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
                                     throws com.liferay.portal.kernel.exception.PortalException,
                                            com.liferay.portal.kernel.exception.SystemException
Specified by:
getResetMaxStateURL in interface com.liferay.portal.model.Layout
Overrides:
getResetMaxStateURL in class com.liferay.portal.model.LayoutWrapper
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getSourceGroupId

public long getSourceGroupId()

getVirtualGroupId

public long getVirtualGroupId()

injectVirtualGroupURL

protected java.lang.String injectVirtualGroupURL(java.lang.String layoutURL)