public class PluginServletActionParams extends Object implements IPluginServletActionParams
Constructor and Description |
---|
PluginServletActionParams(Map<String,Serializable> sessionAttributes,
Map<String,List<String>> valueParameter,
Map<String,List<FileData>> uploadFiles,
Benutzer benutzer,
Locale locale,
EServletAction action,
Map<String,String> headerMap,
FrontendServer fs)
Deprecated.
|
PluginServletActionParams(Map<String,Serializable> sessionAttributes,
Map<String,List<String>> valueParameter,
Map<String,List<FileData>> uploadFiles,
Benutzer benutzer,
Locale locale,
EServletAction action,
Map<String,String> headerMap,
FrontendServer fs,
Mandant client,
String sessionId)
Constuctor for creating a parameters object with all necessary request data
|
PluginServletActionParams(SessionAttributes sessionAttributes,
HashMap<String,List<String>> valueParameter,
HashMap<String,List<FileData>> uploadFiles,
Locale locale,
EServletAction action,
Map<String,String> headerMap,
FrontendServer fs)
Deprecated.
use
#PluginServletActionParams(Map, HashMap, HashMap, Benutzer, Locale, EServletAction, Map, FrontendServer) |
Modifier and Type | Method and Description |
---|---|
EServletAction |
getAction()
Getter für den Typ des Servlet-Aufrufs
|
Benutzer |
getBenutzer()
Getter für den Benutzer aus der
XfcSession mit welcher das Plugin-Servlet aufgerufen wird. |
FrontendServer |
getFrontendServer()
Getter für den FrontendServer.
|
Map<String,String> |
getHeaderMap()
Getter für die Map der Header-Parameter
|
Locale |
getLocale()
Getter für das ggf. ermittelte oder standard-Locale
|
Mandant |
getPluginClient()
Getting the client in which context the plug-in is executed.
|
Map<String,List<String>> |
getRequestParameters()
Getter für die Request-Parameter.
|
Map<String,Serializable> |
getSessionAttributeMap()
Deprecated.
|
SessionAttributes |
getSessionAttributes()
Deprecated.
|
String |
getSessionID()
Getting the session ID for the currently logged in user.
|
Map<String,List<FileData>> |
getUploadFiles()
Getter für alle hochgeladenen Dateien aus dem Request
|
ValueParameters |
getValueParameters()
Deprecated.
|
@Deprecated public PluginServletActionParams(SessionAttributes sessionAttributes, HashMap<String,List<String>> valueParameter, HashMap<String,List<FileData>> uploadFiles, Locale locale, EServletAction action, Map<String,String> headerMap, FrontendServer fs)
#PluginServletActionParams(Map, HashMap, HashMap, Benutzer, Locale, EServletAction, Map, FrontendServer)
public PluginServletActionParams(Map<String,Serializable> sessionAttributes, Map<String,List<String>> valueParameter, Map<String,List<FileData>> uploadFiles, Benutzer benutzer, Locale locale, EServletAction action, Map<String,String> headerMap, FrontendServer fs, Mandant client, String sessionId)
sessionAttributes
- attributes from the current sessionvalueParameter
- request parameteruploadFiles
- files that are overhanded by the requestbenutzer
- the current logged in user that sent the formlocale
- the currently set localaction
- an enumeration representing the HTTP method of the requestheaderMap
- request header fieldsfs
- the FrontendServer
that sent the request@Deprecated public PluginServletActionParams(Map<String,Serializable> sessionAttributes, Map<String,List<String>> valueParameter, Map<String,List<FileData>> uploadFiles, Benutzer benutzer, Locale locale, EServletAction action, Map<String,String> headerMap, FrontendServer fs)
PluginServletActionParams(Map, Map, Map, Benutzer, Locale, EServletAction, Map, FrontendServer, Mandant, String)
sessionAttributes
- attributes from the current sessionvalueParameter
- request parameteruploadFiles
- files that are overhanded by the requestbenutzer
- the current logged in user that sent the formlocale
- the currently set localaction
- an enumeration representing the HTTP method of the requestheaderMap
- request header fieldsfs
- the FrontendServer
that sent the request@Deprecated public Map<String,Serializable> getSessionAttributeMap()
IPluginServletActionParams
getSessionAttributeMap
in interface IPluginServletActionParams
Map
mit Session-Attributenpublic Map<String,List<String>> getRequestParameters()
IPluginServletActionParams
getRequestParameters
in interface IPluginServletActionParams
public Map<String,List<FileData>> getUploadFiles()
IPluginServletActionParams
getUploadFiles
in interface IPluginServletActionParams
public Locale getLocale()
IPluginServletActionParams
getLocale
in interface IPluginServletActionParams
Locale
das Localepublic EServletAction getAction()
IPluginServletActionParams
getAction
in interface IPluginServletActionParams
EServletAction
der Typpublic Map<String,String> getHeaderMap()
IPluginServletActionParams
getHeaderMap
in interface IPluginServletActionParams
Map
der Header-Parameterpublic FrontendServer getFrontendServer()
IPluginServletActionParams
getFrontendServer
in interface IPluginServletActionParams
FrontendServer
public Benutzer getBenutzer()
IPluginServletActionParams
XfcSession
mit welcher das Plugin-Servlet aufgerufen wird.getBenutzer
in interface IPluginServletActionParams
Benutzer
aus der aktuellen XfcSession
@Deprecated public SessionAttributes getSessionAttributes()
getSessionAttributes
in interface IPluginServletActionParams
@Deprecated public ValueParameters getValueParameters()
IPluginServletActionParams
getValueParameters
in interface IPluginServletActionParams
ValueParameters
die Request-Parameterpublic String getSessionID()
IPluginServletActionParams
null
will be returnedgetSessionID
in interface IPluginServletActionParams
public Mandant getPluginClient()
IPluginServletActionParams
null
in case the plug-in is a system plugin and runs in an client
independend context.getPluginClient
in interface IPluginServletActionParams
null
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.