Package org.alfresco.repo.version
Interface VersionServicePolicies.OnCreateVersionPolicy
-
- All Superinterfaces:
ClassPolicy,Policy
- All Known Implementing Classes:
AccessAuditor,LockServiceImpl
- Enclosing interface:
- VersionServicePolicies
@AlfrescoPublicApi public static interface VersionServicePolicies.OnCreateVersionPolicy extends ClassPolicy
On create version policy interface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy
Policy.Arg
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCreateVersion(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.
-
-
-
Field Detail
-
QNAME
static final QName QNAME
-
-
Method Detail
-
onCreateVersion
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. WARNING: implementing behaviour for this policy effects the versioning behaviour of the type the behaviour is registered against.- Parameters:
classRef- the class referenceversionableNode- the versionable node referenceversionProperties- the version propertiesnodeDetails- the details of the node to be versioned
-
-