|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedNodeOps
This NodeOps interface was added so that if customers choose, they can implement it to get new functionality from the CM system.
Method Summary | |
---|---|
Set<String> |
getNativeFilterableProperties(String repositoryName)
Returns a set of property names which the repository can filter natively (within the repository instead of the federated API) for paging purposes. |
Set<String> |
getNativeSortableProperties(String repositoryName)
Returns a set of property names which the repository can sort natively (within the repository instead of the federated API) for paging purposes. |
QueryResult<Node> |
getNodeChildren(ID parentId,
int type,
QueryCriteria queryCriteria)
This method returns all children Nodes for the parent Node ID. |
ID[] |
getNodeChildrenAsNodeIds(ID parentId,
int type)
This method returns an array of all children Node IDs for the parent Node. |
ID[] |
getNodeReferences(ID nodeId)
Retrieve nodes in this repository which have a link property referring to the specified node. |
QueryResult<Node> |
getNodes(ID[] nodeIds,
QueryCriteria queryCriteria,
boolean failSilently)
This method returns Nodes, one per node ID passed in. |
Node |
save(Node node)
This method updates an existing node in a single transaction. |
Methods inherited from interface com.bea.content.spi.NodeOps |
---|
addNodeContent, copyNode, createNode, createNode, deleteNode, getNode, getNode, getNodeChildren, getNodes, getProperties, getPropertyBytes, moveNode, removeNodeContent, renameNode, updateProperties |
Method Detail |
---|
Node save(Node node) throws AuthorizationException, RepositoryException
node
- The node to update with the various changes set accordingly.
AuthorizationException
- - if the user attempting the operation is not authorized to perform it.
RepositoryException
- - if validation error occurs.QueryResult<Node> getNodes(ID[] nodeIds, QueryCriteria queryCriteria, boolean failSilently) throws AuthorizationException, NoSuchNodeException
nodeIds
- - the Node IDs to retrieve the Nodes for.queryCriteria
- - the query criteria (possibly unsorted and unfiltered)failSilently
- - if true, then if a node cannot be found, no exception will be thrown
AuthorizationException
- - if the user attempting the
operation is not authorized to perform it.
NoSuchNodeException
- - if a node to get can't be found.QueryResult<Node> getNodeChildren(ID parentId, int type, QueryCriteria queryCriteria) throws AuthorizationException, NoSuchNodeException
parentId
- - the Node which may have childrentype
- - the type of children to return, either Node.HIERARCHY
, #CONTENT
or
Node.NODE
. If the type is Node.NODE
then all children (both
Node.HIERARCHY
and #CONTENT
will be returned.queryCriteria
- - the query Criteria (possibly unsorted and unfiltered)
AuthorizationException
- - if the user attempting the
operation is not authorized to perform it.
NoSuchNodeException
- - if the parent node can't be found.ID[] getNodeChildrenAsNodeIds(ID parentId, int type) throws AuthorizationException, NoSuchNodeException
parentId
- - the Node which may have childrentype
- - the type of children to return, either Node.HIERARCHY
, #CONTENT
or
Node.NODE
. If the type is Node.NODE
then all children (both
Node.HIERARCHY
and #CONTENT
will be returned.
AuthorizationException
- - if the user attempting the
operation is not authorized to perform it.
NoSuchNodeException
- - if the parent node can't be found.ID[] getNodeReferences(ID nodeId) throws AuthorizationException, RepositoryException
nodeId
- The ID
of the referred-to node.
AuthorizationException
- - if the user attempting the operation is not authorized to perform it
RepositoryException
Set<String> getNativeSortableProperties(String repositoryName) throws AuthorizationException, RepositoryException
repositoryName
- The name of the repository.
AuthorizationException
- - if the user attempting the operation is not authorized to perform it.
RepositoryException
- - if validation error occurs.Set<String> getNativeFilterableProperties(String repositoryName) throws AuthorizationException, RepositoryException
repositoryName
- The name of the repository.
AuthorizationException
- - if the user attempting the operation is not authorized to perform it.
RepositoryException
- - if validation error occurs.
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |