Class WorkingCopyAspect

    • Constructor Detail

      • WorkingCopyAspect

        public WorkingCopyAspect()
    • Method Detail

      • setPolicyComponent

        public void setPolicyComponent​(PolicyComponent policyComponent)
        Sets the policy component
      • setNodeService

        public void setNodeService​(NodeService nodeService)
        Set the node service
      • setNodeDAO

        public void setNodeDAO​(NodeDAO nodeDAO)
        Set the node dao
      • setLockService

        public void setLockService​(LockService lockService)
        Set the lock service
      • setCheckOutCheckInService

        public void setCheckOutCheckInService​(CheckOutCheckInService checkOutCheckInService)
        Parameters:
        checkOutCheckInService - the service dealing with working copies
      • setPolicyBehaviourFilter

        public void setPolicyBehaviourFilter​(BehaviourFilter policyBehaviourFilter)
        Parameters:
        policyBehaviourFilter - BehaviourFilter
      • init

        public void init()
        Initialise method
      • beforeDeleteWorkingCopy

        public void beforeDeleteWorkingCopy​(NodeRef nodeRef)
        beforeDeleteNode policy behaviour
        Parameters:
        nodeRef - the node reference about to be deleted
      • onDeleteCmisCreatedCheckoutWorkingCopyAssociation

        public void onDeleteCmisCreatedCheckoutWorkingCopyAssociation​(AssociationRef nodeAssocRef)
        onDeleteAssociation policy behaviour If the node has the aspect ASPECT_CMIS_CREATED_CHECKEDOUT and ASSOC_WORKING_COPY_LINK association is deleted, delete the node. Fix for MNT-14850.
        Parameters:
        nodeAssocRef - ASSOC_WORKING_COPY_LINK association where the source is the checkedOut node and the target is the workingCopy