@AlfrescoPublicApi public static interface ContentServicePolicies.OnContentPropertyUpdatePolicy extends ClassPolicy
Policy.Arg
Modifier and Type | Field and Description |
---|---|
static org.alfresco.service.namespace.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
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) |
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)
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 changeContentData.hasContent(ContentData)
,
ContentServiceImpl.onUpdateProperties(NodeRef, java.util.Map, java.util.Map)
Copyright © 2005–2017 Alfresco Software. All rights reserved.