org.oclc.da.gdfr.registryprototype.srw
Class CollectionFacadeSRWDatabase

java.lang.Object
  extended by ORG.oclc.os.SRW.SRWDatabase
      extended by org.oclc.da.gdfr.registryprototype.srw.CollectionFacadeSRWDatabase

public class CollectionFacadeSRWDatabase
extends ORG.oclc.os.SRW.SRWDatabase

Created on Feb 9, 2007

Author:
stanesca TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
 
Fields inherited from class ORG.oclc.os.SRW.SRWDatabase
badDbs, databaseTitle, db, dbHome, dbname, dbProperties, dbPropertiesFileName, dbs, DEFAULT_SCHEMA, defaultNumRecs, defaultResultSetTTL, defaultSchema, defaultStylesheet, explainRecord, explainStyleSheet, letDefaultsBeDefault, maximumRecords, maxTerms, nameSpaces, oldResultSets, parser, position, scanStyleSheet, schemaInfo, schemas, searchStyleSheet, servletContext, sortTools, srwHome, srwProperties, timers, transformers
 
Constructor Summary
CollectionFacadeSRWDatabase()
          Default constructor needed to dynamically load the class.
 
Method Summary
 void addRenderer(java.lang.String schemaName, java.lang.String schemaID, java.util.Properties props)
           
 gov.loc.www.zing.srw.ScanResponseType doRequest(gov.loc.www.zing.srw.ScanRequestType request)
           
 gov.loc.www.zing.srw.SearchRetrieveResponseType doRequest(gov.loc.www.zing.srw.SearchRetrieveRequestType request)
           
 java.lang.String getExtraResponseData(ORG.oclc.os.SRW.QueryResult result, gov.loc.www.zing.srw.SearchRetrieveRequestType request)
           
 java.lang.String getIndexInfo()
           
 ORG.oclc.os.SRW.QueryResult getQueryResult(java.lang.String query, gov.loc.www.zing.srw.SearchRetrieveRequestType request)
           
 ORG.oclc.os.SRW.TermList getTermList(org.z3950.zing.cql.CQLTermNode arg0, int arg1, int arg2, gov.loc.www.zing.srw.ScanRequestType arg3)
           
 void init(java.lang.String dbname, java.lang.String srwHome, java.lang.String dbHome, java.lang.String dbPropertiesFileName, java.util.Properties dbProperties)
           
 boolean supportsSort()
           
 
Methods inherited from class ORG.oclc.os.SRW.SRWDatabase
addTransformer, close, diagnostic, diagnostic, diagnostic, extractSortField, getConfigInfo, getDatabaseInfo, getDB, getDB, getDbProperties, getDefaultResultSetTTL, getDefaultSchema, getExplainRecord, getExplainRecord, getMaximumRecords, getMetaInfo, getNumberOfRecords, getResultSetId, getResultSetIds, getResultSetIds, getSchemaID, getSchemaInfo, hasaConfigurationFile, initDB, initDB, initDB, makeElem, makeExplainRecord, makeExtraDataType, makeResultSetID, makeUnqualifiedIndexes, newDiagnostic, parseElements, putDb, resetTimer, setDefaultResultSetTTL, setExplainRecord, setMaximumRecords, setNumberOfRecords, setReturnResultSetId, toString, transform, useConfigInfo, useSchemaInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionFacadeSRWDatabase

public CollectionFacadeSRWDatabase()
Default constructor needed to dynamically load the class. For all initiatialization, see init() below.

Method Detail

doRequest

public gov.loc.www.zing.srw.SearchRetrieveResponseType doRequest(gov.loc.www.zing.srw.SearchRetrieveRequestType request)
                                                          throws javax.servlet.ServletException
Overrides:
doRequest in class ORG.oclc.os.SRW.SRWDatabase
Throws:
javax.servlet.ServletException

addRenderer

public void addRenderer(java.lang.String schemaName,
                        java.lang.String schemaID,
                        java.util.Properties props)
                 throws java.lang.InstantiationException
Overrides:
addRenderer in class ORG.oclc.os.SRW.SRWDatabase
Throws:
java.lang.InstantiationException

getExtraResponseData

public java.lang.String getExtraResponseData(ORG.oclc.os.SRW.QueryResult result,
                                             gov.loc.www.zing.srw.SearchRetrieveRequestType request)
Specified by:
getExtraResponseData in class ORG.oclc.os.SRW.SRWDatabase

getIndexInfo

public java.lang.String getIndexInfo()
Specified by:
getIndexInfo in class ORG.oclc.os.SRW.SRWDatabase

getQueryResult

public ORG.oclc.os.SRW.QueryResult getQueryResult(java.lang.String query,
                                                  gov.loc.www.zing.srw.SearchRetrieveRequestType request)
                                           throws java.lang.InstantiationException
Specified by:
getQueryResult in class ORG.oclc.os.SRW.SRWDatabase
Throws:
java.lang.InstantiationException

init

public void init(java.lang.String dbname,
                 java.lang.String srwHome,
                 java.lang.String dbHome,
                 java.lang.String dbPropertiesFileName,
                 java.util.Properties dbProperties)
Specified by:
init in class ORG.oclc.os.SRW.SRWDatabase

doRequest

public gov.loc.www.zing.srw.ScanResponseType doRequest(gov.loc.www.zing.srw.ScanRequestType request)
                                                throws javax.servlet.ServletException
Overrides:
doRequest in class ORG.oclc.os.SRW.SRWDatabase
Throws:
javax.servlet.ServletException

supportsSort

public boolean supportsSort()
Specified by:
supportsSort in class ORG.oclc.os.SRW.SRWDatabase

getTermList

public ORG.oclc.os.SRW.TermList getTermList(org.z3950.zing.cql.CQLTermNode arg0,
                                            int arg1,
                                            int arg2,
                                            gov.loc.www.zing.srw.ScanRequestType arg3)
Specified by:
getTermList in class ORG.oclc.os.SRW.SRWDatabase


Copyright © 2008 OCLC Online Computer Library Center, Inc.. All Rights Reserved.