Interface VersioningFileSystemItemFactory

    • Method Detail

      • needsVersioning

        @Deprecated
        boolean needsVersioning​(DocumentModel doc)
        Deprecated.
        since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymore
        Returns true if the given DocumentModel needs to be versioned. An example of policy could be to version the document if the last modification was done more than getVersioningDelay() seconds ago.
      • getVersioningDelay

        @Deprecated
        double getVersioningDelay()
        Deprecated.
        since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymore
        Gets the delay passed which a document needs to be versioned since its last modification.
        See Also:
        DefaultFileSystemItemFactory.needsVersioning(DocumentModel)
      • setVersioningDelay

        @Deprecated
        void setVersioningDelay​(double versioningDelay)
        Deprecated.
        since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymore
        Sets the delay passed which a document needs to be versioned since its last modification.
      • getVersioningOption

        @Deprecated
        VersioningOption getVersioningOption()
        Deprecated.
        since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymore
        Gets the increment option used when versioning a document.
      • setVersioningOption

        @Deprecated
        void setVersioningOption​(VersioningOption versioningOption)
        Deprecated.
        since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymore
        Sets the increment option used when versioning a document.