Lock implementation was listening for beforeUpdateNode on the parent node.

We no longer raise update calls for the parent nodes, so this had to move to onBeforeCreateChildAssociation.
The node service was calling oncreateNodeAssociation, instead of the correct child association behaviour.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-06-15 11:19:32 +00:00
parent fa49ba7916
commit 5cacfe861e
5 changed files with 110 additions and 45 deletions

View File

@@ -80,10 +80,14 @@ public interface VersionServicePolicies
* WARNING: implementing behaviour for this policy effects the versioning behaviour of the
* type the behaviour is registered against.
*
* @param classRef
* @param versionableNode
* @param versionProperties
* @param nodeDetails
* @param classRef
* the class reference
* @param versionableNode
* the versionable node reference
* @param versionProperties
* the version properties
* @param nodeDetails
* the details of the node to be versioned
*/
public void onCreateVersion(
QName classRef,