|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CentraSiteRevisionManager
Interface for revision manager tasks.
Field Summary | |
---|---|
static java.lang.String |
AUTO_VERSION_CONTROL
|
static java.lang.String |
REVISION_COLLECTION
|
Method Summary | |
---|---|
void |
commitUpdates()
Commit updates. |
java.lang.String |
getCheckpointName(javax.xml.registry.infomodel.RegistryObject regObj)
Get the checkpoint name of the specified registry object. |
javax.xml.namespace.QName |
getDoctypeName(java.lang.String objectType)
Get the doctype name (for xquery) from object type. |
int |
getMajorVersion(javax.xml.registry.infomodel.RegistryObject regObj)
Get the major version from the specified registry object. |
int |
getMaximumVersionNumber(javax.xml.registry.infomodel.RegistryObject regObj)
Get the maximum version (minor version) based on the given registry object. |
int |
getMaximumVersionNumber(java.lang.String objectType,
java.lang.String objectId)
Get the maximum version (minor version) based on the given registry object. |
int |
getMinorVersion(javax.xml.registry.infomodel.RegistryObject regObj)
Get the minor version from the specified registry object. |
java.util.Collection |
getObjectsFromQuery(java.lang.String xquery)
Execute xquery and return resulting objects. |
java.lang.String |
getObjectTypeName(javax.xml.registry.infomodel.RegistryObject regObj)
Get the object type name from a registry object. |
javax.xml.namespace.QName |
getObjectTypeQName(javax.xml.registry.infomodel.RegistryObject regObj)
Get the object type name from a registry object. |
boolean |
getRevisionStatus()
Determines if revision is enabled by checking the schema of the version-collection. |
void |
handleUpdates(java.util.Collection updateObjects)
Handle updates of objects. |
boolean |
isEnabled()
Checks if revision is enabled. |
void |
restoreObjects(java.util.Collection objects)
Restore revision objects to the active part. |
void |
rollbackUpdates()
Rollback updates. |
void |
setCheckpointLabel(java.util.Collection<javax.xml.registry.infomodel.RegistryObject> objects)
Set checkpoint label from user version |
void |
setMinorVersion(javax.xml.registry.infomodel.RegistryObject regObj,
int minorVersion)
Set the minor version to any registry object. |
Field Detail |
---|
static final java.lang.String REVISION_COLLECTION
static final java.lang.String AUTO_VERSION_CONTROL
Method Detail |
---|
boolean isEnabled()
boolean getRevisionStatus() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
int getMajorVersion(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
regObj
- a registry object
javax.xml.registry.JAXRException
int getMinorVersion(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
regObj
- a registry object
javax.xml.registry.JAXRException
void setMinorVersion(javax.xml.registry.infomodel.RegistryObject regObj, int minorVersion) throws javax.xml.registry.JAXRException
regObj
- a registry objectminorVersion
- a minor version number
javax.xml.registry.JAXRException
int getMaximumVersionNumber(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
regObj
- a registry object
javax.xml.registry.JAXRException
int getMaximumVersionNumber(java.lang.String objectType, java.lang.String objectId) throws javax.xml.registry.JAXRException
objectType
- object type (e.g.: "{http://...}service")objectId
- uddi-id of the object
javax.xml.registry.JAXRException
java.lang.String getCheckpointName(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
regObj
- a registry object
javax.xml.registry.JAXRException
java.util.Collection getObjectsFromQuery(java.lang.String xquery) throws javax.xml.registry.JAXRException
xquery
- the xquery
javax.xml.registry.JAXRException
void restoreObjects(java.util.Collection objects) throws javax.xml.registry.JAXRException
objects
- collection of revision objects
javax.xml.registry.JAXRException
void handleUpdates(java.util.Collection updateObjects) throws javax.xml.registry.JAXRException
updateObjects
- collection of iaxr objects being updated
javax.xml.registry.JAXRException
javax.xml.namespace.QName getObjectTypeQName(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
regObj
- a registry object
javax.xml.registry.JAXRException
java.lang.String getObjectTypeName(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
regObj
- a registry object
javax.xml.registry.JAXRException
javax.xml.namespace.QName getDoctypeName(java.lang.String objectType) throws javax.xml.registry.JAXRException
objectType
- object type (e.g.: "{http://...}service")
javax.xml.registry.JAXRException
void commitUpdates() throws java.lang.Exception
java.lang.Exception
void rollbackUpdates()
void setCheckpointLabel(java.util.Collection<javax.xml.registry.infomodel.RegistryObject> objects) throws javax.xml.registry.JAXRException
objects
- list of registry objects with modified user version
javax.xml.registry.JAXRException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |