public interface VersionDAO extends PersistentObjectDAO<Version>
Modifier and Type | Method and Description |
---|---|
List<Version> |
findByDocId(long docId)
Finds all versions of the given document
|
Version |
findByVersion(long docId,
String version)
This method finds a version by the document's ID an the version code.
|
boolean |
store(Version version)
This method persists the given version.
|
void |
updateDigest(Version version)
Updates the version's digest (SHA-1)
|
bulkUpdate, delete, deleteAll, findAll, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet
Version findByVersion(long docId, String version)
docId
- ID of the documentversion
- the version codeList<Version> findByDocId(long docId)
docId
- The document's idboolean store(Version version)
store
in interface PersistentObjectDAO<Version>
version
- version to be stored.void updateDigest(Version version)
doc
- The version to be processedCopyright © 2008-2014 Logical Objects. All Rights Reserved.