Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.content
Interface ContentServicePolicies.OnContentPropertyUpdatePolicy
All Superinterfaces:
ClassPolicy, Policy
Enclosing class:
org.alfresco.repo.content.ContentServicePolicies

@org.alfresco.api.AlfrescoPublicApi
public static interface ContentServicePolicies.OnContentPropertyUpdatePolicy
extends ClassPolicy
Policy that is raised for each content property change. Any policy implementations must be aware that the transaction in which this is called could still roll back; no filesystem changes should occur against the source content until after the transaction has successfully completed.
Since:
3.2

Field Summary
QNAME
Fields inherited from interface org.alfresco.repo.policy.Policy
NAMESPACE
Method Summary
void
onContentPropertyUpdate(NodeRef nodeRef, QName propertyQName, ContentData beforeValue, ContentData afterValue)
Field Detail
QNAME
public static final QName QNAME
Method Detail
onContentPropertyUpdate
void onContentPropertyUpdate(NodeRef nodeRef,
                             QName propertyQName,
                             ContentData beforeValue,
                             ContentData afterValue)
Parameters:
nodeRef - the node reference
propertyQName - the name of the property that changed
beforeValue - the value of the content data prior to the change. Note that this value may be null or any of it's member values may be null according to the contract of the ContentData class.
afterValue - the value of the content data after the change
Since:
3.2
See Also:
ContentData.hasContent(ContentData), ContentServiceImpl.onUpdateProperties(NodeRef, java.util.Map, java.util.Map)

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.