no.sesat.search.mode.config
Class PictureCommandConfig

java.lang.Object
  extended by no.sesat.search.mode.config.CommandConfig
      extended by no.sesat.search.mode.config.AbstractXmlSearchConfiguration
          extended by no.sesat.search.mode.config.PictureCommandConfig
All Implemented Interfaces:
Serializable, BaseSearchConfiguration, SearchConfiguration, SearchConfiguration.ModesW3cDomDeserialiser

@CommandConfig.Controller(value="PicSearchCommand")
public class PictureCommandConfig
extends AbstractXmlSearchConfiguration

A search command that uses the picsearch API. http://www.picsearch.com/ http://about.picsearch.com/image_search/

Version:
$Id: PictureCommandConfig.java 7225 2009-04-09 00:32:20Z ssmiweve $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class no.sesat.search.mode.config.CommandConfig
CommandConfig.Controller
 
Nested classes/interfaces inherited from interface no.sesat.search.mode.config.SearchConfiguration
SearchConfiguration.ModesW3cDomDeserialiser
 
Field Summary
 
Fields inherited from class no.sesat.search.mode.config.CommandConfig
DEFAULT_DOCUMENTS_TO_RETURN
 
Fields inherited from interface no.sesat.search.mode.config.SearchConfiguration
DEFAULT_PAGING_PARAMETER, DEFAULT_USER_SORT_PARAMETER
 
Constructor Summary
PictureCommandConfig()
           
 
Method Summary
 String getCustomerId()
          Returns the customer id to use for picsearch queries associated with this configuration.
 String getDomainBoost()
          Returns the domain boost to use.
 String getFilter()
          Returns the offensive content filtering level.
 String getSite()
          Returns the site to which searches should be restricted.
 void setCustomerId(String customerId)
          Sets property customerId
 void setDomainBoost(String domainBoost)
          Sets the domain boost.
 void setFilter(String filter)
          Sets property filter.
 void setSite(String site)
          Set this to restrict the searches to site
 
Methods inherited from class no.sesat.search.mode.config.AbstractXmlSearchConfiguration
getEncoding, getHost, getHostHeader, getPort, setEncoding, setHost, setHostHeader, setPort
 
Methods inherited from class no.sesat.search.mode.config.CommandConfig
addQueryTransformer, addResultField, addResultFields, addResultHandler, clearFieldFilters, clearQueryTransformers, clearResultHandlers, getFieldFilterMap, getId, getInitialQueryTransformer, getName, getPagingParameter, getQueryBuilder, getQueryParameter, getQueryTransformers, getResultFieldMap, getResultFields, getResultHandlers, getResultsToReturn, getStatisticalName, getUserSortParameter, isAlwaysRun, isAsynchronous, isRunBlank, parseNavigators, readSearchConfiguration, setAlwaysRun, setAsynchronous, setFieldFilters, setId, setInitialQueryTransformer, setPagingParameter, setQueryBuilder, setQueryParameter, setResultsToReturn, setRunBlank, setStatisticalName, setUserSortParameter, toString, toStringLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PictureCommandConfig

public PictureCommandConfig()
Method Detail

getFilter

public String getFilter()
Returns the offensive content filtering level.

Returns:
Filtering level.

getCustomerId

public String getCustomerId()
Returns the customer id to use for picsearch queries associated with this configuration.

Returns:
The customer id.

setFilter

public void setFilter(String filter)
Sets property filter.

Parameters:
filter - New value for filter.

setCustomerId

public void setCustomerId(String customerId)
Sets property customerId

Parameters:
customerId - New value for customerId

getSite

public String getSite()
Returns the site to which searches should be restricted.

Returns:
the site to which searches are restricted.

setSite

public void setSite(String site)
Set this to restrict the searches to site

Parameters:
site - to restrict searches to (e.g. dn.se).

getDomainBoost

public String getDomainBoost()
Returns the domain boost to use.

Returns:
the domain boost.

setDomainBoost

public void setDomainBoost(String domainBoost)
Sets the domain boost. Example of domain boost string: se=100,nu=100,dk=50.

Parameters:
domainBoost - the domain boost string.


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.