public class WorkingCopyAspect extends java.lang.Object implements CopyServicePolicies.OnCopyNodePolicy
Policy.ArgARG_0, ARG_1, QNAME| Constructor and Description |
|---|
WorkingCopyAspect() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeDeleteWorkingCopy(org.alfresco.service.cmr.repository.NodeRef nodeRef)
beforeDeleteNode policy behaviour
|
CopyBehaviourCallback |
getCopyCallback(org.alfresco.service.namespace.QName classRef,
CopyDetails copyDetails)
Called for all types and aspects before copying a node.
|
void |
init()
Initialise method
|
void |
setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService) |
void |
setLockService(LockService lockService)
Set the lock service
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service
|
void |
setPolicyBehaviourFilter(BehaviourFilter policyBehaviourFilter) |
void |
setPolicyComponent(PolicyComponent policyComponent)
Sets the policy component
|
public void setPolicyComponent(PolicyComponent policyComponent)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setLockService(LockService lockService)
public void setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
checkOutCheckInService - the service dealing with working copiespublic void setPolicyBehaviourFilter(BehaviourFilter policyBehaviourFilter)
policyBehaviourFilter - public void init()
public void beforeDeleteWorkingCopy(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - the node reference about to be deletedpublic CopyBehaviourCallback getCopyCallback(org.alfresco.service.namespace.QName classRef, CopyDetails copyDetails)
CopyServicePolicies.OnCopyNodePolicygetCopyCallback in interface CopyServicePolicies.OnCopyNodePolicyclassRef - the type or aspect qualified namecopyDetails - the details of the impending copyWorkingCopyAspectCopyBehaviourCallbackCopyServicePoliciesCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.