com.webmethods.caf.faces.data.csp
Class CSPNodesProvider
java.lang.Object
com.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
com.webmethods.caf.faces.data.csp.CSPBaseProvider
com.webmethods.caf.faces.data.csp.CSPNodesProvider
- All Implemented Interfaces:
- IPageFlowScopeAdapter, Serializable
public class CSPNodesProvider
- extends CSPBaseProvider
This is a provider that exposes the CSP nodes tree model.
- See Also:
- Serialized Form
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
createMethodBinding, createValueBinding, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSPNodesProvider
public CSPNodesProvider()
getRootNode
public CSPNode getRootNode()
throws Exception
- Returns the root node for the CSP tree model
- Returns:
- The root node. It contains all other nodes
- Throws:
Exception
getAllSubNodes
public List getAllSubNodes()
throws Exception
- Returns list of all nodes in the CSP tree model, except the root node
- Returns:
List
containing all nodes except the root node
- Throws:
Exception
getNodesIds
public List getNodesIds(int[] indexIds)
throws Exception
- Returns nodes ids for nodes that have indexes defined in the argument
- Parameters:
indexIds
- Indices ids for which nodes having them should be returned
- Returns:
List
with ids of the nodes having the indices defined
- Throws:
Exception
getNode
public CSPNode getNode(String nodeId)
throws Exception
- Returns node based on the node id.
- Parameters:
nodeId
-
- Returns:
- The node with the specified id
- Throws:
Exception