public interface VersionRootDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(VersionRoot vr)
Delete a VersionRoot.
|
List<VersionRoot> |
getAllInAVMStore(AVMStore store)
Get all the version roots in a given store.
|
List<VersionRoot> |
getByDates(AVMStore store,
Date from,
Date to)
Get the version of a store by dates.
|
VersionRoot |
getByRoot(AVMNode root)
Get one from its root.
|
VersionRoot |
getByVersionID(AVMStore store,
int id)
Get the VersionRoot corresponding to the given id.
|
List<VersionRoot> |
getByVersionsBetween(AVMStore store,
int startVersion,
int endVersion) |
List<VersionRoot> |
getByVersionsFrom(AVMStore store,
int version) |
List<VersionRoot> |
getByVersionsTo(AVMStore store,
int version) |
VersionRoot |
getMaxVersion(AVMStore store)
Get the highest numbered version in a store.
|
Integer |
getMaxVersionID(AVMStore store)
Get the highest numbered id from all the versions in a store.
|
void |
save(VersionRoot vr)
Save an unsaved VersionRoot.
|
void |
update(VersionRoot vr) |
void save(VersionRoot vr)
vr - The VersionRoot to save.void update(VersionRoot vr)
void delete(VersionRoot vr)
vr - The VersionRoot to delete.List<VersionRoot> getAllInAVMStore(AVMStore store)
store - The store.VersionRoot getByVersionID(AVMStore store, int id)
store - The storeid - The version id.VersionRoot getByRoot(AVMNode root)
root - The root to match.List<VersionRoot> getByDates(AVMStore store, 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.VersionRoot getMaxVersion(AVMStore store)
store - The store.Integer getMaxVersionID(AVMStore store)
store - The store.List<VersionRoot> getByVersionsTo(AVMStore store, int version)
store - version - List<VersionRoot> getByVersionsFrom(AVMStore store, int version)
store - version - List<VersionRoot> getByVersionsBetween(AVMStore store, int startVersion, int endVersion)
store - startVersion - endVersion - Copyright © 2005–2014 Alfresco Software. All rights reserved.