[
https://jira.jboss.org/jira/browse/DNA-409?page=com.atlassian.jira.plugin...
]
Randall Hauch commented on DNA-409:
-----------------------------------
Added the DeleteChildrenRequest class and provided a default
process(DeleteChildrenRequest) method in RequestProcessor. Therefore, all connectors
immediately inherit this functionality. The JPA connector can implement this much more
efficiently than if it inherits the default implementation, so this connector was changed
to provide its own implementation.
Add to connector API ability to delete all nodes below a node
-------------------------------------------------------------
Key: DNA-409
URL:
https://jira.jboss.org/jira/browse/DNA-409
Project: DNA
Issue Type: Feature Request
Components: API, Connectors, Graph
Affects Versions: 0.4
Reporter: Randall Hauch
Assignee: Randall Hauch
Fix For: 0.5
The federation connector requires the ability to delete all children of a parent node
without knowing (or caring) which are the children. Adding a new DeleteChildrenRequest
would allow this to be easily done, and RequestProcessor can even implement the
process(DeleteChildrenRequest) method by reading the children and issuing a delete for
each child. Although connectors would not need to know about or implement this operation,
several connectors (including the JPA connector) probably should implement it anyway,
because they could very efficiently do the work in one step.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira