|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.geosolutions.unredd.geostore.UNREDDGeostoreManager
public class UNREDDGeostoreManager
Invoke calls on GeoStore, bridging UNREDD model.
| Constructor Summary | |
|---|---|
UNREDDGeostoreManager(it.geosolutions.geostore.services.rest.GeoStoreClient client)
|
|
UNREDDGeostoreManager(String host,
String user,
String pwd)
|
|
| Method Summary | |
|---|---|
void |
deleteChartScript(String chartScriptName)
|
void |
deleteLayer(String layerName)
|
void |
deleteStats(String statsDefName)
|
boolean |
existLayer(String layerName)
checks if layer exists in the category layer |
boolean |
existLayerUpdate(String baseLayerName,
String year,
String month,
String day)
check if layer exists in the category layerupdate |
boolean |
existResourceInCategory(String resourceName,
UNREDDCategories category)
check if a generic resource exists in a given category |
it.geosolutions.geostore.services.rest.GeoStoreClient |
getClient()
|
List<it.geosolutions.geostore.core.model.Resource> |
getFeedbacks()
Returns all feedback resources |
List<it.geosolutions.geostore.core.model.Resource> |
getLayers()
Returns the list of all stat defs |
List<it.geosolutions.geostore.core.model.Resource> |
getStatsDefs()
Returns the list of all layers |
List<it.geosolutions.geostore.core.model.Resource> |
getUNREDDResources(UNREDDCategories cat)
Returns the list of all resources with a given UNREDDResources value |
void |
insertFeedback(Map<String,String> attributes,
String data)
Inserts a feedback resource |
void |
recurseDelete(String resourceName,
UNREDDCategories parentCategory,
UNREDDCategories childCategory,
AttributeDef childAttribute)
|
List<it.geosolutions.geostore.core.model.Resource> |
searchChartDataByChartScript(String chartScriptName)
Returns a list of ChartData objects having attribute CHARTSCRIPT=chartScriptName |
List<it.geosolutions.geostore.core.model.Resource> |
searchChartScriptByStatsDef(String statsdef)
|
it.geosolutions.geostore.core.model.Resource |
searchLayer(String layerName)
Returns a layer with the given name |
List<it.geosolutions.geostore.core.model.Resource> |
searchLayerUpdatesByLayerName(String layerName)
Returns a list of layerUpdate objects having attribute Layer=layerName |
it.geosolutions.geostore.core.model.Resource |
searchResourceByName(String resourceName)
|
it.geosolutions.geostore.core.model.Resource |
searchResourceByName(String resourceName,
UNREDDCategories cat)
|
Map<it.geosolutions.geostore.core.model.Resource,String> |
searchStatsDataByStatsDef(String statsDefName)
Deprecated. |
List<it.geosolutions.geostore.core.model.Resource> |
searchStatsDataByStatsDef2(String statsDefName)
|
List<it.geosolutions.geostore.core.model.Resource> |
searchStatsDefByLayer(String layername)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UNREDDGeostoreManager(String host,
String user,
String pwd)
public UNREDDGeostoreManager(it.geosolutions.geostore.services.rest.GeoStoreClient client)
| Method Detail |
|---|
public it.geosolutions.geostore.services.rest.GeoStoreClient getClient()
public boolean existResourceInCategory(String resourceName,
UNREDDCategories category)
resourceName - category -
public boolean existLayer(String layerName)
layerName -
public boolean existLayerUpdate(String baseLayerName,
String year,
String month,
String day)
baseLayerName - year - month -
public List<it.geosolutions.geostore.core.model.Resource> searchStatsDefByLayer(String layername)
throws UnsupportedEncodingException,
JAXBException
UnsupportedEncodingException
JAXBException
public List<it.geosolutions.geostore.core.model.Resource> searchChartScriptByStatsDef(String statsdef)
throws UnsupportedEncodingException,
JAXBException
UnsupportedEncodingException
JAXBException
public Map<it.geosolutions.geostore.core.model.Resource,String> searchStatsDataByStatsDef(String statsDefName)
throws UnsupportedEncodingException,
JAXBException
statsDefName -
UnsupportedEncodingException
JAXBException
public List<it.geosolutions.geostore.core.model.Resource> searchStatsDataByStatsDef2(String statsDefName)
throws UnsupportedEncodingException,
JAXBException
UnsupportedEncodingException
JAXBException
public it.geosolutions.geostore.core.model.Resource searchLayer(String layerName)
throws UnsupportedEncodingException,
JAXBException
layerName -
UnsupportedEncodingException
JAXBException
public List<it.geosolutions.geostore.core.model.Resource> searchLayerUpdatesByLayerName(String layerName)
throws UnsupportedEncodingException,
JAXBException
statsDefName -
UnsupportedEncodingException
JAXBException
public List<it.geosolutions.geostore.core.model.Resource> searchChartDataByChartScript(String chartScriptName)
throws UnsupportedEncodingException,
JAXBException
statsDefName -
UnsupportedEncodingException
JAXBException
public List<it.geosolutions.geostore.core.model.Resource> getLayers()
throws UnsupportedEncodingException,
JAXBException
UnsupportedEncodingException
JAXBException
public List<it.geosolutions.geostore.core.model.Resource> getFeedbacks()
throws UnsupportedEncodingException,
JAXBException
UnsupportedEncodingException
JAXBException
public void insertFeedback(Map<String,String> attributes,
String data)
public it.geosolutions.geostore.core.model.Resource searchResourceByName(String resourceName)
public it.geosolutions.geostore.core.model.Resource searchResourceByName(String resourceName,
UNREDDCategories cat)
public List<it.geosolutions.geostore.core.model.Resource> getStatsDefs()
throws UnsupportedEncodingException,
JAXBException
UnsupportedEncodingException
JAXBException
public List<it.geosolutions.geostore.core.model.Resource> getUNREDDResources(UNREDDCategories cat)
throws UnsupportedEncodingException,
JAXBException
UnsupportedEncodingException
JAXBExceptionpublic void deleteLayer(String layerName)
public void deleteStats(String statsDefName)
public void deleteChartScript(String chartScriptName)
public void recurseDelete(String resourceName,
UNREDDCategories parentCategory,
UNREDDCategories childCategory,
AttributeDef childAttribute)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||