public class FormRequestContextBuilder extends Object
Constructor and Description |
---|
FormRequestContextBuilder(long projektId,
Integer formVersionNummer) |
FormRequestContextBuilder(long projektId,
Integer formVersionNummer,
String prozessId) |
FormRequestContextBuilder(long projektId,
Integer formVersionNummer,
String prozessId,
Benutzer benutzer) |
FormRequestContextBuilder(long projektId,
Integer formVersionNummer,
String prozessId,
Benutzer benutzer,
FrontendServer frontendServer) |
Modifier and Type | Method and Description |
---|---|
IFormRequestContext |
build(EFormRequestType requestType)
builds an
IFormRequestContext based on the data of the builder and the given parameters. |
IExtendedFormRequestContext |
build(EFormRequestType requestType,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
builds an
IExtendedFormRequestContext based on the data of the builder and the given parameters. |
IFormRequestContext |
build(IFormRequestContext requestCtx)
builds the
IFormRequestContext based on the given builder data by loading all needed data from the
master-server and sets them into the given IFormRequestContext |
Benutzer |
getBenutzer() |
Integer |
getFormVersionNummer() |
FrontendServer |
getFrontendServer() |
long |
getProjektId() |
String |
getProzessId() |
String |
getVerifyId() |
boolean |
isUseFormVersionByVorgang() |
void |
setBenutzer(Benutzer benutzer) |
void |
setFormVersionNummer(Integer formVersionNummer) |
void |
setFrontendServer(FrontendServer frontendServer) |
void |
setProjektId(long projektId) |
void |
setProzessId(String prozessId) |
void |
setUseFormVersionByVorgang(boolean useFormVersionByVorgang) |
void |
setVerifyId(String verifyId) |
public FormRequestContextBuilder(long projektId, Integer formVersionNummer)
projektId
- Integer
id of the Projekt
which should be loadedformVersionNummer
- Integer
version-number of the FormVersion
which should be loadedpublic FormRequestContextBuilder(long projektId, Integer formVersionNummer, String prozessId)
public FormRequestContextBuilder(long projektId, Integer formVersionNummer, String prozessId, Benutzer benutzer)
public FormRequestContextBuilder(long projektId, Integer formVersionNummer, String prozessId, Benutzer benutzer, FrontendServer frontendServer)
projektId
- Integer
id of the Projekt
which should be loadedformVersionNummer
- Integer
version-number of the FormVersion
which should be loadedprozessId
- String
process-id of the Vorgang
which should be loadedbenutzer
- Benutzer
which should be loadedfrontendServer
- FrontendServer
on which the load-request is triggeredpublic IExtendedFormRequestContext build(EFormRequestType requestType, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ContextBuilderException
IExtendedFormRequestContext
based on the data of the builder and the given parameters. Uses
build(IFormRequestContext)
for loading the requested data.requestType
- EFormRequestType
of the form-requestrequest
- HttpServletRequest
which should be usedresponse
- HttpServletResponse
which should be usedIExtendedFormRequestContext
ContextBuilderException
public IFormRequestContext build(EFormRequestType requestType) throws ContextBuilderException
IFormRequestContext
based on the data of the builder and the given parameters. Uses
build(IFormRequestContext)
for loading the requested data.requestType
- EFormRequestType
of the form-requestIFormRequestContext
ContextBuilderException
public IFormRequestContext build(IFormRequestContext requestCtx) throws ContextBuilderException
IFormRequestContext
based on the given builder data by loading all needed data from the
master-server and sets them into the given IFormRequestContext
requestCtx
- IFormRequestContext
for which the data should be loadedIFormRequestContext
extended by the loaded dataContextBuilderException
public long getProjektId()
public void setProjektId(long projektId)
public Integer getFormVersionNummer()
public void setFormVersionNummer(Integer formVersionNummer)
public String getProzessId()
public void setProzessId(String prozessId)
public String getVerifyId()
public void setVerifyId(String verifyId)
public boolean isUseFormVersionByVorgang()
public void setUseFormVersionByVorgang(boolean useFormVersionByVorgang)
public FrontendServer getFrontendServer()
public void setFrontendServer(FrontendServer frontendServer)
public Benutzer getBenutzer()
public void setBenutzer(Benutzer benutzer)
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.