mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MNT-9318: CLONE - It's impossible to update comment for the content after version revert
Merged V4.1-BUG-FIX (4.1.7) to HEAD (4.2) 55265: Merged DEV to V4.1-BUG-FIX (4.1.7) 55184: MNT-6334: It's impossible to update comment for the content after version revert - Restore association if it was removed in older document version. - Extend unit test. 55221: MNT-6334: It's impossible to update comment for the content after version revert - Make corrections to the code. - Extend unit test. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -125,4 +125,21 @@ public interface VersionServicePolicies
|
||||
int versionNumber,
|
||||
Map<String, Serializable>verisonProperties);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* After create version policy interface
|
||||
*
|
||||
*/
|
||||
public interface AfterVersionRevertPolicy extends ClassPolicy
|
||||
{
|
||||
public static final QName QNAME = QName.createQName(NamespaceService.ALFRESCO_URI, "afterVersionRevert");
|
||||
/**
|
||||
* Called after the version has been reverted
|
||||
*
|
||||
* @param nodeRef the node that has been reverted
|
||||
* @param version the reverted version
|
||||
*/
|
||||
public void afterVersionRevert(NodeRef nodeRef, Version version);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user