Package de.xima.fc.gui.model.params
Class PreviewParams
- java.lang.Object
-
- de.xima.fc.gui.model.params.PreviewParams
-
public class PreviewParams extends Object
Parameters for the preview remote command, seeFormRenderHelper
andDesignerPreviewPageBean
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PreviewParams.Builder
Builder to buildPreviewParams
.
-
Constructor Summary
Constructors Constructor Description PreviewParams(Locale defaultLocale)
Creates a new params instance that read the data from the currently active HTTP request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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.String
getCharsetName()
Locale
getLang()
String
getLangCode()
com.alibaba.fastjson.JSONObject
getPersist()
Status
getState()
BenutzerGruppe
getUserGroup()
WorkflowState
getWfState()
boolean
isDebugTools()
boolean
isPreview()
boolean
isRenderFully()
-
-
-
Constructor Detail
-
PreviewParams
public PreviewParams(Locale defaultLocale)
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 Detail
-
getCharsetName
public String getCharsetName()
-
getLang
public Locale getLang()
-
getLangCode
public String getLangCode()
-
getPersist
public com.alibaba.fastjson.JSONObject getPersist()
-
getWfState
public WorkflowState getWfState()
-
getState
public Status getState()
-
getUserGroup
public BenutzerGruppe getUserGroup()
-
isDebugTools
public boolean isDebugTools()
-
isPreview
public boolean isPreview()
-
isRenderFully
public boolean isRenderFully()
-
builder
public static PreviewParams.Builder builder()
Creates builder to buildPreviewParams
.- Returns:
- created builder
-
builderFrom
public static PreviewParams.Builder builderFrom(PreviewParams previewParams)
Creates a builder to buildPreviewParams
and initialize it with the given object.- Parameters:
previewParams
- to initialize the builder with- Returns:
- created builder
-
-