Class FilePlanType

  • All Implemented Interfaces:
    RecordsManagementCustomModel, RecordsManagementModel, org.alfresco.repo.node.NodeServicePolicies.BeforeDeleteNodePolicy, org.alfresco.repo.node.NodeServicePolicies.OnCreateChildAssociationPolicy, org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy, org.alfresco.repo.node.NodeServicePolicies.OnDeleteNodePolicy, org.alfresco.repo.policy.annotation.BehaviourRegistry, org.alfresco.repo.policy.AssociationPolicy, org.alfresco.repo.policy.ClassPolicy, org.alfresco.repo.policy.Policy, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class FilePlanType
    extends BaseBehaviourBean
    implements org.alfresco.repo.node.NodeServicePolicies.OnCreateChildAssociationPolicy, org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy, org.alfresco.repo.node.NodeServicePolicies.OnDeleteNodePolicy, org.alfresco.repo.node.NodeServicePolicies.BeforeDeleteNodePolicy
    rma:filePlan behaviour bean
    Since:
    2.2
    Author:
    Roy Wetherall
    • Constructor Detail

      • FilePlanType

        public FilePlanType()
    • Method Detail

      • getFilePlanService

        protected FilePlanService getFilePlanService()
        Returns:
        File plan service
      • getRecordFolderService

        protected RecordFolderService getRecordFolderService()
        Returns:
        Record folder service
      • getIdentifierService

        protected IdentifierService getIdentifierService()
        Returns:
        Identifier service
      • getFilePlanRoleService

        protected FilePlanRoleService getFilePlanRoleService()
        Returns:
        File plan role service
      • setFilePlanService

        public void setFilePlanService​(FilePlanService filePlanService)
        Parameters:
        filePlanService - file plan service
      • setRecordFolderService

        public void setRecordFolderService​(RecordFolderService recordFolderService)
        Parameters:
        recordFolderService - record folder service
      • setIdentifierService

        public void setIdentifierService​(IdentifierService identifierService)
        Parameters:
        identifierService - identifier service
      • setFilePlanRoleService

        public void setFilePlanRoleService​(FilePlanRoleService filePlanRoleService)
        Parameters:
        filePlanRoleService - file plan role service
      • setUnfiledRecordContainerType

        public void setUnfiledRecordContainerType​(UnfiledRecordContainerType unfiledRecordContainerType)
        Parameters:
        unfiledRecordContainerType - - unfiled record container type behaviour bean
      • setTransferContainerType

        public void setTransferContainerType​(TransferContainerType transferContainerType)
        Parameters:
        transferContainerType - - transfer container type behaviour bean
      • setHoldContainerType

        public void setHoldContainerType​(HoldContainerType holdContainerType)
        Parameters:
        holdContainerType - - hold container type behaviour bean
      • disable

        public void disable()
        Disable the behaviours for this transaction
      • enable

        public void enable()
        Enable behaviours for this transaction
      • onCreateChildAssociation

        public void onCreateChildAssociation​(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
                                             boolean bNew)
        Specified by:
        onCreateChildAssociation in interface org.alfresco.repo.node.NodeServicePolicies.OnCreateChildAssociationPolicy
        See Also:
        NodeServicePolicies.OnCreateChildAssociationPolicy.onCreateChildAssociation(org.alfresco.service.cmr.repository.ChildAssociationRef, boolean)
      • onCreateNode

        public void onCreateNode​(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
        Specified by:
        onCreateNode in interface org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy
        See Also:
        NodeServicePolicies.OnCreateNodePolicy.onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationRef)
      • onDeleteNode

        public void onDeleteNode​(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
                                 boolean archived)
        Specified by:
        onDeleteNode in interface org.alfresco.repo.node.NodeServicePolicies.OnDeleteNodePolicy
        See Also:
        NodeServicePolicies.OnDeleteNodePolicy.onDeleteNode(org.alfresco.service.cmr.repository.ChildAssociationRef, boolean)
      • beforeDeleteNode

        public void beforeDeleteNode​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Specified by:
        beforeDeleteNode in interface org.alfresco.repo.node.NodeServicePolicies.BeforeDeleteNodePolicy
        See Also:
        NodeServicePolicies.BeforeDeleteNodePolicy.beforeDeleteNode(org.alfresco.service.cmr.repository.NodeRef)
      • onDeleteNodeOnCommit

        public void onDeleteNodeOnCommit​(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
                                         boolean archived)