Package org.nuxeo.drive.service
Interface VersioningFileSystemItemFactory
-
- All Superinterfaces:
FileSystemItemFactory
- All Known Implementing Classes:
DefaultFileSystemItemFactory
@Deprecated public interface VersioningFileSystemItemFactory extends FileSystemItemFactory
Deprecated.since 9.1 as the automatic versioning is handled by versioning system, we don't need anymore this mechanism in driveAFileSystemItemFactory
able to handle versioning.- Author:
- Antoine Taillefer
- See Also:
DefaultFileSystemItemFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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 anymoreVersioningOption
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 anymoreboolean
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 anymorevoid
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 anymorevoid
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-
Methods inherited from interface org.nuxeo.drive.service.FileSystemItemFactory
canHandleFileSystemItemId, exists, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getName, handleParameters, isFileSystemItem, isFileSystemItem, isFileSystemItem, setName
-
-
-
-
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 anymoreReturns true if the givenDocumentModel
needs to be versioned. An example of policy could be to version the document if the last modification was done more thangetVersioningDelay()
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 anymoreGets the delay passed which a document needs to be versioned since its last modification.
-
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 anymoreSets 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 anymoreGets 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 anymoreSets the increment option used when versioning a document.
-
-