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
    • 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 revert
        details - 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 revert
        details - details of the node to revert