public class FormPersistContextBuilder extends Object
| Constructor and Description |
|---|
FormPersistContextBuilder(IFormRequestContext requestCtx,
IXForm xform) |
| Modifier and Type | Method and Description |
|---|---|
IFormPersistContext |
build()
|
IExtendedFormPersistContext |
build(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
builds an
IExtendedFormPersistContext based on the IFormRequestContext an the IXForm of the
builder and the given parameters. |
IExtendedFormPersistContext |
build(IExtendedFormRequestContext requestCtx)
builds an
IExtendedFormPersistContext based on the IFormRequestContext an the IXForm of the
builder and the IExtendedFormRequestContext. |
IFormPersistContext |
build(IFormPersistContext persistCtx)
builds the
IFormPersistContext based on the given builder data by loading all needed data from the
master-server and sets them into the given IFormPersistContext |
IFormRequestContext |
getRequestCtx() |
IXForm |
getXform() |
void |
setRequestCtx(IFormRequestContext requestCtx) |
void |
setXform(IXForm xform) |
public FormPersistContextBuilder(IFormRequestContext requestCtx, IXForm xform)
requestCtx - IFormRequestContext with data to persistxform - IXForm the form form of the persist-callpublic IFormPersistContext build() throws ContextBuilderException
IFormPersistContext based on the IFormRequestContext an the IXForm of the
builder. Uses build(IFormPersistContext) for loading the requested data.IExtendedFormPersistContextContextBuilderExceptionpublic IExtendedFormPersistContext build(IExtendedFormRequestContext requestCtx) throws ContextBuilderException
IExtendedFormPersistContext based on the IFormRequestContext an the IXForm of the
builder and the IExtendedFormRequestContext. Uses build(IFormPersistContext) for loading the
requested data.requestCtx - IExtendedFormRequestContext with the HttpServletResponse and
HttpServletRequest to use for the IExtendedFormPersistContextIExtendedFormPersistContextContextBuilderExceptionpublic IExtendedFormPersistContext build(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ContextBuilderException
IExtendedFormPersistContext based on the IFormRequestContext an the IXForm of the
builder and the given parameters. Uses build(IFormPersistContext) for loading the requested data.request - HttpServletRequest the request to useresponse - HttpServletResponse the response to useIExtendedFormPersistContextContextBuilderExceptionpublic IFormPersistContext build(IFormPersistContext persistCtx) throws ContextBuilderException
IFormPersistContext based on the given builder data by loading all needed data from the
master-server and sets them into the given IFormPersistContextpersistCtx - IFormPersistContext for which the data should be loadedIFormPersistContext extended by the loaded dataContextBuilderExceptionpublic IFormRequestContext getRequestCtx()
public void setRequestCtx(IFormRequestContext requestCtx)
public IXForm getXform()
public void setXform(IXForm xform)
Copyright © 2018 XIMA MEDIA GmbH. All rights reserved.