Liferay 6.1.2-ce-ga3

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:
BaseModel<Layout>, ClassedModel, Layout, LayoutModel, ModelWrapper<Layout>, PersistedModel, Serializable, Cloneable, Comparable<Layout>

public class VirtualLayout
extends LayoutWrapper

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.liferay.portal.model.Layout
LAYOUT_ID_ACCESSOR
 
Constructor Summary
VirtualLayout(Layout sourceLayout, Group targetGroup)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 String getFriendlyURL()
          Returns the friendly u r l of this layout.
 Group getGroup()
           
 long getGroupId()
          Returns the group ID of this layout.
 Group getHostGroup()
           
 LayoutSet getLayoutSet()
           
 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)
           
 
Methods inherited from class com.liferay.portal.model.LayoutWrapper
compareTo, equals, 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, getModelAttributes, 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, prepareLocalizedFieldsForImport, 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, setModelAttributes, 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, toUnescapedModel, toXmlString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualLayout

public VirtualLayout(Layout sourceLayout,
                     Group targetGroup)
Method Detail

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Layout>
Specified by:
clone in interface LayoutModel
Overrides:
clone in class LayoutWrapper
Returns:
the shallow clone of this model instance

getFriendlyURL

public String getFriendlyURL()
Description copied from class: LayoutWrapper
Returns the friendly u r l of this layout.

Specified by:
getFriendlyURL in interface LayoutModel
Overrides:
getFriendlyURL in class LayoutWrapper
Returns:
the friendly u r l of this layout

getGroup

public Group getGroup()
Specified by:
getGroup in interface Layout
Overrides:
getGroup in class LayoutWrapper

getGroupId

public long getGroupId()
Description copied from class: LayoutWrapper
Returns the group ID of this layout.

Specified by:
getGroupId in interface LayoutModel
Overrides:
getGroupId in class LayoutWrapper
Returns:
the group ID of this layout

getHostGroup

public Group getHostGroup()

getLayoutSet

public LayoutSet getLayoutSet()
Specified by:
getLayoutSet in interface Layout
Overrides:
getLayoutSet in class LayoutWrapper

getRegularURL

public String getRegularURL(javax.servlet.http.HttpServletRequest request)
                     throws PortalException,
                            SystemException
Specified by:
getRegularURL in interface Layout
Overrides:
getRegularURL in class LayoutWrapper
Throws:
PortalException
SystemException

getResetLayoutURL

public String getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
                         throws PortalException,
                                SystemException
Specified by:
getResetLayoutURL in interface Layout
Overrides:
getResetLayoutURL in class LayoutWrapper
Throws:
PortalException
SystemException

getResetMaxStateURL

public String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
                           throws PortalException,
                                  SystemException
Specified by:
getResetMaxStateURL in interface Layout
Overrides:
getResetMaxStateURL in class LayoutWrapper
Throws:
PortalException
SystemException

getSourceGroupId

public long getSourceGroupId()

getSourceLayout

public Layout getSourceLayout()

getVirtualGroupId

public long getVirtualGroupId()

injectVirtualGroupURL

protected String injectVirtualGroupURL(String layoutURL)

Liferay 6.1.2-ce-ga3