org.alfresco.repo.usage
Class UsageQuotaProtector
java.lang.Object
org.alfresco.repo.usage.UsageQuotaProtector
- All Implemented Interfaces:
- NodeServicePolicies.OnUpdatePropertiesPolicy, ClassPolicy, Policy
public class UsageQuotaProtector
- extends java.lang.Object
- implements NodeServicePolicies.OnUpdatePropertiesPolicy
Implements policies/behaviour for protecting system/admin-maintained person properties
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
Policy.Arg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsageQuotaProtector
public UsageQuotaProtector()
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 before,
java.util.Map after)
- Called after a node's properties have been changed.
- Specified by:
onUpdateProperties
in interface NodeServicePolicies.OnUpdatePropertiesPolicy
- Parameters:
nodeRef
- reference to the updated nodebefore
- the node's properties before the changeafter
- the node's properties after the change
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.