Package org.alfresco.repo.version
Interface VersionRevertCallback
-
public interface VersionRevertCallbackA callback to modify version revert behaviour associated with a given type or aspect. This callback is called per type and per aspect.- Since:
- 4.2
- Author:
- mrogers
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classVersionRevertCallback.RevertAspectActionstatic classVersionRevertCallback.RevertAssocAction
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionRevertCallback.RevertAspectActiongetRevertAspectAction(org.alfresco.service.namespace.QName aspectName, VersionRevertDetails details)How should the specified aspect be reverted?VersionRevertCallback.RevertAssocActiongetRevertAssocAction(org.alfresco.service.namespace.QName assocName, VersionRevertDetails details)How should the specified assoc be reverted?
-
-
-
Method Detail
-
getRevertAspectAction
VersionRevertCallback.RevertAspectAction getRevertAspectAction(org.alfresco.service.namespace.QName aspectName, VersionRevertDetails details)
How should the specified aspect be reverted?- Parameters:
aspectName- the name of the aspect to revertdetails- details of the aspect to revert
-
getRevertAssocAction
VersionRevertCallback.RevertAssocAction getRevertAssocAction(org.alfresco.service.namespace.QName assocName, VersionRevertDetails details)
How should the specified assoc be reverted?- Parameters:
assocName- the name of the assoc to revertdetails- details of the node to revert
-
-