|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatastoreGet
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 |
buildNamespaceXQuery(com.ibm.xcap.DocumentSelector documentSelector,
com.ibm.xcap.NodeSelector nodeSelector,
java.lang.String table)
|
java.lang.String |
buildNodeSelectorXQuery(com.ibm.xcap.DocumentSelector documentSelector,
com.ibm.xcap.NodeSelector nodeSelector,
com.ibm.xcap.NodeSelector.TerminalSelector terminalSelector,
java.lang.String table)
|
java.lang.String |
buildXPathXQuery(java.util.List<java.lang.String> documentSelectors,
java.lang.String baseXPath,
java.util.List<java.lang.String> additionalXPaths,
java.util.Map<java.lang.String,java.lang.String> additionalNamespaces,
java.lang.String returnXPath,
java.lang.String table,
ApplicationUsage appUsage)
|
java.lang.String |
buildXPathXQuery(java.util.List<java.lang.String> documentSelectors,
java.lang.String baseXPath,
java.util.List<java.lang.String> additionalXPaths,
java.lang.String table,
ApplicationUsage appUsage)
|
java.util.Map<java.lang.String,java.lang.String> |
get(java.util.List<java.lang.String> documentSelectors,
java.lang.String baseXPath,
java.util.List<java.lang.String> additionalXPaths,
javax.sql.DataSource dataSource,
java.lang.String table,
ApplicationUsage appUsage)
Retrieves a Map of xml fragments based on a list of document selectors and associated XPath statements |
java.util.Map<java.lang.String,java.lang.String> |
get(java.util.List<java.lang.String> documentSelectors,
java.lang.String baseXPath,
java.util.List<java.lang.String> additionalXPaths,
java.util.Map<java.lang.String,java.lang.String> additionalNamespaces,
java.lang.String returnXPath,
javax.sql.DataSource dataSource,
java.lang.String table,
ApplicationUsage appUsage)
Retrieves a Map of xml fragments based on a list of document selectors and associated XPath statements |
java.lang.String |
getDocumentNodeSelector(com.ibm.xcap.NodeSelector nodeSelector,
com.ibm.xcap.DocumentSelector documentSelector,
javax.sql.DataSource dataSource,
java.lang.String table,
java.sql.Connection con)
|
java.lang.String |
getGlobalIndexNodeSelector(com.ibm.xcap.NodeSelector nodeSelector,
com.ibm.xcap.DocumentSelector documentSelector,
java.security.Principal principal,
boolean isSuperAdminUser,
boolean isAnonymousUser,
javax.sql.DataSource dataSource,
java.sql.Connection con,
ApplicationUsage appUsage)
|
java.util.Hashtable |
getGlobalIndexNodeSelector(com.ibm.xcap.NodeSelector nodeSelector,
java.lang.String documentSelector,
javax.sql.DataSource dataSource,
java.sql.Connection con,
ApplicationUsage appUsage)
|
java.lang.String |
getGlobalIndexNodeSelector(com.ibm.xcap.NodeSelector nodeSelector,
java.lang.String documentSelector,
XcapServerRequest request,
XcapServerResponse response,
javax.sql.DataSource dataSource,
java.sql.Connection con,
ApplicationUsage appUsage)
|
java.lang.String |
getNamespaces(java.lang.String documentSelector,
com.ibm.xcap.NodeSelector nodeSelector,
XcapServerRequest request,
XcapServerResponse response,
javax.sql.DataSource dataSource,
java.lang.String table)
|
java.lang.String |
getNodeSelector(java.lang.String documentSelector,
com.ibm.xcap.NodeSelector nodeSelector,
com.ibm.xcap.NodeSelector.TerminalSelector terminalSelector,
XcapServerRequest request,
XcapServerResponse response,
javax.sql.DataSource dataSource,
java.lang.String table,
java.sql.Connection con)
|
java.lang.String |
getWholeDocument(com.ibm.xcap.DocumentSelector documentSelector,
javax.sql.DataSource dataSource,
java.sql.Connection con)
Gets whole document. |
java.lang.String |
getWholeDocument(java.lang.String documentSelector,
XcapServerResponse response,
javax.sql.DataSource dataSource,
java.sql.Connection con)
Gets whole document. |
java.lang.String |
getXmlDocumentsDirectory(java.lang.String auid,
java.lang.String uri,
javax.sql.DataSource dataSource,
java.lang.String table,
XcapCaps xcapCaps)
Retreives the XML Documents Directory for the configured AUID |
java.lang.String |
getXmlDocumentsDirectory(java.lang.String auid,
XcapServerRequest request,
javax.sql.DataSource dataSource,
java.lang.String table,
XcapCaps xcapCaps)
Retreives the XML Documents Directory for the configured AUID |
boolean |
init(ApplicationUsage appUsage)
Initializes the function. |
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.lang.String getWholeDocument(com.ibm.xcap.DocumentSelector documentSelector, javax.sql.DataSource dataSource, java.sql.Connection con) throws XcapException
documentSelector
-
XcapException
java.lang.String getWholeDocument(java.lang.String documentSelector, XcapServerResponse response, javax.sql.DataSource dataSource, java.sql.Connection con) throws XcapException
document
- eTag
- documentSelector
- response
- XcapServerResponse, if it is not null
, then
this method will set the document, status code, and ETag
XcapException
java.lang.String getGlobalIndexNodeSelector(com.ibm.xcap.NodeSelector nodeSelector, java.lang.String documentSelector, XcapServerRequest request, XcapServerResponse response, javax.sql.DataSource dataSource, java.sql.Connection con, ApplicationUsage appUsage) throws LocalConstraintFailureException, XcapException, XdmsException, java.net.MalformedURLException
nodeSelector
- documentSelector
- request
- response
- dataSource
- con
- appUsage
-
LocalConstraintFailureException
XcapException
XdmsException
java.net.MalformedURLException
java.lang.String getGlobalIndexNodeSelector(com.ibm.xcap.NodeSelector nodeSelector, com.ibm.xcap.DocumentSelector documentSelector, java.security.Principal principal, boolean isSuperAdminUser, boolean isAnonymousUser, javax.sql.DataSource dataSource, java.sql.Connection con, ApplicationUsage appUsage) throws LocalConstraintFailureException, XcapException, XdmsException, java.net.MalformedURLException
nodeSelector
- documentSelector
- principal
- isSuperAdminUser
- isAnonymousUser
- dataSource
- con
- appUsage
-
LocalConstraintFailureException
XcapException
XdmsException
java.net.MalformedURLException
java.util.Hashtable getGlobalIndexNodeSelector(com.ibm.xcap.NodeSelector nodeSelector, java.lang.String documentSelector, javax.sql.DataSource dataSource, java.sql.Connection con, ApplicationUsage appUsage) throws LocalConstraintFailureException, XcapException, XdmsException, java.net.MalformedURLException
nodeSelector
- documentSelector
- dataSource
- con
- appUsage
-
LocalConstraintFailureException
XcapException
XdmsException
java.net.MalformedURLException
java.lang.String getDocumentNodeSelector(com.ibm.xcap.NodeSelector nodeSelector, com.ibm.xcap.DocumentSelector documentSelector, javax.sql.DataSource dataSource, java.lang.String table, java.sql.Connection con) throws XcapException
nodeSelector
- documentSelector
- dataSource
- table
- con
-
XcapException
java.lang.String getXmlDocumentsDirectory(java.lang.String auid, XcapServerRequest request, javax.sql.DataSource dataSource, java.lang.String table, XcapCaps xcapCaps) throws XdmsException
auid
- request
- XcapServerRequestdataSource
- table
- xcapCaps
-
XdmsException
- Error retrieving the directory for the configured AUIDjava.lang.String getXmlDocumentsDirectory(java.lang.String auid, java.lang.String uri, javax.sql.DataSource dataSource, java.lang.String table, XcapCaps xcapCaps) throws XdmsException, java.net.MalformedURLException
auid
- uri
- dataSource
- table
- xcapCaps
-
XdmsException
- Error retrieving the directory for the configured AUID
Malformed
- URLException
java.net.MalformedURLException
java.lang.String getNamespaces(java.lang.String documentSelector, com.ibm.xcap.NodeSelector nodeSelector, XcapServerRequest request, XcapServerResponse response, javax.sql.DataSource dataSource, java.lang.String table) throws XcapException
documentSelector
- nodeSelector
- request
- response
- dataSource
- table
-
XcapException
java.lang.String getNodeSelector(java.lang.String documentSelector, com.ibm.xcap.NodeSelector nodeSelector, com.ibm.xcap.NodeSelector.TerminalSelector terminalSelector, XcapServerRequest request, XcapServerResponse response, javax.sql.DataSource dataSource, java.lang.String table, java.sql.Connection con) throws XcapException
documentSelector
- nodeSelector
- terminalSelector
- request
- response
- dataSource
- table
-
XcapException
java.util.Map<java.lang.String,java.lang.String> get(java.util.List<java.lang.String> documentSelectors, java.lang.String baseXPath, java.util.List<java.lang.String> additionalXPaths, javax.sql.DataSource dataSource, java.lang.String table, ApplicationUsage appUsage) throws XcapException
documentSelectors
- Document Selectors to look forbaseXPath
- Base XPath statement to use in the documentadditionalXPaths
- XPath statements which will be applied on top of the baseXPath
statementdataSource
- table
- appUsage
-
XcapException
- Error interacting with the databasejava.util.Map<java.lang.String,java.lang.String> get(java.util.List<java.lang.String> documentSelectors, java.lang.String baseXPath, java.util.List<java.lang.String> additionalXPaths, java.util.Map<java.lang.String,java.lang.String> additionalNamespaces, java.lang.String returnXPath, javax.sql.DataSource dataSource, java.lang.String table, ApplicationUsage appUsage) throws XcapException
documentSelectors
- Document Selectors to look forbaseXPath
- Base XPath statement to use in the documentadditionalXPaths
- XPath statements which will be applied on top of the baseXPath
statementadditionalNamespaces
- Map of additional namespace URLs, keyed by their prefixesreturnXPath
- return XPath, this is appended to the baseXPath statementdataSource
- table
- appUsage
-
XcapException
- Error interacting with the databasejava.lang.String buildNamespaceXQuery(com.ibm.xcap.DocumentSelector documentSelector, com.ibm.xcap.NodeSelector nodeSelector, java.lang.String table) throws XcapException
documentSelector
- nodeSelector
- table
-
XcapException
java.lang.String buildNodeSelectorXQuery(com.ibm.xcap.DocumentSelector documentSelector, com.ibm.xcap.NodeSelector nodeSelector, com.ibm.xcap.NodeSelector.TerminalSelector terminalSelector, java.lang.String table)
documentSelector
- nodeSelector
- terminalSelector
- table
-
java.lang.String buildXPathXQuery(java.util.List<java.lang.String> documentSelectors, java.lang.String baseXPath, java.util.List<java.lang.String> additionalXPaths, java.lang.String table, ApplicationUsage appUsage)
documentSelectors
- baseXPath
- additionalXPaths
- table
- appUsage
-
java.lang.String buildXPathXQuery(java.util.List<java.lang.String> documentSelectors, java.lang.String baseXPath, java.util.List<java.lang.String> additionalXPaths, java.util.Map<java.lang.String,java.lang.String> additionalNamespaces, java.lang.String returnXPath, java.lang.String table, ApplicationUsage appUsage)
documentSelectors
- baseXPath
- additionalXPaths
- additionalNamespaces
- returnXPath
- table
- appUsage
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |