Configurable, Servicepublic 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 | Field | Description |
|---|---|---|
static java.lang.String |
SERVICE_NAME |
| Modifier and Type | Method | 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.
|
getProperty, setPropertygetName, getVersion, setCollectionstatic final java.lang.String SERVICE_NAME
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.Copyright (C) XML:DB Initiative. All rights reserved.%lt;/font>