public interface ICollectorVersioning
Modifier and Type | Method and Description |
---|---|
void |
createVersion(java.util.Collection<RegistryObject> newObjects,
VersionCopyMode copyMode)
Creates versions of all related objects.
|
java.util.Collection<RegistryObject> |
getPurgeTopObjects()
Gets the top object(s) of the object to be purged.
|
java.util.Collection<Key> |
purge(int keepCount)
Purges objects of all related objects.
|
void createVersion(java.util.Collection<RegistryObject> newObjects, VersionCopyMode copyMode) throws JAXRException, VersionException
newObjects
- list of new duplicates objectscopyMode
- the copy modeJAXRException
- if an internal error occurs on creating versionVersionException
- if an internal error occursjava.util.Collection<Key> purge(int keepCount) throws JAXRException
keepCount
- the keep count of the purgeJAXRException
- if an internal error occursjava.util.Collection<RegistryObject> getPurgeTopObjects() throws JAXRException
JAXRException
- if an internal error occurs