public class UICategoryNavigationTree
extends org.exoplatform.portal.webui.container.UIContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
UICategoryNavigationTree.ChangeNodeActionListener
The listener interface for receiving changeNodeAction events.
|
static class |
UICategoryNavigationTree.QuickEditActionListener
The listener interface for receiving quickEditAction events.
|
| Modifier and Type | Field and Description |
|---|---|
protected NodeLocation |
currentNode
The current node.
|
protected NodeLocation |
rootTreeNode
The root tree node.
|
description, icon, moveAppsPermissions, moveContainersPermissions, TABLE_COLUMN_CONTAINER| Constructor and Description |
|---|
UICategoryNavigationTree()
Instantiates a new uI node tree builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildTree()
Builds the tree.
|
void |
changeNode(String path,
Object context)
When a node is change in tree.
|
String[] |
getAcceptedNodeTypes()
Gets the accepted node types.
|
javax.jcr.Node |
getCurrentNode()
Gets the current node.
|
javax.jcr.Node |
getRootTreeNode()
Gets the root tree node.
|
boolean |
isAllowPublish()
Checks if is allow publish.
|
void |
processRender(org.exoplatform.webui.application.WebuiRequestContext context) |
void |
setAcceptedNodeTypes(String[] acceptedNodeTypes)
Sets the accepted node types.
|
void |
setAllowPublish(boolean allowPublish,
PublicationService publicationService,
List<String> templates)
Sets the allow publish.
|
void |
setCurrentNode(javax.jcr.Node currentNode)
Sets the current node.
|
void |
setRootTreeNode(javax.jcr.Node node)
Sets the root tree node.
|
getDescription, getIcon, getMoveAppsPermissions, getMoveContainersPermissions, getPermissionClasses, getStorageId, hasMoveAppsPermission, hasMoveContainersPermission, setDescription, setIcon, setMoveAppsPermissions, setMoveContainersPermissions, setStorageIdgetAccessPermissions, getFactoryId, getHeight, getName, getTemplate, getTitle, getWidth, hasAccessPermission, hasPermission, isModifiable, setAccessPermissions, setFactoryId, setHeight, setModifiable, setName, setTemplate, setTitle, setWidthaddChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, urlprotected NodeLocation rootTreeNode
protected NodeLocation currentNode
public boolean isAllowPublish()
public void setAllowPublish(boolean allowPublish,
PublicationService publicationService,
List<String> templates)
allowPublish - the allow publishpublicationService - the publication servicetemplates - the templatespublic javax.jcr.Node getRootTreeNode()
public final void setRootTreeNode(javax.jcr.Node node)
throws Exception
node - the new root tree nodeException - the exceptionpublic javax.jcr.Node getCurrentNode()
public void setCurrentNode(javax.jcr.Node currentNode)
currentNode - the new current nodepublic String[] getAcceptedNodeTypes()
public void setAcceptedNodeTypes(String[] acceptedNodeTypes)
acceptedNodeTypes - the new accepted node typespublic void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
processRender in class org.exoplatform.webui.core.UIComponentExceptionpublic void buildTree()
throws Exception
Exception - the exceptionpublic void changeNode(String path, Object context) throws Exception
path - the pathcontext - the contextException - the exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.