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(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<org.alfresco.service.namespace.QName,Serializable> before,
Map<org.alfresco.service.namespace.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(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<org.alfresco.service.namespace.QName,Serializable> before,
Map<org.alfresco.service.namespace.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–2018 Alfresco Software. All rights reserved.