|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RevisionManager
Interface for accessing revision and checkpoint functions. Note that the objects delivered from the revision part have limited functionality. For example they must not be updated. However they can be made to the actual object with the appropriate method.
Note that the revision feature must be switched on before using this interface.
Method Summary | |
---|---|
int |
deleteCheckpointLabels(java.lang.String checkpointLabel)
Delete all label names from all flagged revision objects. |
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
findObjects(java.util.Collection findQualifiers,
javax.xml.registry.infomodel.RegistryObject regObj)
Find all revision objects based on the given registry object and with find qualifiers. |
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
findObjects(java.util.Collection findQualifiers,
java.lang.String objectType,
java.util.Collection checkpointLabels,
java.util.Collection classifications)
Find all revision objects based on the given object type and with find qualifiers. |
java.lang.String |
getCheckpointLabel(javax.xml.registry.infomodel.RegistryObject regObj)
Get the checkpoint label name of a registry object from the revision part. |
java.util.Collection<java.lang.String> |
getCheckpointLabels()
Get a list of all checkpoint label names active in the system. |
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
getCheckpointObjects(java.util.Collection<javax.xml.registry.infomodel.RegistryObject> objects,
java.lang.String checkpointLabel)
Get the revision objects, based on the objects specified and having a checkpoint label. |
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
getCheckpointObjects(java.lang.String checkpointLabel)
Get all revision objects which were created with the given checkpoint label name. |
int |
getMinorVersion(javax.xml.registry.infomodel.RegistryObject regObj)
Get the minor version number of a registry object. |
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
getObjects(javax.xml.registry.infomodel.RegistryObject regObj)
Get all present revision objects based on a specific jaxr object. |
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
getObjects(java.lang.String objectType,
java.lang.String objectId)
Get all present revision objects based on a specific jaxr object. |
int |
purge(java.util.Collection<java.lang.String> objectTypes,
int keepCount)
Purge old versions of objects in the registry. |
int |
purge(javax.xml.registry.infomodel.RegistryObject regObj,
int keepCount)
Purge old versions based on the given registry object. |
void |
restoreObjects(java.util.Collection<javax.xml.registry.infomodel.RegistryObject> objects)
Restore the specified revision objects that they will become the actual object. |
void |
setCheckpointLabel(java.util.Collection<javax.xml.registry.infomodel.RegistryObject> objects,
java.lang.String checkpointLabel)
Set a checkpoint label name to the objects specified. |
Method Detail |
---|
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getObjects(java.lang.String objectType, java.lang.String objectId) throws RevisionException
objectType
- the object type of the object (in the shape: "{namespace}typename")objectId
- the uddi-id of the object
RevisionException
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getObjects(javax.xml.registry.infomodel.RegistryObject regObj) throws RevisionException
regObj
- a registry object
RevisionException
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> findObjects(java.util.Collection findQualifiers, javax.xml.registry.infomodel.RegistryObject regObj) throws RevisionException
findQualifiers
- qualifiers from RevisionFindQualifiersregObj
- a registry object
RevisionException
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> findObjects(java.util.Collection findQualifiers, java.lang.String objectType, java.util.Collection checkpointLabels, java.util.Collection classifications) throws RevisionException
findQualifiers
- qualifiers from RevisionFindQualifiers (null: not required)objectType
- the object type (in the shape: "{namespace}typename")checkpointLabels
- collection of matching label names (null: not required)classifications
- collection of classifications which should match (null: not required)
RevisionException
void restoreObjects(java.util.Collection<javax.xml.registry.infomodel.RegistryObject> objects) throws RevisionException
objects
- collection of RegistryObject from the revision part
RevisionException
void setCheckpointLabel(java.util.Collection<javax.xml.registry.infomodel.RegistryObject> objects, java.lang.String checkpointLabel) throws RevisionException
objects
- collection of RegistryObjectcheckpointLabel
- name of the checkpoint label
RevisionException
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getCheckpointObjects(java.util.Collection<javax.xml.registry.infomodel.RegistryObject> objects, java.lang.String checkpointLabel) throws RevisionException
objects
- collection of RegistryObjectcheckpointLabel
- name of the checkpoint label
RevisionException
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> getCheckpointObjects(java.lang.String checkpointLabel) throws RevisionException
checkpointLabel
- name of the checkpoint label
RevisionException
java.util.Collection<java.lang.String> getCheckpointLabels() throws RevisionException
RevisionException
int deleteCheckpointLabels(java.lang.String checkpointLabel) throws RevisionException
checkpointLabel
- name of the checkpoint label
RevisionException
int purge(javax.xml.registry.infomodel.RegistryObject regObj, int keepCount) throws RevisionException
regObj
- a registry objectkeepCount
- number of objects to keep (the value must be > 0)
RevisionException
int purge(java.util.Collection<java.lang.String> objectTypes, int keepCount) throws RevisionException
objectTypes
- collection of object types to purge (shape: {namespace}type)
null or empty list: purge all objects in the registrykeepCount
- number of objects to keep (the value must be > 0)
RevisionException
int getMinorVersion(javax.xml.registry.infomodel.RegistryObject regObj) throws RevisionException
regObj
- any registry object
RevisionException
java.lang.String getCheckpointLabel(javax.xml.registry.infomodel.RegistryObject regObj) throws RevisionException
regObj
- a registry object (original or from revision part)
RevisionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |