|
||||||||||
| 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. |
| Nested classes/interfaces inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
org.exoplatform.portal.webui.container.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
protected javax.jcr.Node |
currentNode
The current node. |
protected javax.jcr.Node |
rootTreeNode
The root tree node. |
| Fields inherited from class org.exoplatform.portal.webui.container.UIContainer |
|---|
creator, description, icon, modifier |
| 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 |
|---|
config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UICategoryNavigationTree()
Instantiates a new uI node tree builder. |
|
| Method Summary | |
|---|---|
void |
buildTree()
Builds the tree. |
void |
changeNode(java.lang.String path,
java.lang.Object context)
When a node is change in tree. |
java.lang.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(java.lang.String[] acceptedNodeTypes)
Sets the accepted node types. |
void |
setAllowPublish(boolean allowPublish,
org.exoplatform.services.ecm.publication.PublicationService publicationService,
java.util.List<java.lang.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 |
|---|
getCreator, getDescription, getIcon, getModifier, setCreator, setDescription, setIcon, setModifier |
| Methods inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent |
|---|
getFactoryId, getHeight, getMode, getName, getTemplate, getTitle, getWidth, isEditMode, isModifiable, isShowEditControl, setFactoryId, setHeight, setMode, setModifiable, setName, setShowEditControl, 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, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
|---|
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.jcr.Node rootTreeNode
protected javax.jcr.Node currentNode
| Constructor Detail |
|---|
public UICategoryNavigationTree()
throws java.lang.Exception
java.lang.Exception - the exception| Method Detail |
|---|
public boolean isAllowPublish()
public void setAllowPublish(boolean allowPublish,
org.exoplatform.services.ecm.publication.PublicationService publicationService,
java.util.List<java.lang.String> templates)
allowPublish - the allow publishpublicationService - the publication servicetemplates - the templatespublic javax.jcr.Node getRootTreeNode()
public final void setRootTreeNode(javax.jcr.Node node)
throws java.lang.Exception
node - the new root tree node
java.lang.Exception - the exceptionpublic javax.jcr.Node getCurrentNode()
public void setCurrentNode(javax.jcr.Node currentNode)
currentNode - the new current nodepublic java.lang.String[] getAcceptedNodeTypes()
public void setAcceptedNodeTypes(java.lang.String[] acceptedNodeTypes)
acceptedNodeTypes - the new accepted node types
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws java.lang.Exception
processRender in class org.exoplatform.webui.core.UIComponentjava.lang.Exception
public void buildTree()
throws java.lang.Exception
java.lang.Exception - the exception
public void changeNode(java.lang.String path,
java.lang.Object context)
throws java.lang.Exception
path - the pathcontext - the context
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||