com.raritantechnologies.verity
Class VerityQueryManager

java.lang.Object
  extended bycom.raritantechnologies.verity.VerityQueryManager

public class VerityQueryManager
extends java.lang.Object

Manages the execution a queries on a Verity K2 Server.


Developed by Raritan Technologies .

Author:
Ted Sullivan, Glenn Robitaille

Constructor Summary
VerityQueryManager()
           
 
Method Summary
 VerityResultSet executeQuery(java.lang.String k2ServerSpec, java.lang.String query, java.lang.String[] collections, java.lang.String[] collFields, SourceLoginInfo[] searchSources, int docCount, int recStart, int maxDocCount, java.lang.String sortSpec)
          Executes a query.
 java.lang.String[] getFields(java.lang.String k2ServerSpec, java.lang.String[] collections)
           
 boolean validate(ILoginInfo user)
          ISecurityManager implementation: Check if we get a valid Ticket from Verity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerityQueryManager

public VerityQueryManager()
Method Detail

executeQuery

public VerityResultSet executeQuery(java.lang.String k2ServerSpec,
                                    java.lang.String query,
                                    java.lang.String[] collections,
                                    java.lang.String[] collFields,
                                    SourceLoginInfo[] searchSources,
                                    int docCount,
                                    int recStart,
                                    int maxDocCount,
                                    java.lang.String sortSpec)
                             throws QueryProcessorException
Executes a query. The IResultSet is a set of result records.

Throws:
QueryException
QueryProcessorException

validate

public boolean validate(ILoginInfo user)
ISecurityManager implementation: Check if we get a valid Ticket from Verity


getFields

public java.lang.String[] getFields(java.lang.String k2ServerSpec,
                                    java.lang.String[] collections)