org.alfresco.repo.action
Class ActionsAspect

java.lang.Object
  extended by org.alfresco.repo.action.ActionsAspect

public class ActionsAspect
extends java.lang.Object

Class containing behaviour for the actions aspect


Constructor Summary
ActionsAspect()
           
 
Method Summary
 void disbleOnAddAspect()
          Helper to diable the on add aspect policy behaviour.
 void enableOnAddAspect()
          Helper to enable the on add aspect policy behaviour.
 void init()
           
 void onAddAspect(NodeRef nodeRef, QName aspectTypeQName)
          On add aspect policy behaviour
 void onCopyComplete(QName classRef, NodeRef sourceNodeRef, NodeRef destinationRef, boolean copyToNew, java.util.Map copyMap)
           
 void onCopyNode(QName classRef, NodeRef sourceNodeRef, StoreRef destinationStoreRef, boolean copyToNewNode, PolicyScope copyDetails)
           
 void setNodeService(NodeService nodeService)
           
 void setPolicyComponent(PolicyComponent policyComponent)
           
 void setRuleService(RuleService ruleService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionsAspect

public ActionsAspect()
Method Detail

setPolicyComponent

public void setPolicyComponent(PolicyComponent policyComponent)

setNodeService

public void setNodeService(NodeService nodeService)

setRuleService

public void setRuleService(RuleService ruleService)

init

public void init()

disbleOnAddAspect

public void disbleOnAddAspect()
Helper to diable the on add aspect policy behaviour. Helpful when importing, copying and other bulk respstorative operations. TODO will eventually be redundant when policies can be enabled/diabled in the policy componenet


enableOnAddAspect

public void enableOnAddAspect()
Helper to enable the on add aspect policy behaviour. Helpful when importing, copying and other bulk respstorative operations. TODO will eventually be redundant when policies can be enabled/diabled in the policy componenet


onAddAspect

public void onAddAspect(NodeRef nodeRef,
                        QName aspectTypeQName)
On add aspect policy behaviour

Parameters:
nodeRef -
aspectTypeQName -

onCopyNode

public void onCopyNode(QName classRef,
                       NodeRef sourceNodeRef,
                       StoreRef destinationStoreRef,
                       boolean copyToNewNode,
                       PolicyScope copyDetails)

onCopyComplete

public void onCopyComplete(QName classRef,
                           NodeRef sourceNodeRef,
                           NodeRef destinationRef,
                           boolean copyToNew,
                           java.util.Map copyMap)


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.