public class WfsServerAction extends ServerAction
| Modifier and Type | Field and Description |
|---|---|
protected static String |
MAPPING_BATCH_UPDATE |
protected static String |
MAPPING_TEST |
protected WFSParser |
parser |
ABBR_RESERVED_ERROR_KEY, ADD, LAYER_JOINED_KEY, MALFORMED_CAPABILITY_ERRORKEY, MALFORMED_CREDENTIALS_ERRORKEY, MALFORMED_URL_ERRORKEY, NON_ALPHANUMERIC_ABBREVIATION_ERROR_KEY, NON_UNIQUE_ABBREVIATION_ERROR_KEY, ORG_JOINED_KEY, PRICING_JOINED_KEY, SERVER_CONNECTION_ERRORKEY, SERVICE_LINKED_ERROR_KEY, SP_NOTFOUND_ERROR_KEY, UNSUPPORTED_WMSVERSION_ERRORKEYACKNOWLEDGE_MESSAGES, UNKNOWN_SES_USER_ERROR_KEY| Constructor and Description |
|---|
WfsServerAction() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAllLayersToGroup(Organization org,
nl.b3p.ogc.wfs.v110.WfsServiceProvider sp,
javax.persistence.EntityManager em) |
static void |
addRightsForAllLayers(String[] orgSelected,
nl.b3p.ogc.wfs.v110.WfsServiceProvider sp,
javax.persistence.EntityManager em) |
org.apache.struts.action.ActionForward |
batchUpdate(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
createLists(org.apache.struts.validator.DynaValidatorForm form,
javax.servlet.http.HttpServletRequest request)
Creates a list of all the service providers in the database.
|
org.apache.struts.action.ActionForward |
delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method for deleting a serviceprovider selected by a user.
|
org.apache.struts.action.ActionForward |
deleteConfirm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
edit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Edit method which handles all editable requests.
|
protected Map |
getActionMethodPropertiesMap() |
protected void |
populateServerObject(org.apache.struts.validator.DynaValidatorForm dynaForm,
nl.b3p.ogc.wfs.v110.WfsServiceProvider serviceProvider)
Method that fills a serive provider object with the user input from the
forms.
|
org.apache.struts.action.ActionForward |
save(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method for saving a new service provider from input of a user.
|
org.apache.struts.action.ActionForward |
test(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
unspecified(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
add, getID, isAbbrUnique, isAlphaNumeric, isWFSAbbrUnique, isWMSAbbrUniquecreateTree, createTree, createTree, createWfsTree, createWfsTree, execute, getEntityManager, getLayerByUniqueName, getLayerID, getUnspecifiedAlternateForward, getWfsLayerByUniqueNamecancel, cancelled, confirm, create, getAction, getAltAction, getUnspecifiedDefaultForward, list, prepareMethod, saveConfirmaddAlternateMessage, addAlternateMessage, addDefaultMessage, addDefaultMessage, getActionMethodPropertiesClass, getAlternateForward, getDefaultForward, redispatch, redispatchFormFieldaddAttributeMessage, addAttributeMessage, addMessage, addMessage, addMessage, addMessage, addMessage, getMethodProperties, getParameterMethodMapgetDispatchedMethodName, getDispatchedParameter, getMethodPathIndex, parseParameter, setDispatchMethodcancelled, getMethod, unspecifieddispatchMethod, getMethodName, getParameteraddErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletprotected static final String MAPPING_TEST
protected static final String MAPPING_BATCH_UPDATE
protected WFSParser parser
protected Map getActionMethodPropertiesMap()
getActionMethodPropertiesMap in class ServerActionpublic org.apache.struts.action.ActionForward edit(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
edit in class nl.b3p.commons.struts.CrudActionmapping - The ActionMapping used to select this instance.form - The DynaValidatorForm bean for this request.request - The HTTP Request we are processing.response - The HTTP Response we are processing.Exceptionpublic org.apache.struts.action.ActionForward unspecified(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
unspecified in class ServerActionExceptionpublic org.apache.struts.action.ActionForward save(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
save in class nl.b3p.commons.struts.CrudActionmapping - The ActionMapping used to select this instance.dynaForm - The DynaValidatorForm bean for this request.request - The HTTP Request we are processing.response - The HTTP Response we are processing.Exceptionpublic static void addRightsForAllLayers(String[] orgSelected, nl.b3p.ogc.wfs.v110.WfsServiceProvider sp, javax.persistence.EntityManager em) throws Exception
Exceptionpublic static void addAllLayersToGroup(Organization org, nl.b3p.ogc.wfs.v110.WfsServiceProvider sp, javax.persistence.EntityManager em) throws Exception
Exceptionpublic org.apache.struts.action.ActionForward test(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward batchUpdate(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic org.apache.struts.action.ActionForward deleteConfirm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
deleteConfirm in class nl.b3p.commons.struts.CrudActionExceptionpublic org.apache.struts.action.ActionForward delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
delete in class nl.b3p.commons.struts.CrudActionmapping - The ActionMapping used to select this instance.dynaForm - The DynaValidatorForm bean for this request.request - The HTTP Request we are processing.response - The HTTP Response we are processing.Exceptionpublic void createLists(org.apache.struts.validator.DynaValidatorForm form,
javax.servlet.http.HttpServletRequest request)
throws Exception
createLists in class nl.b3p.commons.struts.CrudActionform - The DynaValidatorForm bean for this request.request - The HTTP Request we are processing.Exceptionprotected void populateServerObject(org.apache.struts.validator.DynaValidatorForm dynaForm,
nl.b3p.ogc.wfs.v110.WfsServiceProvider serviceProvider)
form - The DynaValidatorForm bean for this request.serviceProvider - ServiceProvider object that to be filledCopyright © 2015. All rights reserved.