Package de.xima.fc.gui.model.params
Class PreviewParams
java.lang.Object
de.xima.fc.gui.model.params.PreviewParams
Parameters for the preview remote command, see
FormRenderHelper
and DesignerPreviewPageBean
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPreviewParams
(Locale defaultLocale) Creates a new params instance that read the data from the currently active HTTP request. -
Method Summary
Modifier and TypeMethodDescriptionstatic PreviewParams.Builder
builder()
Creates builder to buildPreviewParams
.static PreviewParams.Builder
builderFrom
(PreviewParams previewParams) Creates a builder to buildPreviewParams
and initialize it with the given object.getLang()
com.alibaba.fastjson.JSONObject
getState()
boolean
boolean
boolean
-
Constructor Details
-
PreviewParams
Creates a new params instance that read the data from the currently active HTTP request. Must be used only within the Faces Servlet.- Parameters:
defaultLocale
- Fallback for the locale when none is specified.
-
-
Method Details
-
getCharsetName
-
getLang
-
getLangCode
-
getPersist
public com.alibaba.fastjson.JSONObject getPersist() -
getWfState
-
getState
-
getUserGroup
-
isDebugTools
public boolean isDebugTools() -
isPreview
public boolean isPreview() -
isRenderFully
public boolean isRenderFully() -
builder
Creates builder to buildPreviewParams
.- Returns:
- created builder
-
builderFrom
Creates a builder to buildPreviewParams
and initialize it with the given object.- Parameters:
previewParams
- to initialize the builder with- Returns:
- created builder
-