Package org.alfresco.repo.version
Interface VersionRevertCallback
public interface VersionRevertCallback
A 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 ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptiongetRevertAspectAction(QName aspectName, VersionRevertDetails details) How should the specified aspect be reverted?getRevertAssocAction(QName assocName, VersionRevertDetails details) How should the specified assoc be reverted?
-
Method Details
-
getRevertAspectAction
VersionRevertCallback.RevertAspectAction getRevertAspectAction(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(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
-