|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatastoreXQuery
Datastore Implementation which uses DB2 Viper's pureXML Engine
Field Summary |
---|
Fields inherited from interface com.ibm.xdms.function.Function |
---|
COPYRIGHT |
Method Summary | |
---|---|
java.lang.String |
buildSipXQuery(java.lang.String defaultNamespace,
java.lang.String table,
java.lang.String serviceUri,
boolean includePresPack)
Used by RlsXdmSipServlet class |
java.lang.String |
buildUriXQuery(java.lang.String defaultNamespace,
java.lang.String table,
java.lang.String serviceUri)
Used by ResourceListConstraintFilter class |
boolean |
init(ApplicationUsage appUsage)
Initializes the function. |
com.ibm.xcap.DocumentSelector |
transformGlobalIndexDocumentSelector(com.ibm.xcap.DocumentSelector documentSelector,
java.lang.String globalIndexPM,
javax.sql.DataSource dataSource,
java.sql.Connection con)
Transforms a DocumentSelector for a global/index file to a DocumentSelector for an individual file |
java.util.List<java.lang.String> |
xquery(java.lang.String query,
ApplicationUsage appUsage,
javax.sql.DataSource dataSource)
Performs an XQuery |
java.lang.String |
xquery(XcapServerRequest request,
XcapServerResponse response,
javax.sql.DataSource dataSource,
java.lang.String table,
ApplicationUsage appUsage,
XcapCaps xcapCaps)
Performs an XQuery based on a search request from a client |
Methods inherited from interface com.ibm.xdms.function.Function |
---|
getApplicationUsage |
Method Detail |
---|
boolean init(ApplicationUsage appUsage)
Function
init
in interface Function
appUsage
- The ApplicationUsage information.
java.util.List<java.lang.String> xquery(java.lang.String query, ApplicationUsage appUsage, javax.sql.DataSource dataSource) throws XcapException
query
- XQuery stringappUsage
- Application Usage
XcapException
- error retrieving the document from the databasejava.lang.String xquery(XcapServerRequest request, XcapServerResponse response, javax.sql.DataSource dataSource, java.lang.String table, ApplicationUsage appUsage, XcapCaps xcapCaps) throws XdmsException
request
- XcapServerRequestresponse
- XcapServerResponsedataSource
- table
- appUsage
-
XdmsException
java.lang.String buildSipXQuery(java.lang.String defaultNamespace, java.lang.String table, java.lang.String serviceUri, boolean includePresPack) throws java.net.MalformedURLException
defaultNamespace
- table
- serviceUri
-
java.net.MalformedURLException
java.lang.String buildUriXQuery(java.lang.String defaultNamespace, java.lang.String table, java.lang.String serviceUri) throws java.net.MalformedURLException
defaultNamespace
- table
- serviceUri
-
java.net.MalformedURLException
com.ibm.xcap.DocumentSelector transformGlobalIndexDocumentSelector(com.ibm.xcap.DocumentSelector documentSelector, java.lang.String globalIndexPM, javax.sql.DataSource dataSource, java.sql.Connection con) throws LocalConstraintFailureException, XcapException, java.net.MalformedURLException
documentSelector
- globalIndexPM
- dataSource
- con
-
LocalConstraintFailureException
XcapException
java.net.MalformedURLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |