|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionRootDAO
DAO for VersionRoot objects.
Method Summary | |
---|---|
void |
delete(VersionRoot vr)
Delete a VersionRoot. |
java.util.List |
getAllInAVMStore(AVMStore store)
Get all the version roots in a given store. |
java.util.List |
getByDates(AVMStore store,
java.util.Date from,
java.util.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. |
java.util.List |
getByVersionsBetween(AVMStore store,
int startVersion,
int endVersion)
|
java.util.List |
getByVersionsFrom(AVMStore store,
int version)
|
java.util.List |
getByVersionsTo(AVMStore store,
int version)
|
VersionRoot |
getMaxVersion(AVMStore store)
Get the highest numbered version in a store. |
java.lang.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)
|
Method Detail |
---|
void save(VersionRoot vr)
vr
- The VersionRoot to save.void update(VersionRoot vr)
void delete(VersionRoot vr)
vr
- The VersionRoot to delete.java.util.List 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.
java.util.List getByDates(AVMStore store, java.util.Date from, java.util.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.
java.lang.Integer getMaxVersionID(AVMStore store)
store
- The store.
java.util.List getByVersionsTo(AVMStore store, int version)
store
- version
-
java.util.List getByVersionsFrom(AVMStore store, int version)
store
- version
-
java.util.List getByVersionsBetween(AVMStore store, int startVersion, int endVersion)
store
- startVersion
- endVersion
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |