public class PortletListerImpl
extends Object
implements com.liferay.portal.kernel.util.PortletLister
Constructor and Description |
---|
PortletListerImpl() |
Modifier and Type | Method and Description |
---|---|
protected Locale |
getLocale() |
com.liferay.portal.kernel.util.TreeView |
getTreeView() |
protected void |
iteratePortletCategories(com.liferay.portal.kernel.util.TreeNodeView parentNodeView,
List<com.liferay.portal.kernel.model.PortletCategory> portletCategories,
long parentId,
int depth) |
protected void |
iteratePortlets(com.liferay.portal.kernel.util.TreeNodeView parentNodeView,
com.liferay.portal.kernel.model.PortletCategory portletCategory,
Set<String> portletIds,
int parentNodeId,
int depth) |
void |
setHierarchicalTree(boolean hierarchicalTree) |
void |
setIncludeInstanceablePortlets(boolean includeInstanceablePortlets) |
void |
setIteratePortlets(boolean iteratePortlets) |
void |
setLayoutTypePortlet(com.liferay.portal.kernel.model.LayoutTypePortlet layoutTypePortlet) |
void |
setRootNodeName(String rootNodeName) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
void |
setThemeDisplay(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
void |
setUser(com.liferay.portal.kernel.model.User user) |
public com.liferay.portal.kernel.util.TreeView getTreeView() throws com.liferay.portal.kernel.exception.PortalException
getTreeView
in interface com.liferay.portal.kernel.util.PortletLister
com.liferay.portal.kernel.exception.PortalException
public void setHierarchicalTree(boolean hierarchicalTree)
setHierarchicalTree
in interface com.liferay.portal.kernel.util.PortletLister
public void setIncludeInstanceablePortlets(boolean includeInstanceablePortlets)
setIncludeInstanceablePortlets
in interface com.liferay.portal.kernel.util.PortletLister
public void setIteratePortlets(boolean iteratePortlets)
setIteratePortlets
in interface com.liferay.portal.kernel.util.PortletLister
public void setLayoutTypePortlet(com.liferay.portal.kernel.model.LayoutTypePortlet layoutTypePortlet)
setLayoutTypePortlet
in interface com.liferay.portal.kernel.util.PortletLister
public void setRootNodeName(String rootNodeName)
setRootNodeName
in interface com.liferay.portal.kernel.util.PortletLister
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface com.liferay.portal.kernel.util.PortletLister
public void setThemeDisplay(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
setThemeDisplay
in interface com.liferay.portal.kernel.util.PortletLister
public void setUser(com.liferay.portal.kernel.model.User user)
setUser
in interface com.liferay.portal.kernel.util.PortletLister
protected Locale getLocale()
protected void iteratePortletCategories(com.liferay.portal.kernel.util.TreeNodeView parentNodeView, List<com.liferay.portal.kernel.model.PortletCategory> portletCategories, long parentId, int depth) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void iteratePortlets(com.liferay.portal.kernel.util.TreeNodeView parentNodeView, com.liferay.portal.kernel.model.PortletCategory portletCategory, Set<String> portletIds, int parentNodeId, int depth)