Class DatenquelleParams
java.lang.Object
de.xima.fc.web.common.datasource.DatenquelleParams
- All Implemented Interfaces:
IDatenquelleParams, IPluginParameters, IPluginDataSourceParams, Serializable
public class DatenquelleParams
extends Object
implements IDatenquelleParams, IPluginDataSourceParams
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDatenquelleParams(Mandant mandant, Map<String, Serializable> sessionAttributes, ValueParameters requestParameters, Projekt projekt) Deprecated.DatenquelleParams(Mandant mandant, Map<String, Serializable> sessionAttributes, ValueParameters requestParameters, Projekt projekt, Benutzer user, com.alibaba.fastjson.JSONObject userData) Deprecated.DatenquelleParams(Mandant mandant, Map<String, Serializable> sessionAttributes, ValueParameters requestParameters, Projekt projekt, IUser user, com.alibaba.fastjson.JSONObject userData) Deprecated.DatenquelleParams(XItem item, Mandant mandant, SessionAttributes sessionAttributes, ValueParameters requestParameters, Projekt projekt) Deprecated.DatenquelleParams(XItem item, Mandant mandant, Map<String, Serializable> sessionAttributes, ValueParameters requestParameters, Projekt projekt) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic DatenquelleParams.Builderbuilder()Deprecated.The current form record, if any exists.The type of the current form request.getItem()Deprecated.com.alibaba.fastjson.JSONObjectDeprecated.Der Mandant in welchem sich das Formular befindetDas Projekt welches das Formular bereitstelltGetter für aufbereitete Request-Parameter welche je nach typ (Prefix) in entsprechende Maps sortiert sind.In der Formular-Sitzung serialisierbare Session-AttributeDeprecated.getUser()com.alibaba.fastjson.JSONObject
-
Constructor Details
-
DatenquelleParams
@Deprecated public DatenquelleParams(Mandant mandant, Map<String, Serializable> sessionAttributes, ValueParameters requestParameters, Projekt projekt) Deprecated.Usebuilder()instead.- Parameters:
mandant- The client owning the form.sessionAttributes- The form request session attributes.requestParameters- The form request parameters.projekt- The project.
-
DatenquelleParams
@Deprecated public DatenquelleParams(Mandant mandant, Map<String, Serializable> sessionAttributes, ValueParameters requestParameters, Projekt projekt, IUser user, com.alibaba.fastjson.JSONObject userData) Deprecated.Usebuilder()instead.- Parameters:
mandant- The client owning the form.sessionAttributes- The form request session attributes.requestParameters- The form request parameters.projekt- The project.user- The authenticated user.userData- The data of the authenticated user.
-
DatenquelleParams
@Deprecated public DatenquelleParams(Mandant mandant, Map<String, Serializable> sessionAttributes, ValueParameters requestParameters, Projekt projekt, Benutzer user, com.alibaba.fastjson.JSONObject userData) Deprecated.Usebuilder()instead.- Parameters:
mandant- The client owning the form.sessionAttributes- The form request session attributes.requestParameters- The form request parameters.projekt- The project.user- The authenticated user.userData- The data of the authenticated user.
-
DatenquelleParams
@Deprecated public DatenquelleParams(XItem item, Mandant mandant, SessionAttributes sessionAttributes, ValueParameters requestParameters, Projekt projekt) Deprecated.Usebuilder()instead.- Parameters:
item- The form item for which the data source is requested.mandant- The client owning the form.sessionAttributes- The form request session attributes.requestParameters- The form request parameters.projekt- The project.
-
DatenquelleParams
@Deprecated public DatenquelleParams(XItem item, Mandant mandant, Map<String, Serializable> sessionAttributes, ValueParameters requestParameters, Projekt projekt) Deprecated.Usebuilder()instead.- Parameters:
item- The form item for which the data source is requested.mandant- The client owning the form.sessionAttributes- The form request session attributes.requestParameters- The form request parameters.projekt- The project.
-
-
Method Details
-
getCurrentUser
Deprecated.UsegetUser()instead.- Specified by:
getCurrentUserin interfaceIPluginDataSourceParams- Returns:
- The current
Benutzerwho is signed in to formcycle.
-
getFormRecord
Description copied from interface:IPluginDataSourceParamsThe current form record, if any exists. E.g. when the form is opened initially, no form record is available.- Specified by:
getFormRecordin interfaceIPluginDataSourceParams- Returns:
- The current form record, or
nullif no form record is available.
-
getFormRequestType
Description copied from interface:IPluginDataSourceParamsThe type of the current form request. This can be used to determine the context in which the form is opened.- Specified by:
getFormRequestTypein interfaceIPluginDataSourceParams- Returns:
- The type of the current form request.
-
getItem
Deprecated.Description copied from interface:IDatenquelleParamsDas Formular-Feld von welchem die Datenquelle benutzt wird- Specified by:
getItemin interfaceIDatenquelleParams- Returns:
XItem
-
getLdapUserData
Deprecated.- Specified by:
getLdapUserDatain interfaceIPluginDataSourceParams
-
getMandant
Description copied from interface:IDatenquelleParamsDer Mandant in welchem sich das Formular befindet- Specified by:
getMandantin interfaceIDatenquelleParams- Specified by:
getMandantin interfaceIPluginDataSourceParams- Returns:
Mandant
-
getProjekt
Description copied from interface:IDatenquelleParamsDas Projekt welches das Formular bereitstellt- Specified by:
getProjektin interfaceIDatenquelleParams- Specified by:
getProjektin interfaceIPluginDataSourceParams- Returns:
Process
-
getRequestParameters
Description copied from interface:IDatenquelleParamsGetter für aufbereitete Request-Parameter welche je nach typ (Prefix) in entsprechende Maps sortiert sind.- Specified by:
getRequestParametersin interfaceIDatenquelleParams- Specified by:
getRequestParametersin interfaceIPluginDataSourceParams- Returns:
ValueParameters
-
getSessionAttributeMap
Description copied from interface:IDatenquelleParamsIn der Formular-Sitzung serialisierbare Session-Attribute- Specified by:
getSessionAttributeMapin interfaceIDatenquelleParams- Specified by:
getSessionAttributeMapin interfaceIPluginDataSourceParams- Returns:
SessionAttributes
-
getSessionAttributes
Deprecated.- Specified by:
getSessionAttributesin interfaceIDatenquelleParams- Specified by:
getSessionAttributesin interfaceIPluginDataSourceParams
-
getUser
- Specified by:
getUserin interfaceIPluginDataSourceParams- Returns:
- the user that is authenticated in the session.
-
getUserData
public com.alibaba.fastjson.JSONObject getUserData()- Specified by:
getUserDatain interfaceIPluginDataSourceParams- Returns:
- A
JSONObjectwith the data for the authenticated user. When the current form does not require authorization, or when the current user did not authorize via this may returnnull.
-
builder
-
getUser()instead.