|
||||||||||
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.DataSetExplorerResource
public class DataSetExplorerResource
DBExplorerResource using DataSource for pooled connections
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
DataSetExplorerResource()
|
Method Summary | |
---|---|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
Describe the GET method |
void |
doInit()
Initiate the resource |
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
Gets the result of a DataSet query with a given Variant |
DataSetApplication |
getApplication()
Gets the application value |
DataSetExplorerUtil |
getDatasetExplorerUtil()
Gets the datasetExplorerUtil value |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
XStream aliases are personalized for each resource. |
boolean |
isRecordSetTarget()
if target is the record collection |
boolean |
isRecordTarget()
if target is a specified record |
org.restlet.representation.Representation |
processConstraint(org.restlet.data.MediaType media)
Gets the representation for the given media type |
void |
setIfRecordSetTarget(boolean isRecordSetTarget)
Set if the target is a record set |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.dataset.AbstractDataSetResource |
---|
getDatasetId, getObject, 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 DataSetExplorerResource()
Method Detail |
---|
public final boolean isRecordSetTarget()
public final void setIfRecordSetTarget(boolean isRecordSetTarget)
isRecordSetTarget
- true if is a record setpublic final boolean isRecordTarget()
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
public void doInit()
SitoolsResource
public org.restlet.representation.Representation processConstraint(org.restlet.data.MediaType media)
media
- RESTlet MediaType
@Get public final org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
Variant
variant
- The variant needed
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
info
- the WADL informationpublic org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
getRepresentation
in class AbstractDataSetResource
response
- the response to transformmedia
- the media type to use
public final DataSetApplication getApplication()
public DataSetExplorerUtil getDatasetExplorerUtil()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |