MainJavadocSource
DieselpointSearchSource

com.raritantechnologies.dieselpoint
Class DieselpointSearchSource

java.lang.Object
  extended bycom.raritantechnologies.searchApp.SearchSource
      extended bycom.raritantechnologies.dieselpoint.DieselpointSearchSource

public class DieselpointSearchSource
extends SearchSource

Describes a Dieselpoint SearchSource. See the DieselpointSearchSourceFactory for configuration information.


Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Field Summary
 
Fields inherited from class com.raritantechnologies.searchApp.SearchSource
ID_FIELD, IS_FEDERATED, NUMBER_OF_FIELDS, SECURE, SOURCE_NAME, SOURCE_TYPE, TITLE_FIELD, URL_FIELD
 
Constructor Summary
DieselpointSearchSource()
           
 
Method Summary
 voidaddDieselpointField(java.lang.String inputField, java.lang.String dieselField)
           
 SearchercreateSearcher()
           
 java.util.IteratorgetDieselFields()
           
 java.util.MapgetDieselParamMap()
           
 java.lang.StringgetDieselpointQuery(OrderedMap inputParameters)
           
 java.lang.StringgetDieselpointQuery(OrderedMap inputParameters, java.lang.String excludeField)
           
 java.lang.StringgetDieselpointQuery(RaritanPageContext inputParameters)
           
 java.lang.StringgetFreeTextField()
           
 IndexgetIndex()
           
 java.lang.ObjectgetProperty(java.lang.String property)
          returns a Source Property.
 IQueryProcessorgetQueryProcessor()
          returns the type of QueryProcessor that can access this SearchSource.
 java.lang.StringgetRequestString(OrderedMap queryParams, java.lang.String attribute_id, java.lang.String attribute_value)
           
 java.lang.String[]getSourcePropertyNames()
          Returns a list of Source type specific property names.
 voidsetFreeTextField(java.lang.String freeTextField)
           
 voidsetUseDieselXML(boolean useDieselXML)
           
 booleanshouldUseDieselXML()
           
 
Methods inherited from class com.raritantechnologies.searchApp.SearchSource
addFieldFormatter, addSearchField, addSourceAttributes, addStaticField, addStaticFields, addUserSearchField, canAccess, canConsolidateSources, consolidateSources, delSearchField, formatResult, formatResult, formatResultField, formatResultField, formatResults, formatResults, 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
 

Constructor Detail

DieselpointSearchSource

public DieselpointSearchSource()
Method Detail

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

getIndex

public Index getIndex()

createSearcher

public Searcher createSearcher()

setUseDieselXML

public void setUseDieselXML(boolean useDieselXML)

shouldUseDieselXML

public boolean shouldUseDieselXML()

addDieselpointField

public void addDieselpointField(java.lang.String inputField,
                                java.lang.String dieselField)

getDieselParamMap

public java.util.Map getDieselParamMap()

getDieselFields

public java.util.Iterator getDieselFields()

setFreeTextField

public void setFreeTextField(java.lang.String freeTextField)

getFreeTextField

public java.lang.String getFreeTextField()

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

getDieselpointQuery

public java.lang.String getDieselpointQuery(OrderedMap inputParameters)

getDieselpointQuery

public java.lang.String getDieselpointQuery(OrderedMap inputParameters,
                                            java.lang.String excludeField)

getDieselpointQuery

public java.lang.String getDieselpointQuery(RaritanPageContext inputParameters)

getRequestString

public java.lang.String getRequestString(OrderedMap queryParams,
                                         java.lang.String attribute_id,
                                         java.lang.String attribute_value)