public class FormProcessContextBuilder extends Object
Constructor and Description |
---|
FormProcessContextBuilder(IFormRequestContext requestCtx) |
FormProcessContextBuilder(IFormRequestContext requestCtx,
boolean deleteVorgang) |
Modifier and Type | Method and Description |
---|---|
IFormProcessContext |
build()
builds an
IFormProcessContext based on the given IFormRequestContext of the builder |
IExtendedFormProcessContext |
build(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
builds an
IExtendedFormProcessContext based on the IFormRequestContext of the builder and the given
parameters. |
IExtendedFormProcessContext |
build(IExtendedFormRequestContext requestCtx)
builds an
IExtendedFormProcessContext based on the IFormRequestContext of the builder and the
IExtendedFormRequestContext . |
IFormProcessContext |
build(IFormProcessContext processCtx)
builds the
IFormProcessContext based on the given builder data by loading all needed data from the
master-server and sets them into the given IFormProcessContext |
IFormRequestContext |
getRequestCtx() |
boolean |
isDeleteVorgang() |
void |
setDeleteVorgang(boolean deleteVorgang) |
void |
setRequestCtx(IFormRequestContext requestCtx) |
public FormProcessContextBuilder(IFormRequestContext requestCtx)
requestCtx
- IFormRequestContext
with the data to processpublic FormProcessContextBuilder(IFormRequestContext requestCtx, boolean deleteVorgang)
requestCtx
- IFormRequestContext
with the data to processdeleteVorgang
- Boolean
if the Vorgang
should be deleted after processing. (Default:
false
)public IFormProcessContext build() throws ContextBuilderException
IFormProcessContext
based on the given IFormRequestContext
of the builderIFormProcessContext
ContextBuilderException
public IExtendedFormProcessContext build(IExtendedFormRequestContext requestCtx) throws ContextBuilderException
IExtendedFormProcessContext
based on the IFormRequestContext
of the builder and the
IExtendedFormRequestContext
. Uses build(IFormProcessContext)
for loading the requested data.requestCtx
- IExtendedFormRequestContext
with the HttpServletResponse
and
HttpServletRequest
to use for the IExtendedFormRequestContext
IExtendedFormRequestContext
ContextBuilderException
public IExtendedFormProcessContext build(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ContextBuilderException
IExtendedFormProcessContext
based on the IFormRequestContext
of the builder and the given
parameters. Uses build(IFormProcessContext)
for loading the requested data.request
- HttpServletRequest
the request to useresponse
- HttpServletResponse
the response to useIExtendedFormProcessContext
ContextBuilderException
public IFormProcessContext build(IFormProcessContext processCtx) throws ContextBuilderException
IFormProcessContext
based on the given builder data by loading all needed data from the
master-server and sets them into the given IFormProcessContext
processCtx
- IFormProcessContext
for which the data should be loadedIFormProcessContext
extended by the loaded dataContextBuilderException
public IFormRequestContext getRequestCtx()
public void setRequestCtx(IFormRequestContext requestCtx)
public boolean isDeleteVorgang()
public void setDeleteVorgang(boolean deleteVorgang)
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.