Class LanguageFd2Config
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.LanguageFd2Config
-
- All Implemented Interfaces:
IXFormRenderConfig
,Serializable
public class LanguageFd2Config extends Object implements IXFormRenderConfig
Mostly dummyIXFormRenderConfig
that only implementsgetLanguageProvider()
. Used for obtaining the localized name of submit buttons, seeIWorkflowProvider.getAllSubmitButtons()
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LanguageFd2Config(Projekt project, Locale locale)
Creates a new dummy FD2 config with the given locale.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.form.common.models.IXFormRenderConfig
addValidationError, addXFormRessource, setDemoAccount
-
-
-
-
Method Detail
-
addCustomFormNode
public void addCustomFormNode(com.hp.gagawa.java.Node customNode)
- Specified by:
addCustomFormNode
in interfaceIXFormRenderConfig
-
addValidationError
public void addValidationError(String itemId, String error)
Description copied from interface:IXFormRenderConfig
Adds a server validation message for the given form element. This message is redisplayed in the form in the browser.- Specified by:
addValidationError
in interfaceIXFormRenderConfig
- 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.
-
getAppointmentProvider
public IFD2AppointmentProvider getAppointmentProvider()
- Specified by:
getAppointmentProvider
in interfaceIXFormRenderConfig
- Returns:
- The current provider for accessing appointments and appointment templates.
-
getAttachmentDeleteURL
public String getAttachmentDeleteURL()
- Specified by:
getAttachmentDeleteURL
in interfaceIXFormRenderConfig
-
getAttachmentDownloadURL
public String getAttachmentDownloadURL()
- Specified by:
getAttachmentDownloadURL
in interfaceIXFormRenderConfig
-
getBaseIncludeUrl
public String getBaseIncludeUrl()
- Specified by:
getBaseIncludeUrl
in interfaceIXFormRenderConfig
-
getBotFieldName
public String getBotFieldName()
- Specified by:
getBotFieldName
in interfaceIXFormRenderConfig
-
getCssIncludes
public LinkedHashMap<String,String> getCssIncludes()
- Specified by:
getCssIncludes
in interfaceIXFormRenderConfig
-
getCustomFormNodes
public List<com.hp.gagawa.java.Node> getCustomFormNodes()
- Specified by:
getCustomFormNodes
in interfaceIXFormRenderConfig
-
getDataSourceProvider
public IFD2DataSourceProvider getDataSourceProvider()
- Specified by:
getDataSourceProvider
in interfaceIXFormRenderConfig
-
getFormAction
public String getFormAction()
- Specified by:
getFormAction
in interfaceIXFormRenderConfig
-
getI18N
public com.alibaba.fastjson.JSONObject getI18N()
- Specified by:
getI18N
in interfaceIXFormRenderConfig
-
getI18NValue
public String getI18NValue(String key)
- Specified by:
getI18NValue
in interfaceIXFormRenderConfig
-
getJsIncludes
public LinkedHashMap<String,String> getJsIncludes()
- Specified by:
getJsIncludes
in interfaceIXFormRenderConfig
-
getLang
public String getLang()
- Specified by:
getLang
in interfaceIXFormRenderConfig
-
getLanguageProvider
public IFD2LanguageProvider getLanguageProvider()
Description copied from interface:IXFormRenderConfig
Getter für languageProvider- Specified by:
getLanguageProvider
in interfaceIXFormRenderConfig
- Returns:
IFD2LanguageProvider
des languageProvider
-
getLicenseDataProvider
public IFD2LicenseDataProvider getLicenseDataProvider()
- Specified by:
getLicenseDataProvider
in interfaceIXFormRenderConfig
-
getMetaDataProvider
public IFD2MetaDataProvider getMetaDataProvider()
- Specified by:
getMetaDataProvider
in interfaceIXFormRenderConfig
-
getProjektID
public long getProjektID()
- Specified by:
getProjektID
in interfaceIXFormRenderConfig
-
getReplacerProvider
public IFD2ReplacerProvider getReplacerProvider()
- Specified by:
getReplacerProvider
in interfaceIXFormRenderConfig
-
getStatusProvider
public IFD2StatusProvider getStatusProvider()
- Specified by:
getStatusProvider
in interfaceIXFormRenderConfig
-
getThemeCss
public String getThemeCss()
- Specified by:
getThemeCss
in interfaceIXFormRenderConfig
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceIXFormRenderConfig
-
getUserGroupProvider
public IFD2UserGroupProvider getUserGroupProvider()
- Specified by:
getUserGroupProvider
in interfaceIXFormRenderConfig
-
getValidationErrors
public Map<String,List<String>> getValidationErrors()
- Specified by:
getValidationErrors
in interfaceIXFormRenderConfig
-
getValidationErrors
public List<String> getValidationErrors(String itemId)
- Specified by:
getValidationErrors
in interfaceIXFormRenderConfig
-
getVRulesProvider
public IFD2VRulesProvider getVRulesProvider()
- Specified by:
getVRulesProvider
in interfaceIXFormRenderConfig
-
getXItemProvider
public IFD2XItemProvider getXItemProvider()
- Specified by:
getXItemProvider
in interfaceIXFormRenderConfig
-
getxItemRenderConditions
public XItemConditionsWrapper getxItemRenderConditions()
- Specified by:
getxItemRenderConditions
in interfaceIXFormRenderConfig
-
isDemoAccount
public boolean isDemoAccount()
- Specified by:
isDemoAccount
in interfaceIXFormRenderConfig
-
isDesignerPreview
public boolean isDesignerPreview()
- Specified by:
isDesignerPreview
in interfaceIXFormRenderConfig
-
isForceInline
public boolean isForceInline()
- Specified by:
isForceInline
in interfaceIXFormRenderConfig
-
isFormOnly
public boolean isFormOnly()
- Specified by:
isFormOnly
in interfaceIXFormRenderConfig
-
isIgnoreRenderConditions
public boolean isIgnoreRenderConditions()
- Specified by:
isIgnoreRenderConditions
in interfaceIXFormRenderConfig
-
isPreview
public boolean isPreview()
- Specified by:
isPreview
in interfaceIXFormRenderConfig
-
isPublish
public boolean isPublish()
- Specified by:
isPublish
in interfaceIXFormRenderConfig
-
isSkipPlaceholder
public boolean isSkipPlaceholder()
- Specified by:
isSkipPlaceholder
in interfaceIXFormRenderConfig
-
isUsebs
public boolean isUsebs()
- Specified by:
isUsebs
in interfaceIXFormRenderConfig
-
isUsecss
public boolean isUsecss()
- Specified by:
isUsecss
in interfaceIXFormRenderConfig
-
isUsejq
public boolean isUsejq()
- Specified by:
isUsejq
in interfaceIXFormRenderConfig
-
isUseui
public boolean isUseui()
- Specified by:
isUseui
in interfaceIXFormRenderConfig
-
setAppointmentProvider
public void setAppointmentProvider(IFD2AppointmentProvider appointmentProvider)
- Specified by:
setAppointmentProvider
in interfaceIXFormRenderConfig
- Parameters:
appointmentProvider
- The provider to use for accessing appointments and appointment templates.
-
setAttachmentDeleteURL
public void setAttachmentDeleteURL(String attachmentDeleteUrl)
- Specified by:
setAttachmentDeleteURL
in interfaceIXFormRenderConfig
-
setAttachmentDownloadURL
public void setAttachmentDownloadURL(String attachmentDownloadUrl)
- Specified by:
setAttachmentDownloadURL
in interfaceIXFormRenderConfig
-
setBaseIncludeUrl
public void setBaseIncludeUrl(String url)
- Specified by:
setBaseIncludeUrl
in interfaceIXFormRenderConfig
-
setBotFieldName
public void setBotFieldName(String botFieldName)
- Specified by:
setBotFieldName
in interfaceIXFormRenderConfig
-
setCssIncludes
public void setCssIncludes(LinkedHashMap<String,String> cssIncludes)
- Specified by:
setCssIncludes
in interfaceIXFormRenderConfig
-
setCustomFormNodes
public void setCustomFormNodes(List<com.hp.gagawa.java.Node> customFormNodes)
- Specified by:
setCustomFormNodes
in interfaceIXFormRenderConfig
-
setDataSourceProvider
public void setDataSourceProvider(IFD2DataSourceProvider dataSourceProvider)
Description copied from interface:IXFormRenderConfig
Setter des dataSourceProvider- Specified by:
setDataSourceProvider
in interfaceIXFormRenderConfig
- Parameters:
dataSourceProvider
-IFD2DataSourceProvider
der zu setzende dataSourceProvider
-
setDesignerPreview
public void setDesignerPreview(boolean isDesignerPreview)
- Specified by:
setDesignerPreview
in interfaceIXFormRenderConfig
-
setForceInline
public void setForceInline(boolean forceInline)
- Specified by:
setForceInline
in interfaceIXFormRenderConfig
-
setFormAction
public void setFormAction(String formAction)
- Specified by:
setFormAction
in interfaceIXFormRenderConfig
-
setFormOnly
public void setFormOnly(boolean formOnly)
- Specified by:
setFormOnly
in interfaceIXFormRenderConfig
-
setIgnoreRenderConditions
public void setIgnoreRenderConditions(boolean ignoreRenderConditions)
- Specified by:
setIgnoreRenderConditions
in interfaceIXFormRenderConfig
-
setJsIncludes
public void setJsIncludes(LinkedHashMap<String,String> jsIncludes)
- Specified by:
setJsIncludes
in interfaceIXFormRenderConfig
-
setLang
public void setLang(String lang)
- Specified by:
setLang
in interfaceIXFormRenderConfig
-
setLanguageProvider
public void setLanguageProvider(IFD2LanguageProvider languageProvider)
Description copied from interface:IXFormRenderConfig
Setter des languageProvider- Specified by:
setLanguageProvider
in interfaceIXFormRenderConfig
- Parameters:
languageProvider
-IFD2LanguageProvider
der zu setzende languageProvider
-
setLicenseDataProvider
public void setLicenseDataProvider(IFD2LicenseDataProvider licenseDataProvider)
- Specified by:
setLicenseDataProvider
in interfaceIXFormRenderConfig
-
setMetaDataProvider
public void setMetaDataProvider(IFD2MetaDataProvider metaDataProvider)
- Specified by:
setMetaDataProvider
in interfaceIXFormRenderConfig
-
setPreview
public void setPreview(boolean preview)
- Specified by:
setPreview
in interfaceIXFormRenderConfig
-
setProjektID
public void setProjektID(long projectId)
- Specified by:
setProjektID
in interfaceIXFormRenderConfig
-
setPublish
public void setPublish(boolean publish)
- Specified by:
setPublish
in interfaceIXFormRenderConfig
-
setReplacerProvider
public void setReplacerProvider(IFD2ReplacerProvider replacerProvider)
- Specified by:
setReplacerProvider
in interfaceIXFormRenderConfig
-
setSkipPlaceholder
public void setSkipPlaceholder(boolean skipPlaceholder)
- Specified by:
setSkipPlaceholder
in interfaceIXFormRenderConfig
-
setStatusProvider
public void setStatusProvider(IFD2StatusProvider statusProvider)
- Specified by:
setStatusProvider
in interfaceIXFormRenderConfig
-
setThemeCss
public void setThemeCss(String themeCss)
- Specified by:
setThemeCss
in interfaceIXFormRenderConfig
-
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interfaceIXFormRenderConfig
-
setUsebs
public void setUsebs(boolean usebs)
- Specified by:
setUsebs
in interfaceIXFormRenderConfig
-
setUsecss
public void setUsecss(boolean usecss)
- Specified by:
setUsecss
in interfaceIXFormRenderConfig
-
setUsejq
public void setUsejq(boolean usejq)
- Specified by:
setUsejq
in interfaceIXFormRenderConfig
-
setUserGroupProvider
public void setUserGroupProvider(IFD2UserGroupProvider userGroupProvider)
- Specified by:
setUserGroupProvider
in interfaceIXFormRenderConfig
-
setUseui
public void setUseui(boolean useui)
- Specified by:
setUseui
in interfaceIXFormRenderConfig
-
setValidationErrors
public void setValidationErrors(Map<String,List<String>> validationErrors)
- Specified by:
setValidationErrors
in interfaceIXFormRenderConfig
-
setVRulesProvider
public void setVRulesProvider(IFD2VRulesProvider vRulesProvider)
- Specified by:
setVRulesProvider
in interfaceIXFormRenderConfig
-
setXItemProvider
public void setXItemProvider(IFD2XItemProvider xItemProvider)
- Specified by:
setXItemProvider
in interfaceIXFormRenderConfig
-
setXItemRenderConditions
public void setXItemRenderConditions(XItemConditionsWrapper xItemRenderConditions)
- Specified by:
setXItemRenderConditions
in interfaceIXFormRenderConfig
-
getTemplateProvider
public IFD2TemplateProvider getTemplateProvider()
- Specified by:
getTemplateProvider
in interfaceIXFormRenderConfig
-
setTemplateProvider
public void setTemplateProvider(IFD2TemplateProvider templateProvider)
- Specified by:
setTemplateProvider
in interfaceIXFormRenderConfig
-
isValidateSubmitAction
public boolean isValidateSubmitAction()
- Specified by:
isValidateSubmitAction
in interfaceIXFormRenderConfig
- 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
public void setValidateSubmitAction(boolean validateSubmitAction)
- Specified by:
setValidateSubmitAction
in interfaceIXFormRenderConfig
- 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.
-
setForceBranding
public void setForceBranding(boolean forceBranding)
- Specified by:
setForceBranding
in interfaceIXFormRenderConfig
-
isForceBranding
public boolean isForceBranding()
- Specified by:
isForceBranding
in interfaceIXFormRenderConfig
-
isHideRequiredHint
public boolean isHideRequiredHint()
- Specified by:
isHideRequiredHint
in interfaceIXFormRenderConfig
-
setHideRequiredHint
public void setHideRequiredHint(boolean hideRequiredHint)
- Specified by:
setHideRequiredHint
in interfaceIXFormRenderConfig
-
getButtonDescriptor
public XButtonDescriptor getButtonDescriptor()
- Specified by:
getButtonDescriptor
in interfaceIXFormRenderConfig
-
setButtonDescriptor
public void setButtonDescriptor(XButtonDescriptor buttonDescriptor)
- Specified by:
setButtonDescriptor
in interfaceIXFormRenderConfig
-
-