Package de.xima.fc.form.publish
Class FormPublishContextBuilder
- java.lang.Object
-
- de.xima.fc.form.publish.FormPublishContextBuilder
-
public class FormPublishContextBuilder extends Object
Builder for creating an form-publish-context.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FormPublishContextBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFormPublishContext
build(Benutzer benutzer, PublishRequestParameter parameters)
builds anIFormPublishContext
based on the the given parameters.IFormPublishContext
build(IFormPublishContext publishCtx)
builds theIFormPublishContext
based by loading all needed data from the master-server and sets them into the givenIFormPublishContext
IExtendedFormPublishContext
build(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
builds anIExtendedFormPublishContext
based on the given parameters.
-
-
-
Method Detail
-
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
public IFormPublishContext build(Benutzer benutzer, PublishRequestParameter parameters)
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
public IFormPublishContext build(IFormPublishContext publishCtx)
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
-
-