Class UsageQuotaProtector

    • Constructor Detail

      • UsageQuotaProtector

        public UsageQuotaProtector()
    • Method Detail

      • setAuthorityService

        public void setAuthorityService​(AuthorityService authorityService)
      • setContentUsageService

        public void setContentUsageService​(ContentUsageService contentUsageService)
      • setPolicyComponent

        public void setPolicyComponent​(PolicyComponent policyComponent)
      • init

        public void init()
        The initialise method
      • onUpdateProperties

        public void onUpdateProperties​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                       java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> before,
                                       java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> after)
        Called after a node's properties have been changed.
        Specified by:
        onUpdateProperties in interface NodeServicePolicies.OnUpdatePropertiesPolicy
        Parameters:
        nodeRef - reference to the updated node
        before - the node's properties before the change
        after - the node's properties after the change