uk.co.lakesidetech.springxmldb.dao
Interface IXUpdateXMLDBDao

All Known Implementing Classes:
BaseXUpdateXMLDBDao

public interface IXUpdateXMLDBDao

Defines a Dao for making XUpdate requests on an XML database

Author:
Stuart Eccles

Method Summary
 void updateResourceWithXUpdate(java.lang.String xUpdate, java.lang.String resourceId, java.lang.String collectionPath)
          run a XUpdate set of commands on a specific resource within a collection in an XML database
 void updateWithXUpdate(java.lang.String xUpdate, java.lang.String collectionPath)
          run a XUpdate set of commands on a collection in an XML database
 

Method Detail

updateWithXUpdate

public void updateWithXUpdate(java.lang.String xUpdate,
                              java.lang.String collectionPath)
                       throws XMLDBDataAccessException
run a XUpdate set of commands on a collection in an XML database

Parameters:
xUpdate - The xupdate string
collectionPath - The collection path
Throws:
XMLDBDataAccessException - if something goes wrong in the XMLDB access

updateResourceWithXUpdate

public void updateResourceWithXUpdate(java.lang.String xUpdate,
                                      java.lang.String resourceId,
                                      java.lang.String collectionPath)
                               throws XMLDBDataAccessException
run a XUpdate set of commands on a specific resource within a collection in an XML database

Parameters:
xUpdate - The xupdate string
collectionPath - The collection path
Throws:
XMLDBDataAccessException - if something goes wrong in the XMLDB access