Class TransferType

  • All Implemented Interfaces:
    RecordsManagementCustomModel, RecordsManagementModel, org.alfresco.repo.node.NodeServicePolicies.OnCreateChildAssociationPolicy, org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy, 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 TransferType
    extends BaseBehaviourBean
    implements org.alfresco.repo.node.NodeServicePolicies.OnCreateChildAssociationPolicy, org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy
    rma:transfer behaviour bean
    Since:
    2.6
    Author:
    Silviu Dinuta
    • Constructor Detail

      • TransferType

        public TransferType()
    • Method Detail

      • 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 isNewNode)
        Prevent creating a node inside transfer folder, this will be possible only through internal services in a controlled manner.
        Specified by:
        onCreateChildAssociation in interface org.alfresco.repo.node.NodeServicePolicies.OnCreateChildAssociationPolicy
      • onUpdateProperties

        public void onUpdateProperties​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                       Map<org.alfresco.service.namespace.QName,​Serializable> before,
                                       Map<org.alfresco.service.namespace.QName,​Serializable> after)
        Specified by:
        onUpdateProperties in interface org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy