public class LayoutsTreeDisplayContext extends BaseLayoutDisplayContext
groupProvider, liferayPortletRequest, liferayPortletResponse, themeDisplay| Constructor and Description |
|---|
LayoutsTreeDisplayContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCurSelPlid() |
javax.portlet.PortletURL |
getDeleteLayoutURL(long selPlid) |
javax.portlet.PortletURL |
getEmptyLayoutSetURL(boolean privateLayout) |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
getLayoutSetBranch() |
java.lang.String |
getLayoutSetBranchCssClass(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) |
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
getLayoutSetBranches() |
java.lang.String |
getLayoutSetBranchName() |
java.lang.String |
getLayoutSetBranchURL(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) |
java.util.Map<java.lang.String,javax.portlet.PortletURL> |
getPortletURLs() |
java.lang.String |
getPrivateLayoutsURL() |
java.lang.String |
getPublicLayoutsURL() |
java.lang.String |
getRootNodeName(boolean privateLayout) |
protected boolean |
isLayoutSetBranchSelected(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) |
boolean |
isShowAddBothRootLayoutButtons() |
boolean |
isShowAddLayoutButton() |
boolean |
isShowAddRootLayoutButton() |
boolean |
isShowEditLayoutSetButton() |
boolean |
isShowEmptyLayoutsTree() |
boolean |
isShowExpandLayoutSetButton(boolean privateLayout) |
boolean |
isShowLayoutSetBranchesSelector() |
boolean |
isShowLayoutTabs() |
boolean |
isShowPrivateLayoutOptions() |
boolean |
isShowPrivateLayoutsTree() |
boolean |
isShowPublicLayoutOptions() |
boolean |
isShowPublicLayoutsTree() |
boolean |
isShowStagingProcessMessage() |
getAddLayoutURL, getEditLayoutURL, getLayoutId, getLiveGroup, getRootNodeName, getSelGroup, getSelGroupId, getSelLayout, getSelLayoutSet, getSelPlid, getStagingGroup, isPrivateLayoutpublic LayoutsTreeDisplayContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.Long getCurSelPlid()
public javax.portlet.PortletURL getDeleteLayoutURL(long selPlid)
public javax.portlet.PortletURL getEmptyLayoutSetURL(boolean privateLayout)
public java.lang.String getLayoutSetBranchCssClass(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> getLayoutSetBranches()
public java.lang.String getLayoutSetBranchName()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getLayoutSetBranchURL(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.Map<java.lang.String,javax.portlet.PortletURL> getPortletURLs()
public java.lang.String getPrivateLayoutsURL()
public java.lang.String getPublicLayoutsURL()
public java.lang.String getRootNodeName(boolean privateLayout)
getRootNodeName in class BaseLayoutDisplayContextpublic boolean isShowAddBothRootLayoutButtons()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isShowAddLayoutButton()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isShowAddRootLayoutButton()
throws com.liferay.portal.kernel.exception.PortalException
isShowAddRootLayoutButton in class BaseLayoutDisplayContextcom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isShowEditLayoutSetButton()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isShowEmptyLayoutsTree()
public boolean isShowExpandLayoutSetButton(boolean privateLayout)
public boolean isShowLayoutSetBranchesSelector()
public boolean isShowLayoutTabs()
public boolean isShowPrivateLayoutOptions()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isShowPrivateLayoutsTree()
public boolean isShowPublicLayoutOptions()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isShowPublicLayoutsTree()
public boolean isShowStagingProcessMessage()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected com.liferay.portal.kernel.model.LayoutSetBranch getLayoutSetBranch()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected boolean isLayoutSetBranchSelected(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException