public class UsageQuotaProtector extends java.lang.Object implements NodeServicePolicies.OnUpdatePropertiesPolicy
Policy.ArgARG_0, ARG_1, ARG_2, QNAME| Constructor and Description |
|---|
UsageQuotaProtector() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
The initialise method
|
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.
|
void |
setAuthorityService(AuthorityService authorityService) |
void |
setContentUsageService(ContentUsageService contentUsageService) |
void |
setPolicyComponent(PolicyComponent policyComponent) |
public void setAuthorityService(AuthorityService authorityService)
public void setContentUsageService(ContentUsageService contentUsageService)
public void setPolicyComponent(PolicyComponent policyComponent)
public void init()
public void onUpdateProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.util.Map before,
java.util.Map after)
onUpdateProperties in interface NodeServicePolicies.OnUpdatePropertiesPolicynodeRef - reference to the updated nodebefore - the node's properties before the changeafter - the node's properties after the changeCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.