public interface XUpdateQueryService extends Service
Service that enables the execution of
XUpdate queries within the context of a Collection or against a
single document stored in a collection.| Modifier and Type | Method and Description |
|---|---|
long |
update(java.lang.String commands)
Runs a set of XUpdate operations against the collection.
|
long |
updateResource(java.lang.String id,
java.lang.String commands)
Runs a set of XUpdate operations against a resource stored in a
collection.
|
getName, getVersion, setCollectiongetProperty, setPropertylong update(java.lang.String commands)
throws XMLDBException
commands - The XUpdate commands to use.XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.long updateResource(java.lang.String id,
java.lang.String commands)
throws XMLDBException
commands - The XUpdate commands to use.XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.