Package | Description |
---|---|
com.logicaldoc.core.document | |
com.logicaldoc.core.document.dao |
Modifier and Type | Method and Description |
---|---|
static Version |
Version.create(Document document,
User user,
String comment,
String event,
boolean release)
Factory method that creates a Version and replicate all given document's
properties.
|
Version |
DocumentManagerImpl.deleteVersion(long versionId,
History transaction) |
Version |
DocumentManager.deleteVersion(long versionId,
History transition)
Deletes a specific version.
|
Modifier and Type | Method and Description |
---|---|
int |
Version.compareTo(Version other)
for sorting a list of Version objects by the version number
|
Modifier and Type | Method and Description |
---|---|
Version |
VersionDAO.findByVersion(long docId,
String version)
This method finds a version by the document's ID an the version code.
|
Version |
HibernateVersionDAO.findByVersion(long docId,
String version) |
Modifier and Type | Method and Description |
---|---|
List<Version> |
VersionDAO.findByDocId(long docId)
Finds all versions of the given document
|
List<Version> |
HibernateVersionDAO.findByDocId(long docId) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateVersionDAO.initialize(Version version) |
boolean |
VersionDAO.store(Version version)
This method persists the given version.
|
boolean |
HibernateVersionDAO.store(Version version) |
void |
VersionDAO.updateDigest(Version version)
Updates the version's digest (SHA-1)
|
void |
HibernateVersionDAO.updateDigest(Version version) |
Copyright © 2008-2014 Logical Objects. All Rights Reserved.