Interface VersionRemovalPolicy

  • All Known Implementing Classes:
    DefaultVersionRemovalPolicy, NullVersionRemovalPolicy

    public interface VersionRemovalPolicy
    Interface for the policy that decides which versions have to be removed when a working document is removed. This policy is called at the AbstractSession level.
    Author:
    Florent Guillaume
    • Method Detail

      • removeVersions

        void removeVersions​(Session session,
                            Document doc,
                            CoreSession coreSession)
        Removes the versions when a given working document is about to be removed.
        Parameters:
        session - the current session
        doc - the document that is about to be removed