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()
-
setBotFieldName
void setBotFieldName(String botFieldName)
-
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
-
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()
-
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
boolean isValidateSubmitAction()
- 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
void setValidateSubmitAction(boolean validateSubmitAction)
- 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.
-
-