Class PluginFormResourcesFindParams
- java.lang.Object
-
- de.xima.fc.plugin.models.params.form.PluginFormResourcesFindParams
-
- All Implemented Interfaces:
IPluginFormResourcesFindParams,Serializable
public final class PluginFormResourcesFindParams extends Object implements IPluginFormResourcesFindParams
Default POJO implementation ofIPluginFormResourcesParams- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPluginFormResourcesFindParams.BuilderA builder for plugin form resources find parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginFormResourcesFindParams.Builderbuilder()Creates a new builder for plugin form resources find parameters.FormVersiongetFormVersion()The form version for which to find additional resources, if available.ProjektgetProject()The project containing the form version for which to find additional resources, if available.EFormRequestTypegetRequestType()The type of the request for which form resources are needed, e.g. whether the form is shown to end users, rendered in the form designer, displayed in the inbox etc.MandantgetTenant()The client who owns the form for which to find additional resources, if available.IXFormgetXForm()Gets the form description, as configured in the form designer.booleanisInline()
-
-
-
Method Detail
-
getFormVersion
public FormVersion getFormVersion()
Description copied from interface:IPluginFormResourcesFindParamsThe form version for which to find additional resources, if available. May be null when no form version is available, e.g. when the user opens a form/provide link without a valid identifier, or when getting the resources for an HTML response page.- Specified by:
getFormVersionin interfaceIPluginFormResourcesFindParams- Returns:
- The form version for which to find additional resources.
-
getProject
public Projekt getProject()
Description copied from interface:IPluginFormResourcesFindParamsThe project containing the form version for which to find additional resources, if available. May be null when no project is available, e.g. when the user opens a form/provide link without a valid identifier.- Specified by:
getProjectin interfaceIPluginFormResourcesFindParams- Returns:
- The project containing the form version for which to find additional resources.
-
getRequestType
public EFormRequestType getRequestType()
Description copied from interface:IPluginFormResourcesFindParamsThe type of the request for which form resources are needed, e.g. whether the form is shown to end users, rendered in the form designer, displayed in the inbox etc.- Specified by:
getRequestTypein interfaceIPluginFormResourcesFindParams- Returns:
- The type of the request for which form resources are needed.
-
getTenant
public Mandant getTenant()
Description copied from interface:IPluginFormResourcesFindParamsThe client who owns the form for which to find additional resources, if available. May be null when no client is available, e.g. when the user opens a form/provide link without a valid identifier.- Specified by:
getTenantin interfaceIPluginFormResourcesFindParams- Returns:
- The client who owns the form for which to find additional resources.
-
getXForm
public IXForm getXForm()
Description copied from interface:IPluginFormResourcesFindParamsGets the form description, as configured in the form designer. May be null when no form version is available, e.g. when the user opens a form/provide link without a valid identifier, or when getting the resources for an HTML response page.- Specified by:
getXFormin interfaceIPluginFormResourcesFindParams- Returns:
- The form description, as configured in the form designer.
-
isInline
public boolean isInline()
- Specified by:
isInlinein interfaceIPluginFormResourcesFindParams- Returns:
- Whether the form is rendered inline. In inline mode, all external URLs should be resolved and the data should contain all resources.
-
builder
public static PluginFormResourcesFindParams.Builder builder()
Creates a new builder for plugin form resources find parameters.- Returns:
- A new builder for plugin form resources find parameters.
-
-