public interface VersioningFileSystemItemFactory extends FileSystemItemFactory
FileSystemItemFactory able to handle versioning.DefaultFileSystemItemFactory| Modifier and Type | Method and Description | 
|---|---|
| double | getVersioningDelay()Gets the delay passed which a document needs to be versioned since its
 last modification. | 
| VersioningOption | getVersioningOption()Gets the increment option used when versioning a document. | 
| boolean | needsVersioning(DocumentModel doc)Returns true if the given  DocumentModelneeds to be versioned. | 
| void | setVersioningDelay(double versioningDelay)Sets the delay passed which a document needs to be versioned since its
 last modification. | 
| void | setVersioningOption(VersioningOption versioningOption)Sets the increment option used when versioning a document. | 
canHandleFileSystemItemId, exists, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getName, handleParameters, isFileSystemItem, isFileSystemItem, isFileSystemItem, setNameboolean needsVersioning(DocumentModel doc) throws ClientException
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.double getVersioningDelay()
void setVersioningDelay(double versioningDelay)
VersioningOption getVersioningOption()
void setVersioningOption(VersioningOption versioningOption)
Copyright © 2014 Nuxeo SA. All rights reserved.