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