|
||||||||||
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.dataset.AbstractDataSetResource
fr.cnes.sitools.dataset.database.common.DataSetCountResource
public class DataSetCountResource
Resource that performs a count on a dataset with some parameters Return only the number of records for this search
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
DataSetCountResource()
|
Method Summary | |
---|---|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
Describe the GET method |
void |
doInit()
Initiate the resource |
org.restlet.representation.Representation |
getCount(org.restlet.representation.Variant variant)
Get the count of a search |
org.restlet.representation.Representation |
getCountFromFile(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Get the count of a search |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.dataset.AbstractDataSetResource |
---|
getDatasetId, getObject, getRepresentation, registerObserver, unregisterObserver |
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 DataSetCountResource()
Method Detail |
---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
public void doInit()
SitoolsResource
@Get public org.restlet.representation.Representation getCount(org.restlet.representation.Variant variant)
variant
- the Variant needed
@Post public org.restlet.representation.Representation getCountFromFile(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- The Post representationvariant
- the Variant needed
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
info
- the WADL information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |