|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.LayoutWrapper
com.liferay.portal.model.impl.VirtualLayout
public class VirtualLayout
| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.Layout |
|---|
LAYOUT_ID_ACCESSOR, PLID_ACCESSOR |
| Constructor Summary | |
|---|---|
VirtualLayout(Layout sourceLayout,
Group targetGroup)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VirtualLayout(Layout sourceLayout,
Group targetGroup)
| Method Detail |
|---|
public Object clone()
BaseModel
clone 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()
LayoutWrapper
getFriendlyURL in interface LayoutModelgetFriendlyURL in class LayoutWrapperpublic String getFriendlyURL(Locale locale)
LayoutWrapper
getFriendlyURL in interface LayoutgetFriendlyURL in class LayoutWrapperlocale - the locale that the friendly URL should be retrieved for
public Group getGroup()
LayoutWrapperGroup is Liferay's technical name for a site.
getGroup in interface LayoutgetGroup in class LayoutWrapperpublic long getGroupId()
LayoutWrapper
getGroupId 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 LayoutWrapper
public String getRegularURL(javax.servlet.http.HttpServletRequest request)
throws PortalException
getRegularURL in interface LayoutgetRegularURL in class LayoutWrapperPortalException
public String getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
throws PortalException
getResetLayoutURL in interface LayoutgetResetLayoutURL in class LayoutWrapperPortalException
public String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
throws PortalException
getResetMaxStateURL in interface LayoutgetResetMaxStateURL in class LayoutWrapperPortalExceptionpublic long getSourceGroupId()
public Layout getSourceLayout()
public long getVirtualGroupId()
protected String injectVirtualGroupURL(String layoutURL,
Locale locale)
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||