@Path(value="/")
public class SruConsumerService
extends org.gcube.rest.resourceawareservice.ResourceAwareService<org.gcube.search.sru.consumer.common.resources.SruConsumerResource>
implements org.gcube.search.sru.consumer.common.apis.SruConsumerServiceAPI
| Constructor and Description |
|---|
SruConsumerService(org.gcube.rest.commons.resourceawareservice.resources.ResourceFactory<org.gcube.search.sru.consumer.common.resources.SruConsumerResource> factory,
org.gcube.rest.resourcemanager.publisher.ResourcePublisher<org.gcube.search.sru.consumer.common.resources.SruConsumerResource> publisher,
org.gcube.rest.commons.filter.IResourceFilter<org.gcube.search.sru.consumer.common.resources.SruConsumerResource> resourceFilter,
org.gcube.rest.commons.resourcefile.IResourceFileUtils<org.gcube.search.sru.consumer.common.resources.SruConsumerResource> resourceFileUtils) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
explain(String scope,
String resourceID) |
String |
getResourceClass() |
String |
getResourceNamePref() |
String |
getScope() |
void |
initialize() |
javax.ws.rs.core.Response |
ping() |
javax.ws.rs.core.Response |
query(String scope,
String resourceID,
String queryString,
Long maxRecords,
Boolean result,
Boolean useRR) |
void |
setScope(String scope) |
closeService, createResource, createResourceREST, destroyResource, destroyResourceREST, filterResourcesREST, getAllResources, getResource, getResourceIDsByFilter, getResourceREST, getResourcesByFilter, listResourceIDs, listResources, listResourcesREST, loadResources, onClose, saveResource, startService@Inject
public SruConsumerService(org.gcube.rest.commons.resourceawareservice.resources.ResourceFactory<org.gcube.search.sru.consumer.common.resources.SruConsumerResource> factory,
org.gcube.rest.resourcemanager.publisher.ResourcePublisher<org.gcube.search.sru.consumer.common.resources.SruConsumerResource> publisher,
org.gcube.rest.commons.filter.IResourceFilter<org.gcube.search.sru.consumer.common.resources.SruConsumerResource> resourceFilter,
org.gcube.rest.commons.resourcefile.IResourceFileUtils<org.gcube.search.sru.consumer.common.resources.SruConsumerResource> resourceFileUtils)
throws Exception
Exceptionpublic void setScope(String scope)
public String getScope()
getScope in class org.gcube.rest.resourceawareservice.ResourceAwareService<org.gcube.search.sru.consumer.common.resources.SruConsumerResource>public String getResourceClass()
getResourceClass in class org.gcube.rest.resourceawareservice.ResourceAwareService<org.gcube.search.sru.consumer.common.resources.SruConsumerResource>public String getResourceNamePref()
getResourceNamePref in class org.gcube.rest.resourceawareservice.ResourceAwareService<org.gcube.search.sru.consumer.common.resources.SruConsumerResource>public javax.ws.rs.core.Response ping()
ping in interface org.gcube.search.sru.consumer.common.apis.SruConsumerServiceAPIpublic javax.ws.rs.core.Response query(String scope, String resourceID, String queryString, Long maxRecords, Boolean result, Boolean useRR)
query in interface org.gcube.search.sru.consumer.common.apis.SruConsumerServiceAPICopyright © 2015. All Rights Reserved.