Uses of Class
com.logicaldoc.core.document.Version
Packages that use Version
Package
Description
-
Uses of Version in com.logicaldoc.core.document
Methods in com.logicaldoc.core.document that return VersionModifier and TypeMethodDescriptionstatic VersionVersion.create(Document document, User user, String comment, DocumentEvent event, boolean release) Factory method that creates a Version and replicate all given document's properties.
The new version and fileVersion will be set in both Document and Version
Important: The created Version is not persistentDocumentManager.deleteVersion(long versionId, DocumentHistory transaction) Deletes a specific version.HibernateVersionDAO.findByFileVersion(long docId, String fileVersion) VersionDAO.findByFileVersion(long docId, String fileVersion) This method finds a the first version with the given fileVersionHibernateVersionDAO.findByVersion(long docId, String version) VersionDAO.findByVersion(long docId, String version) This method finds a version by the document's ID an the version code.Methods in com.logicaldoc.core.document that return types with arguments of type VersionModifier and TypeMethodDescriptionHibernateVersionDAO.findByDocId(long docId) VersionDAO.findByDocId(long docId) Finds all versions of the given documentMethods in com.logicaldoc.core.document with parameters of type VersionModifier and TypeMethodDescriptionintvoidHibernateVersionDAO.initialize(Version version) voidThis method persists the given version.voidHibernateVersionDAO.updateDigest(Version version) voidVersionDAO.updateDigest(Version version) Updates the version's digest (SHA-1)Constructors in com.logicaldoc.core.document with parameters of type Version