org.xmldb.api.modules
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, setCollection
getProperty, setProperty
long 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.