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.
Method Summary | |
---|---|
long | update(String commands)
Runs a set of XUpdate operations against the collection. |
long | updateResource(String id, String commands)
Runs a set of XUpdate operations against a resource stored in a
collection. |
Parameters: commands The XUpdate commands to use.
Returns: the number of modified nodes.
Throws: XMLDBException with expected error codes.
ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.
Parameters: commands The XUpdate commands to use.
Returns: the number of modified nodes.
Throws: XMLDBException with expected error codes.
ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.