createAttributeFilter(UNREDDChartData.Attributes.PUBLISHED, "true"));
return search(filter, false);
}
public void insertLayerUpdate(String layername, String year, String month, String day) throws GeoStoreException {
RESTResource res = createLayerUpdate(layername, year, month, day);
try {
insert(res);
} catch (Exception e) {
LOGGER.error("Error while inserting LayerUpdate: " + res, e);
throw new GeoStoreException("Error while inserting LayerUpdate on Layer " + layername, e);