public interface AVMVersionRootDAO
| Modifier and Type | Method and Description |
|---|---|
AVMVersionLayeredNodeEntryEntity |
createVersionLayeredNodeEntry(long versionRootId,
java.lang.String md5sum,
java.lang.String path) |
AVMVersionRootEntity |
createVersionRoot(long storeId,
long rootNodeId,
int version,
java.lang.String creator,
java.lang.String tag,
java.lang.String description)
Create a new AVM version root
|
void |
deleteVersionLayeredNodeEntries(long versionRootId) |
void |
deleteVersionRoot(long versionRootId)
Delete an existing AVM version root
|
java.util.List |
getAllInStore(long storeId)
Get all the version roots in a given store
|
java.util.List |
getByDates(long storeId,
java.util.Date from,
java.util.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.
|
java.util.List |
getByVersionsBetween(long id,
int startVersion,
int endVersion) |
java.util.List |
getByVersionsFrom(long id,
int version) |
java.util.List |
getByVersionsTo(long id,
int version) |
AVMVersionRootEntity |
getMaxVersion(long storeId)
Get the highest numbered version in a store.
|
java.lang.Long |
getMaxVersionID(long storeId)
Get the highest numbered id from all the versions in a store.
|
java.util.List |
getVersionLayeredNodeEntries(long versionRootId) |
void |
updateVersionRoot(AVMVersionRootEntity vrEntity)
Update an AVM version root (tag and description only)
|
AVMVersionRootEntity createVersionRoot(long storeId, long rootNodeId, int version, java.lang.String creator, java.lang.String tag, java.lang.String description)
void updateVersionRoot(AVMVersionRootEntity vrEntity)
vrEntity - void deleteVersionRoot(long versionRootId)
vrEntity - the version root entityorg.springframework.dao.ConcurrencyFailureException - if the ID does not existjava.util.List 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.java.util.List getByDates(long storeId,
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.AVMVersionRootEntity getMaxVersion(long storeId)
store - The store.java.lang.Long getMaxVersionID(long storeId)
store - The store.AVMVersionLayeredNodeEntryEntity createVersionLayeredNodeEntry(long versionRootId, java.lang.String md5sum, java.lang.String path)
void deleteVersionLayeredNodeEntries(long versionRootId)
java.util.List getVersionLayeredNodeEntries(long versionRootId)
java.util.List getByVersionsTo(long id,
int version)
id - version - java.util.List getByVersionsFrom(long id,
int version)
id - version - java.util.List getByVersionsBetween(long id,
int startVersion,
int endVersion)
id - startVersion - endVersion - Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.