Package de.xima.fc.form.common.models
Interface IXFormRenderConfig
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
LanguageFd2Config
,XFormConfig
,XFormRenderConfig
public interface IXFormRenderConfig extends Serializable
-
-
Method Summary
-
-
-
Method Detail
-
setDesignerPreview
void setDesignerPreview(boolean isDesignerPreview)
-
isDesignerPreview
boolean isDesignerPreview()
-
getBaseIncludeUrl
String getBaseIncludeUrl()
-
setBaseIncludeUrl
void setBaseIncludeUrl(String url)
-
getFormAction
String getFormAction()
-
setFormAction
void setFormAction(String formAction)
-
isFormOnly
boolean isFormOnly()
-
setFormOnly
void setFormOnly(boolean formOnly)
-
getTitle
String getTitle()
-
setTitle
void setTitle(String title)
-
isSkipPlaceholder
boolean isSkipPlaceholder()
-
setSkipPlaceholder
void setSkipPlaceholder(boolean preview)
-
isPreview
boolean isPreview()
-
setPreview
void setPreview(boolean isPreview)
-
isPublish
boolean isPublish()
-
setPublish
void setPublish(boolean isPublish)
-
getLang
String getLang()
-
setLang
void setLang(String lang)
-
getBotFieldName
String getBotFieldName()
- Returns:
- The name of the invisible bot field used as a honey trap to detect bots. When a form is submitted where this field has a value, the form submission is rejected.
-
setBotFieldName
void setBotFieldName(String botFieldName)
- Parameters:
botFieldName
- The name of the invisible bot field used as a honey trap to detect bots. When a form is submitted where this field has a value, the form submission is rejected.
-
getBotFieldAutocomplete
String getBotFieldAutocomplete()
- Returns:
- The value for the
autocomplete
attribute of the invisiblebot field
. When null, empty, or blank, theautocomplete
property is not set on the bot field.
-
setBotFieldAutocomplete
void setBotFieldAutocomplete(String botFieldAutocomplete)
- Parameters:
botFieldAutocomplete
- The value for theautocomplete
attribute of the invisiblebot field
. When null, empty, or blank, theautocomplete
property is not set on the bot field.
-
getxItemRenderConditions
XItemConditionsWrapper getxItemRenderConditions()
-
setXItemRenderConditions
void setXItemRenderConditions(XItemConditionsWrapper xItemRenderConditions)
-
getDataSourceProvider
IFD2DataSourceProvider getDataSourceProvider()
-
getXItemProvider
IFD2XItemProvider getXItemProvider()
-
setDataSourceProvider
void setDataSourceProvider(IFD2DataSourceProvider dataSourceProvider)
Setter des dataSourceProvider- Parameters:
dataSourceProvider
-IFD2DataSourceProvider
der zu setzende dataSourceProvider
-
setLanguageProvider
void setLanguageProvider(IFD2LanguageProvider languageProvider)
Setter des languageProvider- Parameters:
languageProvider
-IFD2LanguageProvider
der zu setzende languageProvider
-
getLanguageProvider
IFD2LanguageProvider getLanguageProvider()
Getter für languageProvider- Returns:
IFD2LanguageProvider
des languageProvider
-
getRenderCallbackProvider
IFD2RenderCallbackProvider getRenderCallbackProvider()
- Returns:
- The configured render callback provider.
-
setRenderCallbackProvider
void setRenderCallbackProvider(IFD2RenderCallbackProvider renderCallbackProvider)
- Parameters:
renderCallbackProvider
- The new render callback provider to use.
-
setLicenseDataProvider
void setLicenseDataProvider(IFD2LicenseDataProvider licenseDataProvider)
-
getLicenseDataProvider
IFD2LicenseDataProvider getLicenseDataProvider()
-
getI18N
com.alibaba.fastjson.JSONObject getI18N()
-
isUsejq
boolean isUsejq()
-
setUsejq
void setUsejq(boolean usejq)
-
isUseui
boolean isUseui()
-
setUseui
void setUseui(boolean useui)
-
isUsebs
boolean isUsebs()
-
setUsebs
void setUsebs(boolean usebs)
-
isUsecss
boolean isUsecss()
-
setUsecss
void setUsecss(boolean usecss)
-
isForceInline
boolean isForceInline()
-
setForceInline
void setForceInline(boolean forceInline)
-
getMetaDataProvider
IFD2MetaDataProvider getMetaDataProvider()
-
setMetaDataProvider
void setMetaDataProvider(IFD2MetaDataProvider metaDataProvider)
-
getStatusProvider
IFD2StatusProvider getStatusProvider()
-
setStatusProvider
void setStatusProvider(IFD2StatusProvider statusProvider)
-
getUserGroupProvider
IFD2UserGroupProvider getUserGroupProvider()
-
setUserGroupProvider
void setUserGroupProvider(IFD2UserGroupProvider userGroupProvider)
-
setReplacerProvider
void setReplacerProvider(IFD2ReplacerProvider replacerProvider)
-
getReplacerProvider
IFD2ReplacerProvider getReplacerProvider()
-
getAttachmentDownloadURL
String getAttachmentDownloadURL()
-
setAttachmentDownloadURL
void setAttachmentDownloadURL(String attachmentDownloadURL)
-
getAttachmentDeleteURL
String getAttachmentDeleteURL()
-
setAttachmentDeleteURL
void setAttachmentDeleteURL(String attachmentDeleteURL)
-
getProjektID
long getProjektID()
-
setProjektID
void setProjektID(long projektID)
-
getCustomFormNodes
List<com.hp.gagawa.java.Node> getCustomFormNodes()
-
setCustomFormNodes
void setCustomFormNodes(List<com.hp.gagawa.java.Node> customFormNodes)
-
addCustomFormNode
void addCustomFormNode(com.hp.gagawa.java.Node customNode)
-
getJsIncludes
LinkedHashMap<String,String> getJsIncludes()
-
setJsIncludes
void setJsIncludes(LinkedHashMap<String,String> jsIncludes)
-
getCssIncludes
LinkedHashMap<String,String> getCssIncludes()
-
getClientId
long getClientId()
- Returns:
- ID of the client that owns the form to be rendered.
-
setClientId
void setClientId(long clientId)
- Parameters:
clientId
- ID of the client that owns the form to be rendered.
-
setCssIncludes
void setCssIncludes(LinkedHashMap<String,String> cssIncludes)
-
addValidationError
void addValidationError(String itemId, String error)
Adds a server validation message for the given form element. This message is redisplayed in the form in the browser.- Parameters:
itemId
- Full ID of a form element, e.g.xi-tf-1
(non-repeated) orxi-tf-1_c_99
(repeated element).error
- Error message to add.
-
addValidationError
default void addValidationError(String baseId, Integer repetitionId, String error)
Adds a server validation message for the given form element. This message is redisplayed in the form in the browser. This method adds a message for a repeated element. This is equivalent to callingaddValidationError(String, String)
with the full ID of the element.- Parameters:
baseId
- Base ID of the non-repeated form element, e.g.xi-tf-1
(and NOTxi-tf-1_c_99
).repetitionId
- Repetition ID of the repeated element. Note that this is not the ordinal ID which always starts at 0. When there are three repetitions of a form element, they could have the repetition IDs3
,25
, and99
. Whennull
or negative, the element is treated as non-repeated and only the base ID is used.error
- Error message to add.
-
getThemeCss
String getThemeCss()
-
setThemeCss
void setThemeCss(String themeCss)
-
getVRulesProvider
IFD2VRulesProvider getVRulesProvider()
-
setVRulesProvider
void setVRulesProvider(IFD2VRulesProvider vrulesProvider)
-
setXItemProvider
void setXItemProvider(IFD2XItemProvider xItemProvider)
-
setForceBranding
void setForceBranding(boolean forceBranding)
-
isForceBranding
boolean isForceBranding()
-
isHideRequiredHint
boolean isHideRequiredHint()
-
setHideRequiredHint
void setHideRequiredHint(boolean isHideRequiredHint)
-
getButtonDescriptor
XButtonDescriptor getButtonDescriptor()
-
setButtonDescriptor
void setButtonDescriptor(XButtonDescriptor buttonDescriptor)
-
isDemoAccount
@Deprecated default boolean isDemoAccount()
Deprecated.
-
setDemoAccount
@Deprecated default void setDemoAccount(boolean isDemoAccount)
Deprecated.
-
addXFormRessource
@Deprecated default void addXFormRessource(EFormResourceType type, String path, String value)
Deprecated.
-
setIgnoreRenderConditions
void setIgnoreRenderConditions(boolean ignoreRenderConditions)
-
isIgnoreRenderConditions
boolean isIgnoreRenderConditions()
-
getAppointmentProvider
IFD2AppointmentProvider getAppointmentProvider()
- Returns:
- The current provider for accessing appointments and appointment templates.
-
setAppointmentProvider
void setAppointmentProvider(IFD2AppointmentProvider appoinmentProvider)
- Parameters:
appoinmentProvider
- The provider to use for accessing appointments and appointment templates.
-
getTemplateProvider
IFD2TemplateProvider getTemplateProvider()
-
setTemplateProvider
void setTemplateProvider(IFD2TemplateProvider templateProvider)
-
isValidateSubmitAction
@Deprecated default boolean isValidateSubmitAction()
Deprecated.UsegetXFormProperties()
.- Returns:
true
if the transmitted submit button name used to submit the form needs to be validated (whether such a button really existed), orfalse
otherwise.
-
setValidateSubmitAction
@Deprecated default void setValidateSubmitAction(boolean validateSubmitAction)
Deprecated.UsegetXFormProperties()
.- Parameters:
validateSubmitAction
-true
if the transmitted submit button name used to submit the form needs to be validated (whether such a button really existed), orfalse
otherwise.
-
isLegacyUseOptionTextForAutocomplete
@Deprecated default boolean isLegacyUseOptionTextForAutocomplete()
Deprecated.UsegetXFormProperties()
.- Returns:
true
to use the legacy behavior where the option text of autocomplete elements was used when evaluating conditions.
-
setLegacyUseOptionTextForAutocomplete
@Deprecated default void setLegacyUseOptionTextForAutocomplete(boolean legacyUseOptionTextForAutocomplete)
Deprecated.UsegetXFormProperties()
.- Parameters:
legacyUseOptionTextForAutocomplete
-true
to use the legacy behavior where the option text of autocomplete elements was used when evaluating conditions.
-
getXFormProperty
default XPropertyValue getXFormProperty(String property)
-
getXFormPropertyI18n
default String getXFormPropertyI18n(XFormPropertyEnum property)
-
getXFormProperties
XFormProperties getXFormProperties()
-
setXFormProperties
void setXFormProperties(XFormProperties formProperties)
-
getFormI18n
com.alibaba.fastjson.JSONObject getFormI18n()
-
setFormI18n
void setFormI18n(com.alibaba.fastjson.JSONObject formI18n)
-
-