no.sesat.search.mode.command
Class YahooMediaSearchCommand

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
              extended by no.sesat.search.mode.command.YahooMediaSearchCommand
All Implemented Interfaces:
Serializable, Callable<ResultList<ResultItem>>, SearchCommand

public final class YahooMediaSearchCommand
extends AbstractYahooSearchCommand

Command for searching images and videos using Yahoo! as a provider. Yahoo API documentation can be found here: https://dev.sesat.no/confluence/display/TECHDEV/Yahoo+Media+Search

Version:
$Id: YahooMediaSearchCommand.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
YahooMediaSearchCommand(SearchCommand.Context cxt)
          Create new yahoo media command.
 
Method Summary
protected  ResultItem createItem(Element listing)
          Each individual result is usually defined within one given Element.
 ResultList<ResultItem> execute()
           
 
Methods inherited from class no.sesat.search.mode.command.AbstractYahooSearchCommand
getAffilDataParameter, getPartnerId
 
Methods inherited from class no.sesat.search.mode.command.AbstractXmlSearchCommand
createRequestURL, getXmlRestful, setXmlRestful
 
Methods inherited from class no.sesat.search.mode.command.AbstractSearchCommand
addFilterString, call, constructQueryBuilder, createQuery, createQuery, escape, 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

YahooMediaSearchCommand

public YahooMediaSearchCommand(SearchCommand.Context cxt)
Create new yahoo media command.

Parameters:
cxt - Context to execute in.
Method Detail

execute

public ResultList<ResultItem> execute()
Specified by:
execute in class AbstractSearchCommand

createItem

protected ResultItem createItem(Element listing)
Description copied from class: AbstractXmlSearchCommand
Each individual result is usually defined within one given Element.

Specified by:
createItem in class AbstractXmlSearchCommand
Parameters:
listing - the w3c element
Returns:
the ResultItem


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