@AlfrescoPublicApi public static interface VersionServicePolicies.OnCreateVersionPolicy extends ClassPolicy
Policy.Arg| Modifier and Type | Method and Description |
|---|---|
void |
onCreateVersion(QName classRef,
NodeRef versionableNode,
Map<String,Serializable> versionProperties,
PolicyScope nodeDetails)
Called during the creation of the version to determine what the versioning policy for a
perticular type may be.
|
static final QName QNAME
void onCreateVersion(QName classRef, NodeRef versionableNode, Map<String,Serializable> versionProperties, PolicyScope nodeDetails)
classRef - the class referenceversionableNode - the versionable node referenceversionProperties - the version propertiesnodeDetails - the details of the node to be versionedCopyright © 2005–2020 Alfresco Software. All rights reserved.