|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.sesat.search.mode.config.CommandConfig
no.sesat.search.mode.config.AbstractXmlSearchConfiguration
no.sesat.search.mode.config.PictureCommandConfig
@CommandConfig.Controller(value="PicSearchCommand") public class PictureCommandConfig
A search command that uses the picsearch API.
http://www.picsearch.com/
http://about.picsearch.com/image_search/
| 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PictureCommandConfig()
| Method Detail |
|---|
public String getFilter()
public String getCustomerId()
public void setFilter(String filter)
filter - New value for filter.public void setCustomerId(String customerId)
customerId - New value for customerIdpublic String getSite()
public void setSite(String site)
site - to restrict searches to (e.g. dn.se).public String getDomainBoost()
public void setDomainBoost(String domainBoost)
domainBoost - the domain boost string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||