Package de.xima.fc.form.publish
Class FormPublishContextBuilder
java.lang.Object
de.xima.fc.form.publish.FormPublishContextBuilder
Builder for creating an form-publish-context.
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild
(Benutzer benutzer, PublishRequestParameter parameters) Deprecated.build
(IFormPublishContext publishCtx) builds theIFormPublishContext
based by loading all needed data from the master-server and sets them into the givenIFormPublishContext
build
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) builds anIExtendedFormPublishContext
based on the given parameters.
-
Constructor Details
-
FormPublishContextBuilder
public FormPublishContextBuilder()
-
-
Method Details
-
build
public IExtendedFormPublishContext build(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) builds anIExtendedFormPublishContext
based on the given parameters. Usesbuild(IFormPublishContext)
for loading the requested data.- Parameters:
request
-HttpServletRequest
the request to useresponse
-HttpServletResponse
the response to use- Returns:
- the created
IExtendedFormPersistContext
-
build
Deprecated.Usebuild(HttpServletRequest, HttpServletResponse)
instead.Builds anIFormPublishContext
based on the the given parameters. Usesbuild(IFormPublishContext)
for loading the requested data.- Parameters:
benutzer
-Benutzer
which creates the requestparameters
-PublishRequestParameter
s to use- Returns:
- the created
IFormPublishContext
-
build
builds theIFormPublishContext
based by loading all needed data from the master-server and sets them into the givenIFormPublishContext
- Parameters:
publishCtx
-IFormPublishContext
for which the data should be loaded- Returns:
- the
IFormPublishContext
extended by the loaded data
-
build(HttpServletRequest, HttpServletResponse)
instead.