@UrlBinding(value="/app/{name}/v{version}")
@StrictBinding
public class ApplicationActionBean
extends nl.b3p.i18n.LocalizableActionBean
implements net.sourceforge.stripes.action.ActionBean
| Constructor and Description |
|---|
ApplicationActionBean() |
| Modifier and Type | Method and Description |
|---|---|
static net.sourceforge.stripes.action.Resolution |
checkRestriction(net.sourceforge.stripes.action.ActionBeanContext context,
Application application,
javax.persistence.EntityManager em) |
static Locale |
determineLocaleForBundle(net.sourceforge.stripes.action.ActionBeanContext context,
Application application) |
String |
getAppConfigJSON() |
Application |
getApplication() |
String |
getBookmark() |
String |
getComponentSourceHTML() |
net.sourceforge.stripes.action.ActionBeanContext |
getContext() |
String |
getExtent() |
HashMap |
getGlobalLayout() |
String |
getLanguage() |
String |
getLayers() |
String |
getLevelOrder() |
String |
getLoginUrl() |
String |
getName() |
static int |
getRolesCachekey(javax.servlet.http.HttpServletRequest request,
javax.persistence.EntityManager em)
Build a hash key to make the single component source for all components
cacheable but updateable when the roles of the user change.
|
String |
getTitle() |
org.json.JSONObject |
getUser() |
String |
getVersion() |
String |
getViewerType() |
void |
initBundle() |
boolean |
isDebug() |
boolean |
isUnknown() |
net.sourceforge.stripes.action.Resolution |
retrieveAppConfigJSON() |
net.sourceforge.stripes.action.Resolution |
retrieveCache() |
net.sourceforge.stripes.action.Resolution |
saveCache() |
void |
setAppConfigJSON(String appConfigJSON) |
void |
setApplication(Application application) |
void |
setBookmark(String bookmark) |
void |
setComponentSourceHTML(String componentSourceHTML) |
void |
setContext(net.sourceforge.stripes.action.ActionBeanContext context) |
void |
setDebug(boolean debug) |
void |
setExtent(String extent) |
void |
setGlobalLayout(HashMap globalLayout) |
void |
setLanguage(String language) |
void |
setLayers(String layers) |
void |
setLevelOrder(String levelOrder) |
void |
setLoginUrl(String loginUrl) |
void |
setName(String name) |
void |
setTitle(String title) |
void |
setUnknown(boolean unknown) |
void |
setUser(org.json.JSONObject user) |
void |
setVersion(String version) |
void |
setViewerType(String viewerType) |
net.sourceforge.stripes.action.Resolution |
uitloggen() |
net.sourceforge.stripes.action.Resolution |
view() |
public String getName()
public void setName(String name)
public String getVersion()
public void setVersion(String version)
public boolean isDebug()
public void setDebug(boolean debug)
public Application getApplication()
public void setApplication(Application application)
public void setContext(net.sourceforge.stripes.action.ActionBeanContext context)
setContext in interface net.sourceforge.stripes.action.ActionBeanpublic net.sourceforge.stripes.action.ActionBeanContext getContext()
getContext in interface net.sourceforge.stripes.action.ActionBeanpublic String getComponentSourceHTML()
public void setComponentSourceHTML(String componentSourceHTML)
public String getAppConfigJSON()
public void setAppConfigJSON(String appConfigJSON)
public String getViewerType()
public void setViewerType(String viewerType)
public String getTitle()
public void setTitle(String title)
public String getLanguage()
public void setLanguage(String language)
public org.json.JSONObject getUser()
public void setUser(org.json.JSONObject user)
public String getLoginUrl()
public void setLoginUrl(String loginUrl)
public HashMap getGlobalLayout()
public void setGlobalLayout(HashMap globalLayout)
public boolean isUnknown()
public void setUnknown(boolean unknown)
public String getBookmark()
public void setBookmark(String bookmark)
public String getExtent()
public void setExtent(String extent)
public String getLayers()
public void setLayers(String layers)
public String getLevelOrder()
public void setLevelOrder(String levelOrder)
public net.sourceforge.stripes.action.Resolution saveCache()
throws org.json.JSONException,
IOException
org.json.JSONExceptionIOExceptionpublic net.sourceforge.stripes.action.Resolution retrieveCache()
throws org.json.JSONException,
IOException
org.json.JSONExceptionIOExceptionpublic net.sourceforge.stripes.action.Resolution retrieveAppConfigJSON()
throws IOException
IOException@DefaultHandler
public net.sourceforge.stripes.action.Resolution view()
throws org.json.JSONException,
IOException
org.json.JSONExceptionIOExceptionpublic static net.sourceforge.stripes.action.Resolution checkRestriction(net.sourceforge.stripes.action.ActionBeanContext context,
Application application,
javax.persistence.EntityManager em)
public static int getRolesCachekey(javax.servlet.http.HttpServletRequest request,
javax.persistence.EntityManager em)
request - servlet request with user credentialem - the entitymanahger to use for database accesspublic net.sourceforge.stripes.action.Resolution uitloggen()
@After(stages=BindingAndValidation) public void initBundle()
initBundle in class nl.b3p.i18n.LocalizableActionBeanpublic static Locale determineLocaleForBundle(net.sourceforge.stripes.action.ActionBeanContext context, Application application)
Copyright © 2020. All rights reserved.