public class FormRenderContextBuilder extends Object
| Constructor and Description |
|---|
FormRenderContextBuilder(IFormRequestContext requestCtx) |
FormRenderContextBuilder(long projektId,
Integer formVersionNumber,
Locale locale,
Benutzer benutzer,
String processId) |
FormRenderContextBuilder(long projektId,
int formVersionNumber,
Locale locale) |
FormRenderContextBuilder(long projektId,
int formVersionNumber,
Locale locale,
Benutzer benutzer) |
FormRenderContextBuilder(long projektId,
Locale locale) |
FormRenderContextBuilder(long projektId,
Locale locale,
Benutzer benutzer) |
FormRenderContextBuilder(long projektId,
Locale locale,
Benutzer benutzer,
String processId) |
public FormRenderContextBuilder(long projektId,
int formVersionNumber,
Locale locale)
projektId - Integer the id of the Projekt which should be renderdformVersionNumber - Integer the version-number of the FormVersion which should be renderdlocale - Locale which should be usedpublic FormRenderContextBuilder(long projektId,
int formVersionNumber,
Locale locale,
Benutzer benutzer)
public FormRenderContextBuilder(long projektId,
Locale locale)
public FormRenderContextBuilder(long projektId,
Locale locale,
Benutzer benutzer)
public FormRenderContextBuilder(long projektId,
Locale locale,
Benutzer benutzer,
String processId)
public FormRenderContextBuilder(IFormRequestContext requestCtx)
requestCtx - IFormRequestContext which should be used for creating the builderpublic FormRenderContextBuilder(long projektId,
Integer formVersionNumber,
Locale locale,
Benutzer benutzer,
String processId)
projektId - Integer the id of the Projekt which should be renderdformVersionNumber - Integer the version-number of the FormVersion which should be renderdlocale - Locale which should be usedbenutzer - Benutzer which should be usedprocessId - String the process-id of the Vorgang which should be renderedpublic IExtendedFormRenderContext build(IExtendedFormRequestContext requestCtx) throws ContextBuilderException
IExtendedFormRenderContext based on the data of the builder and the
IExtendedFormRequestContext. Uses build(IFormRenderContext) for loading the requested data.requestCtx - IExtendedFormRequestContext with the HttpServletResponse and
HttpServletRequest to use for the IExtendedFormRequestContextIExtendedFormRenderContextContextBuilderException - on errors while creating the contextpublic IExtendedFormRenderContext build(EFormRequestType requestType, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ContextBuilderException
IExtendedFormRenderContext based on the data of the builder and the given parameters. Uses
build(IFormRenderContext) for loading the requested data.requestType - EFormRequestType of the render-requestrequest - HttpServletRequest the request to useresponse - HttpServletResponse the response to useIExtendedFormRenderContextContextBuilderException - on errors while creating the contextpublic IFormRenderContext build(IFormRequestContext requestCtx) throws ContextBuilderException
IFormRenderContext based on the given IFormRequestContext. Uses
build(IFormRenderContext) for loading the requested data.requestCtx - the IFormRequestContext to useContextBuilderException - on errors while creating the contextpublic IFormRenderContext build(EFormRequestType requestType) throws ContextBuilderException
IFormRenderContext based on the given builder-data. Uses build(IFormRenderContext) for
loading the requested data.requestType - the EFormRequestType to useContextBuilderException - on errors while creating the contextpublic IFormRenderContext build(IFormRenderContext renderCtx) throws ContextBuilderException
IFormRenderContext based on the given builder data by loading all needed data from the
master-server and sets them into the given IFormRenderContextrenderCtx - IFormRenderContext for which the data should be loadedIFormRenderContext extended by the loaded dataContextBuilderException - on errors while creating the contextpublic Benutzer getBenutzer()
public void setBenutzer(Benutzer benutzer)
public long getProjektId()
public void setProjektId(Integer projektId)
public Integer getFormVersionNumber()
public void setFormVersionNumber(Integer formVersionNumber)
public String getProcessId()
public void setProcessId(String processId)
public IXFormRenderConfig getXFormConfig()
public void setXFormConfig(IXFormRenderConfig xFormConfig)
public Locale getLocale()
public void setLocale(Locale locale)
public boolean isExecutePreRenderer()
public void setExecutePreRenderer(boolean executePreRenderer)
public Boolean getCountFormCall()
public void setCountFormCall(Boolean countFormCall)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.