@AlfrescoPublicApi public static interface VersionServicePolicies.OnCreateVersionPolicy extends ClassPolicy
Policy.Arg
Modifier and Type | Field and Description |
---|---|
static org.alfresco.service.namespace.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
void |
onCreateVersion(org.alfresco.service.namespace.QName classRef,
org.alfresco.service.cmr.repository.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.
|
void onCreateVersion(org.alfresco.service.namespace.QName classRef, org.alfresco.service.cmr.repository.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–2017 Alfresco Software. All rights reserved.