org.alfresco.repo.coci
Class WorkingCopyAspect
java.lang.Object
org.alfresco.repo.coci.WorkingCopyAspect
- All Implemented Interfaces:
- CopyServicePolicies.OnCopyNodePolicy, ClassPolicy, Policy
public class WorkingCopyAspect
- extends java.lang.Object
- implements CopyServicePolicies.OnCopyNodePolicy
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
Policy.Arg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkingCopyAspect
public WorkingCopyAspect()
setPolicyComponent
public void setPolicyComponent(PolicyComponent policyComponent)
- Sets the policy component
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
- Set the node service
setLockService
public void setLockService(LockService lockService)
- Set the lock service
setCheckOutCheckInService
public void setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
- Parameters:
checkOutCheckInService
- the service dealing with working copies
init
public void init()
- Initialise method
beforeDeleteWorkingCopy
public void beforeDeleteWorkingCopy(org.alfresco.service.cmr.repository.NodeRef nodeRef)
- beforeDeleteNode policy behaviour
- Parameters:
nodeRef
- the node reference about to be deleted
getCopyCallback
public CopyBehaviourCallback getCopyCallback(org.alfresco.service.namespace.QName classRef,
CopyDetails copyDetails)
- Description copied from interface:
CopyServicePolicies.OnCopyNodePolicy
- Called for all types and aspects before copying a node.
- Specified by:
getCopyCallback
in interface CopyServicePolicies.OnCopyNodePolicy
- Parameters:
classRef
- the type or aspect qualified namecopyDetails
- the details of the impending copy
- Returns:
- Returns
WorkingCopyAspectCopyBehaviourCallback
- See Also:
CopyServicePolicies
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.