|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExtendedWadlApplication
fr.cnes.sitools.common.application.SitoolsApplication
fr.cnes.sitools.common.application.SitoolsParameterizedApplication
fr.cnes.sitools.dataset.AbstractDataSetApplication
fr.cnes.sitools.dataset.DataSetApplication
public final class DataSetApplication
Application for exposing DataSets (one instance of DataSetApplication per DataSet) TODO Constructor with all generic security configuration (Authenticator informations)
Constructor Summary | |
---|---|
DataSetApplication(org.restlet.Context context,
java.lang.String dataSetId)
Constructor with a DataSet id |
Method Summary | |
---|---|
void |
attachDataSet(DataSet ds)
Create and attach a new DataSetApplication |
org.restlet.Restlet |
createInboundRoot()
|
void |
detachDataSet(DataSet ds)
Detach the DataSetApplication corresponding with the DataSet given object |
void |
detachDataSetDefinitif(DataSet ds)
Detach the DataSetApplication corresponding with the DataSet given object |
org.restlet.ext.wadl.ApplicationInfo |
getApplicationInfo(org.restlet.Request request,
org.restlet.Response response)
|
DictionaryMappingDTO |
getColumnConceptMappingDTO(java.lang.String dictionaryName)
Get the DictionaryMappingDTO from the mapping of this dataset from its dictionaryName |
ConverterChained |
getConverterChained()
Gets the converterChained value |
DataSet |
getDataSet()
Gets the DataSet object model |
SitoolsDataSource |
getDataSource()
Gets the SitoolsDataSource |
java.util.List<DictionaryMappingDTO> |
getDictionaryMappings()
Gets the dictionaryMappings value |
FilterChained |
getFilterChained()
Gets the filterChained value |
void |
setDictionaryMappings(java.util.List<DictionaryMappingDTO> dictionaryMappings)
Sets the value of dictionaryMappings |
void |
sitoolsDescribe()
Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality. |
void |
start()
|
void |
stop()
|
Methods inherited from class fr.cnes.sitools.dataset.AbstractDataSetApplication |
---|
getDatasetId, getStore |
Methods inherited from class fr.cnes.sitools.common.application.SitoolsParameterizedApplication |
---|
attachParameterizedResources, detachParameterizedResource, getModel, getModelMap, getPluginStore, setModelMap |
Methods inherited from class fr.cnes.sitools.common.application.SitoolsApplication |
---|
addSecurity, addSecurity, addSecurityFilter, defaultDescribe, getAttachementRef, getAuthenticationRealm, getAuthorizer, getAuthorizer, getAuthorizer, getCategory, getId, getPublicBaseRef, getRepresentationInfoReferences, getSecure, getSettings, getSitoolsApplicationInfo, getType, getUserAuthorizer, isAuthorizationSecure, isUserAuthenticationNeeded, register, setAutoRegistration, setCategory, setId, setSitoolsApplicationInfo, setType, setUserAuthenticationNeeded, unregister, wrapToResource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSetApplication(org.restlet.Context context, java.lang.String dataSetId)
context
- RESTlet Host contextdataSetId
- DataSet identifierMethod Detail |
---|
public void sitoolsDescribe()
SitoolsApplication
sitoolsDescribe
in class SitoolsApplication
public org.restlet.Restlet createInboundRoot()
public SitoolsDataSource getDataSource()
public DataSet getDataSet()
public void attachDataSet(DataSet ds)
AbstractDataSetApplication
attachDataSet
in class AbstractDataSetApplication
ds
- DataSet objectpublic void detachDataSet(DataSet ds)
AbstractDataSetApplication
detachDataSet
in class AbstractDataSetApplication
ds
- DataSet objectpublic void detachDataSetDefinitif(DataSet ds)
AbstractDataSetApplication
detachDataSetDefinitif
in class AbstractDataSetApplication
ds
- DataSet objectpublic ConverterChained getConverterChained()
public FilterChained getFilterChained()
public void start() throws java.lang.Exception
start
in class SitoolsApplication
java.lang.Exception
public void stop() throws java.lang.Exception
stop
in class SitoolsApplication
java.lang.Exception
public org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request, org.restlet.Response response)
getApplicationInfo
in class AbstractDataSetApplication
public void setDictionaryMappings(java.util.List<DictionaryMappingDTO> dictionaryMappings)
dictionaryMappings
- the dictionaryMappings to setpublic java.util.List<DictionaryMappingDTO> getDictionaryMappings()
public DictionaryMappingDTO getColumnConceptMappingDTO(java.lang.String dictionaryName)
dictionaryName
- the name of the dictionary
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |