[dna-issues] [JBoss JIRA] Updated: (DNA-453) Implement Workspace.copy(String, String, String)
Brian Carothers (JIRA)
jira-events at lists.jboss.org
Sun Jun 14 18:58:07 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Carothers updated DNA-453:
--------------------------------
Attachment: DNA-453.patch
Attached patch that modifies the copy operation in Graph and Graph.Batch to support the "fromWorkspace" construct, allowing users to specify that the source node is in a workspace other than the current workspace. The patch also moves the JcrWorkspace.copy(String, String) code into JcrWorkspace.copy(String, String, String) and generalizes it to support source nodes in workspaces other than the workspace represented by the JcrWorkspace.
The patch modifies JcrWorkspace.copy(String, String) to call JcrWorkspace.copy(String, String, String) with the name of the current workspace as the source workspace. This allows for the corner cases of the JcrWorkspace.copy(String, String, String) to be tested by the JR TCK tests. Added an additional test to DnaTckTest to test copying from workspace to another. For some reason the JR TCK tests don't actually do this.
Finally, the patch adds the concept of UuidConflictBehavior to the copy operation and CopyBranchRequest. This feature is not yet implemented in the request processors, but is needed in order to implement the JcrWorkspace.clone(...) and update(String) methods as copies from one workspace to another.
> Implement Workspace.copy(String, String, String)
> ------------------------------------------------
>
> Key: DNA-453
> URL: https://jira.jboss.org/jira/browse/DNA-453
> Project: DNA
> Issue Type: Bug
> Components: JCR
> Affects Versions: 0.5
> Reporter: Brian Carothers
> Fix For: 0.6
>
> Attachments: DNA-453.patch, DNA-453.patch
>
>
> DNA currently supports the same-workspace version of the workspace copy method. It also must support the cross-workspace copy method for L2 compliance.
--
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
More information about the dna-issues
mailing list