public class AbstractAdminCapabiltiesAjaxEndpoint extends AbstractController
Modifier and Type | Field and Description |
---|---|
protected static String |
DISABLED_PROPERTY |
protected static String |
ERRORS_PROPERTY |
protected static String |
EXTENSION_PROPERTY |
protected static String |
IDENTIFIER |
protected static String |
IDENTIFIER_PROPERTY |
private static org.slf4j.Logger |
log |
protected static String |
OFFERING |
protected static String |
VALID_PROPERTY |
Constructor and Description |
---|
AbstractAdminCapabiltiesAjaxEndpoint() |
Modifier and Type | Method and Description |
---|---|
String |
error(ConfigurationException e) |
String |
error(JSONException e) |
String |
error(NoSuchExtensionException e) |
String |
error(NoSuchOfferingException e) |
String |
error(OwsExceptionReport e) |
String |
error(org.apache.xmlbeans.XmlException e) |
protected ContentCache |
getCache() |
protected CapabilitiesExtensionManager |
getDao() |
protected String |
getSelectedStaticCapabilities() |
protected void |
setSelectedStaticCapabilities(String id) |
protected void |
showDynamicCapabilities() |
getBasePath, getContext, getDatabaseSettingsHandler, getMetaDataHandler, getSettingsManager, parseBoolean, parseBoolean, setContext, toJSONValueMap
private static final org.slf4j.Logger log
protected static final String OFFERING
protected static final String IDENTIFIER
protected static final String DISABLED_PROPERTY
protected static final String EXTENSION_PROPERTY
protected static final String IDENTIFIER_PROPERTY
protected static final String ERRORS_PROPERTY
protected static final String VALID_PROPERTY
public AbstractAdminCapabiltiesAjaxEndpoint()
protected CapabilitiesExtensionManager getDao()
protected ContentCache getCache()
@ResponseBody @ExceptionHandler(value=org.apache.xmlbeans.XmlException.class) @ResponseStatus(value=BAD_REQUEST) public String error(org.apache.xmlbeans.XmlException e)
@ResponseBody @ExceptionHandler(value=NoSuchOfferingException.class) @ResponseStatus(value=NOT_FOUND) public String error(NoSuchOfferingException e)
@ResponseBody @ExceptionHandler(value=NoSuchExtensionException.class) @ResponseStatus(value=NOT_FOUND) public String error(NoSuchExtensionException e)
@ResponseBody @ExceptionHandler(value=JSONException.class) @ResponseStatus(value=INTERNAL_SERVER_ERROR) public String error(JSONException e)
@ResponseBody @ExceptionHandler(value=ConfigurationException.class) @ResponseStatus(value=INTERNAL_SERVER_ERROR) public String error(ConfigurationException e)
@ResponseBody @ExceptionHandler(value=OwsExceptionReport.class) @ResponseStatus(value=INTERNAL_SERVER_ERROR) public String error(OwsExceptionReport e)
protected String getSelectedStaticCapabilities() throws OwsExceptionReport
OwsExceptionReport
protected void setSelectedStaticCapabilities(String id) throws ConfigurationException, OwsExceptionReport, NoSuchExtensionException
protected void showDynamicCapabilities() throws ConfigurationException, OwsExceptionReport, NoSuchExtensionException
Copyright © 2012-2015 52north.org. All Rights Reserved.