mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
- Added getCopies method to CopyService
- Copy and transform actions will now (by default) overwrite an exiting copy. A parameter can be set on both actions to revert to the previous, always copy, behaviour. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2755 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
*/
|
||||
package org.alfresco.service.cmr.repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.service.namespace.QName;
|
||||
|
||||
/**
|
||||
@@ -115,5 +117,13 @@ public interface CopyService
|
||||
* @param sourceNodeRef the source node reference
|
||||
* @param destinationNodeRef the destination node reference
|
||||
*/
|
||||
public void copy(NodeRef sourceNodeRef, NodeRef destinationNodeRef);
|
||||
public void copy(NodeRef sourceNodeRef, NodeRef destinationNodeRef);
|
||||
|
||||
/**
|
||||
* Gets all the copies of a given node that have been made using this service.
|
||||
*
|
||||
* @param nodeRef the origional node reference
|
||||
* @return a list of copies, empty is none
|
||||
*/
|
||||
public List<NodeRef> getCopies(NodeRef nodeRef);
|
||||
}
|
||||
|
Reference in New Issue
Block a user