org.alfresco.repo.version
Interface VersionServicePolicies.OnCreateVersionPolicy
- All Superinterfaces:
- ClassPolicy, Policy
- All Known Implementing Classes:
- AccessAuditor, LockServiceImpl
- Enclosing interface:
- VersionServicePolicies
public static interface VersionServicePolicies.OnCreateVersionPolicy
- extends ClassPolicy
On create version policy interface
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 |
onCreateVersion(org.alfresco.service.namespace.QName classRef,
org.alfresco.service.cmr.repository.NodeRef versionableNode,
java.util.Map versionProperties,
PolicyScope nodeDetails)
Called during the creation of the version to determine what the versioning policy for a
perticular type may be. |
QNAME
static final org.alfresco.service.namespace.QName QNAME
onCreateVersion
void onCreateVersion(org.alfresco.service.namespace.QName classRef,
org.alfresco.service.cmr.repository.NodeRef versionableNode,
java.util.Map 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
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.