|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.portal.multidatasets.opensearch.MutliDsOsResource
public final class MutliDsOsResource
Resource to handle multiple datasets opensearch request
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
MutliDsOsResource()
|
Method Summary | |
---|---|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
doInit()
Initiate the resource |
org.restlet.representation.Representation |
getMutliDsOpensearch()
Handle the search over multiple opensearch index |
int |
getNbResults()
Gets the nbResults value |
java.lang.String |
getOpensearchRSS(java.lang.String query,
java.lang.String osId)
Get the RSS result of an opensearch query |
java.lang.String |
getOpensearchSuggest(java.lang.String query,
java.lang.String osId,
org.restlet.data.MediaType mediaType)
Get the Suggest Representation for a given query and Opensearch Id |
java.util.List<OpensearchDescriptionDTO> |
getOsList()
Gets the osList value |
Portal |
getPortal()
Gets the portal value |
java.lang.String |
getSearchQuery()
Gets the searchQuery value |
void |
setNbResults(int nbResults)
Sets the value of nbResults |
void |
setOsList(java.util.List<OpensearchDescriptionDTO> osList)
Sets the value of osList |
void |
setPortal(Portal portal)
Sets the value of portal |
void |
setSearchQuery(java.lang.String searchQuery)
Sets the value of searchQuery |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource |
---|
getMediaType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MutliDsOsResource()
Method Detail |
---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
public void doInit()
SitoolsResource
@Get public org.restlet.representation.Representation getMutliDsOpensearch()
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
public java.lang.String getOpensearchRSS(java.lang.String query, java.lang.String osId)
query
- The queryosId
- The opensearchId
public java.lang.String getOpensearchSuggest(java.lang.String query, java.lang.String osId, org.restlet.data.MediaType mediaType)
query
- The queryosId
- the Opensearch IdmediaType
- the mediaType needed
public void setOsList(java.util.List<OpensearchDescriptionDTO> osList)
osList
- the osList to setpublic java.util.List<OpensearchDescriptionDTO> getOsList()
public int getNbResults()
public void setNbResults(int nbResults)
nbResults
- the nbResults to setpublic java.lang.String getSearchQuery()
public void setSearchQuery(java.lang.String searchQuery)
searchQuery
- the searchQuery to setpublic void setPortal(Portal portal)
portal
- the portal to setpublic Portal getPortal()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |