org.alfresco.repo.content
Interface ContentServicePolicies.OnContentPropertyUpdatePolicy
- All Superinterfaces:
- ClassPolicy, Policy
- Enclosing interface:
- ContentServicePolicies
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
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
Policy.Arg |
Field Summary |
static org.alfresco.service.namespace.QName |
QNAME
|
Method Summary |
void |
onContentPropertyUpdate(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName propertyQName,
org.alfresco.service.cmr.repository.ContentData beforeValue,
org.alfresco.service.cmr.repository.ContentData afterValue)
|
QNAME
static final org.alfresco.service.namespace.QName QNAME
onContentPropertyUpdate
void onContentPropertyUpdate(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName propertyQName,
org.alfresco.service.cmr.repository.ContentData beforeValue,
org.alfresco.service.cmr.repository.ContentData afterValue)
- Parameters:
nodeRef
- the node referencepropertyQName
- the name of the property that changedbeforeValue
- 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)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.