mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Add policy QNames, much like NodeServicePolicies already has
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -22,6 +22,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
import org.alfresco.repo.policy.ClassPolicy;
|
import org.alfresco.repo.policy.ClassPolicy;
|
||||||
import org.alfresco.service.cmr.repository.NodeRef;
|
import org.alfresco.service.cmr.repository.NodeRef;
|
||||||
|
import org.alfresco.service.namespace.NamespaceService;
|
||||||
import org.alfresco.service.namespace.QName;
|
import org.alfresco.service.namespace.QName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -97,6 +98,8 @@ public interface CopyServicePolicies
|
|||||||
*/
|
*/
|
||||||
public interface OnCopyNodePolicy extends ClassPolicy
|
public interface OnCopyNodePolicy extends ClassPolicy
|
||||||
{
|
{
|
||||||
|
public static final QName QNAME = QName.createQName(NamespaceService.ALFRESCO_URI, "getCopyCallback");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called for all types and aspects before copying a node.
|
* Called for all types and aspects before copying a node.
|
||||||
*
|
*
|
||||||
@@ -126,6 +129,8 @@ public interface CopyServicePolicies
|
|||||||
*/
|
*/
|
||||||
public interface OnCopyCompletePolicy extends ClassPolicy
|
public interface OnCopyCompletePolicy extends ClassPolicy
|
||||||
{
|
{
|
||||||
|
public static final QName QNAME = QName.createQName(NamespaceService.ALFRESCO_URI, "onCopyComplete");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param classRef the type of the node that was copied
|
* @param classRef the type of the node that was copied
|
||||||
* @param sourceNodeRef the origional node
|
* @param sourceNodeRef the origional node
|
||||||
|
Reference in New Issue
Block a user