com.raritantechnologies.federated.verity
Class VerityFederatedSearchSource

java.lang.Object
  extended bycom.raritantechnologies.searchApp.SearchSource
      extended bycom.raritantechnologies.federated.verity.VerityFederatedSearchSource
All Implemented Interfaces:
IFederatedSearchSource

public class VerityFederatedSearchSource
extends SearchSource
implements IFederatedSearchSource

Raritan SearchSource that wraps a Verity Federated Search.


Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Field Summary
static java.lang.String DEFAULT_CONFIG
           
static java.lang.String DEFAULT_DOMAIN
           
 
Fields inherited from class com.raritantechnologies.searchApp.SearchSource
ID_FIELD, IS_FEDERATED, NUMBER_OF_FIELDS, SECURE, SOURCE_NAME, SOURCE_TYPE, TITLE_FIELD, URL_FIELD
 
Fields inherited from interface com.raritantechnologies.federated.IFederatedSearchSource
CONSTANT_RESULTS_PER_PAGE, CONSTANT_RESULTS_PER_SOURCE, INIT_REFRESH, NO_PAGING, PAGING_NOT_SET
 
Constructor Summary
VerityFederatedSearchSource()
           
 
Method Summary
 void formatResults(IResultSet results)
          Applies all IFieldFormatter(s) registered with this SearchSource to an IResult.
 void formatResults(java.lang.String sessionID, IResultSet results)
           
 Domain getDomain()
           
 java.lang.Object getProperty(java.lang.String property)
          returns a Source Property.
 IQueryProcessor getQueryProcessor()
          returns the type of QueryProcessor that can access this SearchSource.
 java.lang.String[] getSourcePropertyNames()
          Returns a list of Source type specific property names.
 SourceLoginInfo[] getSources()
           
 void setPagingStyle(int pageStyle)
           
 void setPartitionPage(boolean partitionPage)
           
 void setSources(SourceLoginInfo[] sources)
           
static void setStreamFactory(IStreamFactory factory)
           
 
Methods inherited from class com.raritantechnologies.searchApp.SearchSource
addFieldFormatter, addSearchField, addSourceAttributes, addStaticField, addStaticFields, addUserSearchField, canAccess, canConsolidateSources, consolidateSources, delSearchField, formatResult, formatResult, formatResultField, formatResultField, getAccessableFields, getAttributes, getBasePath, getConfigPath, getDisplayName, getFieldFormatters, getIDField, getName, getSearchField, getSearchFieldID, getSearchFields, getSearchFields, getSecondarySortSpec, getSecurityManager, getSecurityManagerName, getSecurityModel, getSortSpec, getSourceCredentials, getTitleField, getType, getURLField, getUserSearchFields, isMultiThreaded, setConfigPath, setDisplayName, setIDField, setMultiThreaded, setName, setSecurityManagerName, setSecurityModel, setSortMap, setSourcePropertyInfoSource, setTitleField, setType, setURLField, shouldFormatResults, supportsBackgroundSort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DOMAIN

public static final java.lang.String DEFAULT_DOMAIN
See Also:
Constant Field Values

DEFAULT_CONFIG

public static final java.lang.String DEFAULT_CONFIG
See Also:
Constant Field Values
Constructor Detail

VerityFederatedSearchSource

public VerityFederatedSearchSource()
Method Detail

setSources

public void setSources(SourceLoginInfo[] sources)
Specified by:
setSources in interface IFederatedSearchSource

getSources

public SourceLoginInfo[] getSources()
Specified by:
getSources in interface IFederatedSearchSource

getQueryProcessor

public IQueryProcessor getQueryProcessor()
Description copied from class: SearchSource
returns the type of QueryProcessor that can access this SearchSource.

Specified by:
getQueryProcessor in class SearchSource

getDomain

public Domain getDomain()

setPartitionPage

public void setPartitionPage(boolean partitionPage)

getSourcePropertyNames

public java.lang.String[] getSourcePropertyNames()
Description copied from class: SearchSource
Returns a list of Source type specific property names.

Overrides:
getSourcePropertyNames in class SearchSource

getProperty

public java.lang.Object getProperty(java.lang.String property)
Description copied from class: SearchSource
returns a Source Property. The standard pattern is to return a String or Object if a property has a single value and a String or Object Array if the property has multiple values.

Overrides:
getProperty in class SearchSource

formatResults

public void formatResults(IResultSet results)
Description copied from class: SearchSource
Applies all IFieldFormatter(s) registered with this SearchSource to an IResult. Generally used to convert source-specific format to common or normalized formats or to correct data errors or anomalies.

Overrides:
formatResults in class SearchSource

formatResults

public void formatResults(java.lang.String sessionID,
                          IResultSet results)
Overrides:
formatResults in class SearchSource

setPagingStyle

public void setPagingStyle(int pageStyle)
Specified by:
setPagingStyle in interface IFederatedSearchSource

setStreamFactory

public static void setStreamFactory(IStreamFactory factory)