public abstract class BaseGisAction extends BaseHibernateAction
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACKNOWLEDGE_MESSAGES |
static String |
APP_AUTH |
static String |
CMS_PAGE_ID |
protected static double |
DEFAULTTOLERANCE |
static String |
URL_AUTH |
FAILURE, RIGHTS_ERROR_KEY, SUCCESS, VALIDATION_ERROR_KEY| Constructor and Description |
|---|
BaseGisAction() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkThemaLayers(Themas t,
List acceptableLayers)
Voeg alle layers samen voor een thema en controleer of de gebruiker voor
alle layers rechten heeft.
|
protected void |
createLists(org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request) |
protected CMSMenu |
getCMSMenu(Integer id) |
protected List<CMSMenuItem> |
getCMSMenuItems(Integer menuId) |
protected CMSPagina |
getCMSPage(Integer pageID) |
protected List<CMSPagina> |
getCMSPaginas() |
protected Gegevensbron |
getGegevensbron(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request) |
protected Themas |
getObjectThema(String identifier)
Een protected methode het object thema ophaalt dat hoort bij een bepaald
id.
|
protected List |
getTekstBlokken(Integer cmsPageId) |
protected Themas |
getThema(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request)
Haal een Thema op uit de database door middel van een in het request
meegegeven thema id.
|
protected Themas |
getThema(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request,
boolean analysethemaid) |
protected ArrayList |
getThemas(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request)
Haal alle themas op uit de database door middel van een in het request
meegegeven thema id comma seperated list.
|
protected List |
getValidThemas(boolean locatie,
List ctl,
javax.servlet.http.HttpServletRequest request)
Indien een cluster wordt meegegeven dan voegt deze functie ook de layers
die niet als thema geconfigureerd zijn, maar toch als role aan de
principal zijn meegegeven als dummy thema toe.
|
protected List |
getValidUserThemas(boolean locatie,
List ctl,
javax.servlet.http.HttpServletRequest request)
Indien een cluster wordt meegegeven dan voegt deze functie ook de layers
die niet als thema geconfigureerd zijn, maar toch als role aan de
principal zijn meegegeven als dummy thema toe.
|
protected String |
prettifyCMSPageUrl(javax.servlet.http.HttpServletRequest request,
CMSPagina cmsPage) |
protected static void |
setCMSPageFromRequest(javax.servlet.http.HttpServletRequest request) |
execute, getHibernateSession, getUnspecifiedDefaultForwardaddAlternateMessage, addAlternateMessage, addDefaultMessage, addDefaultMessage, getActionMethodPropertiesClass, getAlternateForward, getDefaultForward, getUnspecifiedAlternateForward, redispatch, redispatchFormFieldaddAttributeMessage, addAttributeMessage, addMessage, addMessage, addMessage, addMessage, addMessage, getActionMethodPropertiesMap, 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, setServletpublic static final String URL_AUTH
public static final String APP_AUTH
public static final String CMS_PAGE_ID
protected static final double DEFAULTTOLERANCE
protected static final String ACKNOWLEDGE_MESSAGES
protected void createLists(org.apache.struts.validator.DynaValidatorForm dynaForm,
javax.servlet.http.HttpServletRequest request)
throws Exception
Exceptionprotected ArrayList getThemas(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request)
mapping - ActionMappingdynaForm - DynaValidatorFormrequest - HttpServletRequestThemasprotected Themas getThema(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request)
mapping - ActionMappingdynaForm - DynaValidatorFormrequest - HttpServletRequestThemasprotected Gegevensbron getGegevensbron(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request)
protected Themas getThema(org.apache.struts.action.ActionMapping mapping, org.apache.struts.validator.DynaValidatorForm dynaForm, javax.servlet.http.HttpServletRequest request, boolean analysethemaid)
protected List getValidThemas(boolean locatie, List ctl, javax.servlet.http.HttpServletRequest request)
locatie - request - protected List getValidUserThemas(boolean locatie, List ctl, javax.servlet.http.HttpServletRequest request)
locatie - request - protected boolean checkThemaLayers(Themas t, List acceptableLayers)
t - request - protected Themas getObjectThema(String identifier)
identifier - String which identifies the object thema to be found.protected static void setCMSPageFromRequest(javax.servlet.http.HttpServletRequest request)
protected List<CMSMenuItem> getCMSMenuItems(Integer menuId)
Copyright © 2016. All rights reserved.