public interface AVMVersionRootDAO
| Modifier and Type | Method and Description |
|---|---|
AVMVersionLayeredNodeEntryEntity |
createVersionLayeredNodeEntry(long versionRootId,
String md5sum,
String path) |
AVMVersionRootEntity |
createVersionRoot(long storeId,
long rootNodeId,
int version,
String creator,
String tag,
String description)
Create a new AVM version root
|
void |
deleteVersionLayeredNodeEntries(long versionRootId) |
void |
deleteVersionRoot(long versionRootId)
Delete an existing AVM version root
|
List<AVMVersionRootEntity> |
getAllInStore(long storeId)
Get all the version roots in a given store
|
List<AVMVersionRootEntity> |
getByDates(long storeId,
Date from,
Date to)
Get the version of a store by dates.
|
AVMVersionRootEntity |
getByRoot(long rootNodeId)
Get one from its root.
|
AVMVersionRootEntity |
getByVersionID(long storeId,
int version)
Get the VersionRoot corresponding to the given id.
|
List<AVMVersionRootEntity> |
getByVersionsBetween(long id,
int startVersion,
int endVersion) |
List<AVMVersionRootEntity> |
getByVersionsFrom(long id,
int version) |
List<AVMVersionRootEntity> |
getByVersionsTo(long id,
int version) |
AVMVersionRootEntity |
getMaxVersion(long storeId)
Get the highest numbered version in a store.
|
Long |
getMaxVersionID(long storeId)
Get the highest numbered id from all the versions in a store.
|
List<AVMVersionLayeredNodeEntryEntity> |
getVersionLayeredNodeEntries(long versionRootId) |
void |
updateVersionRoot(AVMVersionRootEntity vrEntity)
Update an AVM version root (tag and description only)
|
AVMVersionRootEntity createVersionRoot(long storeId, long rootNodeId, int version, String creator, String tag, String description)
void updateVersionRoot(AVMVersionRootEntity vrEntity)
vrEntity - void deleteVersionRoot(long versionRootId)
vrEntity - the version root entityorg.springframework.dao.ConcurrencyFailureException - if the ID does not existList<AVMVersionRootEntity> getAllInStore(long storeId)
store - The store.AVMVersionRootEntity getByVersionID(long storeId, int version)
store - The storeid - The version id.AVMVersionRootEntity getByRoot(long rootNodeId)
root - The root to match.List<AVMVersionRootEntity> getByDates(long storeId, Date from, Date to)
store - The store.from - The starting date. May be null but not with to null also.to - The ending date. May be null but not with from null also.AVMVersionRootEntity getMaxVersion(long storeId)
store - The store.Long getMaxVersionID(long storeId)
store - The store.AVMVersionLayeredNodeEntryEntity createVersionLayeredNodeEntry(long versionRootId, String md5sum, String path)
void deleteVersionLayeredNodeEntries(long versionRootId)
List<AVMVersionLayeredNodeEntryEntity> getVersionLayeredNodeEntries(long versionRootId)
List<AVMVersionRootEntity> getByVersionsTo(long id, int version)
id - version - List<AVMVersionRootEntity> getByVersionsFrom(long id, int version)
id - version - List<AVMVersionRootEntity> getByVersionsBetween(long id, int startVersion, int endVersion)
id - startVersion - endVersion - Copyright © 2005–2014 Alfresco Software. All rights reserved.