public class UsageQuotaProtector extends 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(NodeRef nodeRef,
Map<QName,Serializable> before,
Map<QName,Serializable> 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(NodeRef nodeRef, Map<QName,Serializable> before, Map<QName,Serializable> 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–2021 Alfresco Software. All rights reserved.