no.sesat.search.mode.command
Class AbstractYahooSearchCommand

java.lang.Object
  extended by no.sesat.search.mode.command.AbstractSearchCommand
      extended by no.sesat.search.mode.command.AbstractXmlSearchCommand
          extended by no.sesat.search.mode.command.AbstractYahooSearchCommand
All Implemented Interfaces:
Serializable, Callable<ResultList<ResultItem>>, SearchCommand
Direct Known Subclasses:
OverturePPCSearchCommand, PlatefoodPPCSearchCommand, YahooIdpSearchCommand, YahooMediaSearchCommand, YahooWebSearchCommand

public abstract class AbstractYahooSearchCommand
extends AbstractXmlSearchCommand

Yahoo Searches all usually require a partnerId and affilDataParameter.

Version:
$Id: AbstractYahooSearchCommand.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.command.AbstractSearchCommand
AbstractSearchCommand.QueryBuilderFactory, AbstractSearchCommand.ReconstructedQuery
 
Nested classes/interfaces inherited from interface no.sesat.search.mode.command.SearchCommand
SearchCommand.Context
 
Field Summary
 
Fields inherited from class no.sesat.search.mode.command.AbstractSearchCommand
completed, context, datamodel, datamodelParameters, DUMP, untransformedQuery
 
Constructor Summary
AbstractYahooSearchCommand(SearchCommand.Context cxt)
          Create new overture command.
 
Method Summary
protected  String getAffilDataParameter()
           
protected  String getPartnerId()
           
 
Methods inherited from class no.sesat.search.mode.command.AbstractXmlSearchCommand
createItem, createRequestURL, getXmlRestful, setXmlRestful
 
Methods inherited from class no.sesat.search.mode.command.AbstractSearchCommand
addFilterString, call, constructQueryBuilder, createQuery, createQuery, escape, execute, getCurrentOffset, getEngine, getFieldFilter, getFilter, getFilterBuilder, getOffset, getParameter, getQuery, getQueryBuilder, getQueryRepresentation, getReservedWords, getResultsToReturn, getSearchConfiguration, getSearchResult, getSingleParameter, getTransformedQuery, getTransformedQuerySesamSyntax, getTransformedTerms, getUserSortBy, handleCancellation, initialiseTransformedTerms, isCancelled, isPaginated, isUserSortable, performExecution, performQueryTransformation, performResultHandling, setTransformedQuerySesamSyntax, statisticsInfo, toString, updateTransformedQuerySesamSyntax, visitXorClause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractYahooSearchCommand

public AbstractYahooSearchCommand(SearchCommand.Context cxt)
Create new overture command.

Parameters:
cxt - The context to execute in.
Method Detail

getPartnerId

protected String getPartnerId()
Returns:

getAffilDataParameter

protected String getAffilDataParameter()
Returns:
Returns the affilData element for Yahoo/Overture, not including the prefix "&".


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