|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.portal.webui.portal.UIPortalComponent
org.exoplatform.portal.webui.container.UIContainer
org.exoplatform.wcm.webui.category.UICategoryNavigationTree
public class UICategoryNavigationTree
Created by The eXo Platform SAS Author : eXoPlatform chuong.phan@exoplatform.com, phan.le.thanh.chuong@gmail.com Jun 19, 2009
| Nested Class Summary | |
|---|---|
static class |
UICategoryNavigationTree.ChangeNodeActionListener
The listener interface for receiving changeNodeAction events. |
static class |
UICategoryNavigationTree.QuickEditActionListener
The listener interface for receiving quickEditAction events. |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
|---|
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
protected org.exoplatform.services.wcm.core.NodeLocation |
currentNode
The current node. |
protected org.exoplatform.services.wcm.core.NodeLocation |
rootTreeNode
The root tree node. |
| Fields inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
description, icon, TABLE_COLUMN_CONTAINER |
| Fields inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
COMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_ |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UICategoryNavigationTree()
Instantiates a new uI node tree builder. |
|
| Method Summary | |
|---|---|
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,
org.exoplatform.services.ecm.publication.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. |
| Methods inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
getDescription, getIcon, getStorageId, setDescription, setIcon, setStorageId |
| Methods inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
getAccessPermissions, getFactoryId, getHeight, getName, getTemplate, getTitle, getWidth, hasPermission, isModifiable, setAccessPermissions, setFactoryId, setHeight, setModifiable, setName, setTemplate, setTitle, setWidth |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
|---|
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
|---|
broadcast, 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, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.exoplatform.services.wcm.core.NodeLocation rootTreeNode
protected org.exoplatform.services.wcm.core.NodeLocation currentNode
| Constructor Detail |
|---|
public UICategoryNavigationTree()
throws Exception
Exception - the exception| Method Detail |
|---|
public boolean isAllowPublish()
public void setAllowPublish(boolean allowPublish,
org.exoplatform.services.ecm.publication.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 node
Exception - 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 types
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
processRender in class org.exoplatform.webui.core.UIComponentException
public void buildTree()
throws Exception
Exception - the exception
public void changeNode(String path,
Object context)
throws Exception
path - the pathcontext - the context
Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||