public interface ShowFormDialogOperation
perform(Form,List) gets
 invoked.| Modifier and Type | Interface and Description | 
|---|---|
| static class  | ShowFormDialogOperation.InvalidRulesetDefinitionException informing about an invalid ruleset definition. | 
| Modifier and Type | Field and Description | 
|---|---|
| static OperationType<ShowFormDialogOperation> | TYPEThe operation's technical type to be used to look up the operation via an  OperationAgent. | 
| Modifier and Type | Method and Description | 
|---|---|
| FormData | perform(Form form,
       List<Language> languages)Show a form based on the given structural definition and return the form's result. | 
| void | setContextElement(IDProvider element)Store element providing the context in which the form is displayed. | 
| void | setDefaults(FormData defaults)Set data, which are handled a default values, i.e., data that will be applied, if no values have been manually
 or  initiallybeen set. | 
| void | setDisabled(boolean disabled)Define, whether the form should be disabled. | 
| void | setFormData(FormData data)Set data to be loaded initially to the form. | 
| void | setModified(boolean modified)Define, whether the form should initially be marked modified. | 
| void | setMultiLanguage(boolean active)Define, whether to allow for a multiple language form. | 
| void | setOkText(String okText)Set the text for the OK action of the form. | 
| void | setRuleset(String rulesetDefinition)Set the ruleset to be used by providing an XML-based definition. | 
| void | setTitle(String title)Set the title for the form's dialog. | 
| void | setUiStyle(Store.Type storeType)Set the UI style be the store type the form should base upon. | 
| void | setValidation(boolean active)Define, whether to validate the form on confirmation. | 
static final OperationType<ShowFormDialogOperation> TYPE
OperationAgent.void setUiStyle(Store.Type storeType)
storeType - The store type to base the ui style upon.void setTitle(String title)
title - The dialog title.void setOkText(String okText)
okText - The OK text.void setMultiLanguage(boolean active)
active - If true, enable multiple language input.void setValidation(boolean active)
active - If true, enable validation.void setDisabled(boolean disabled)
disabled - If true, form will be disabled.void setModified(boolean modified)
modified - If true, form will be marked modified.void setFormData(@Nullable FormData data)
 Note 1: The data object will not be used to store the form's resulting input.
 Note 2: Providing initial data does not have the same semantics as defaults being set to the form's definition.
 Note 3: The form definition provided by this data object will be ignored.
data - The date to be loaded.void setDefaults(FormData defaults)
initially been set.
 
 Note: If used in combination with perform(Form,List), defaults set to the form will be overridden by the ones given here.
defaults - The default data.void setContextElement(@Nullable IDProvider element)
element - The contextual element for the form.void setRuleset(@NotNull String rulesetDefinition)
rulesetDefinition - An XML-based definition of rules.@Nullable FormData perform(@NotNull Form form, @NotNull List<Language> languages) throws ShowFormDialogOperation.InvalidRulesetDefinition
form - The form definition.languages - The languages to request in.null, if the form was cancelled.ShowFormDialogOperation.InvalidRulesetDefinition - If a given ruleset is invalid.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500