lumis.doui.search
Class SearchSource

Package class diagram package SearchSource
java.lang.Object
  extended by java.util.Observable
      extended by lumis.doui.source.Source<F>
          extended by lumis.doui.source.TabularSource<ITabularSourceField>
              extended by lumis.doui.search.SearchSource
All Implemented Interfaces:
Comparator<ISourceData>

public class SearchSource
extends TabularSource<ITabularSourceField>

Source implementation for Search Results.

Since:
4.0.4

Nested Class Summary
static class SearchSource.SearchScope
           
 
Field Summary
static String SERVICE_INSTANCE_PROPERTY_DISABLE_SEARCH
           
 
Fields inherited from class lumis.doui.source.TabularSource
primaryKeySourceField, searchableSourceFields, tabularData
 
Fields inherited from class lumis.doui.source.Source
addInterfaceId, administrationInterfaceId, connectionId, detailsInterfaceId, editInterfaceId, fields, fieldsMap, id, introductionSourceField, keywordsSourceField, load, metaDataSourceId, parameters, primaryNameSourceField, readData, SOURCE_READ_DATA_ALWAYS, SOURCE_READ_DATA_NEVER, SOURCE_READ_DATA_ON_DEMAND, sourceContext, sourceDefinitionNode
 
Constructor Summary
SearchSource(Node sourceDefinitionNode, ISourceContext sourceContext)
           
 
Method Summary
protected  String getDefaultProviderClass()
          Returns data provider class for the source.
 String getSearcherEngineId()
          Returns the searcher engine for this source
 SearchSource.SearchScope getSearcherScope()
           
 
Methods inherited from class lumis.doui.source.TabularSource
applyPostLoadFilters, applyPostLoadPagination, compare, compareField, convertDataToDefinedDataTypes, convertDataToDefinedDataTypes, createSourceField, getData, getDefaultSourceSearchContentFillerClassName, getDouiHyperlinkItemParameterField, getFieldClass, getFieldId, getFieldIds, getFieldName, getFieldsDefinitionNode, getHyperlinkDefaultParameters, getIndexerEngineId, getIndexerId, getMaxRows, getPrimaryKeyField, getReindexerTabularDataProcessorClassName, getSearchableFields, getSearcherId, getSortedFieldIds, getSourceSearchContentFillerClassName, getStartAt, hasField, isSearchEnabled, readFieldsIntoFieldsMap, reindex, setData, setMaxRows, setStartAt
 
Methods inherited from class lumis.doui.source.Source
createCustomSourceField, createDefaultCompositeFilterInstance, createDefaultFilterInstance, createSourceFilter, getAddInterfaceId, getAdministrationInterfaceId, getDataProvider, getDefinitionNode, getDetailsInterfaceId, getDistinct, getDouiContext, getEditInterfaceId, getField, getFields, getFilter, getFiltersNode, getId, getIntroductionField, getKeywordsField, getLoad, getMetaDataSourceId, getParameterClass, getParameterValue, getPrimaryNameField, getReadData, getSourceContainer, getSourceContext, getTransaction, isAdministrationInterface, load, postProcessSource, setLoad, setParameterValue, setReadData, valueChanged
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

SERVICE_INSTANCE_PROPERTY_DISABLE_SEARCH

public static final String SERVICE_INSTANCE_PROPERTY_DISABLE_SEARCH
See Also:
Constant Field Values
Constructor Detail

SearchSource

public SearchSource(Node sourceDefinitionNode,
                    ISourceContext sourceContext)
             throws PortalException
Throws:
PortalException
Method Detail

getDefaultProviderClass

protected String getDefaultProviderClass()
                                  throws PortalException
Description copied from class: TabularSource
Returns data provider class for the source. Always throws an exceptions since this source does not have a default provider class.

Overrides:
getDefaultProviderClass in class TabularSource<ITabularSourceField>
Returns:
Throws:
PortalException

getSearcherEngineId

public String getSearcherEngineId()
                           throws PortalException
Description copied from class: TabularSource
Returns the searcher engine for this source

Overrides:
getSearcherEngineId in class TabularSource<ITabularSourceField>
Returns:
Throws:
PortalException

getSearcherScope

public SearchSource.SearchScope getSearcherScope()
                                          throws PortalException
Throws:
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.