Package de.xima.fc.transform.xml
Class FDToXmlTransformer
java.lang.Object
de.xima.fc.transform.xml.FDToXmlTransformer
Deprecated.
Class to transform form data into an XML file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RootFdXmlcreateForPostfach(UserContext uc, List<String> vl, XfcSession xfcSesssion, de.xima.cmn.criteria.QueryCriteriaManager qcm, Benutzer user) static RootFdXmlcreateForProjektPostfach(List<ExtendedEntityModel<Vorgang>> processes, XfcSession sess) Deprecated.static RootFdXmlcreateForSingleVorgang(Vorgang process, IFormDataAdapter formData, IXForm xform) static RootFdXmlstatic ProcessFdXmlcreateProcess(Vorgang process) Deprecated.public access will be removedstatic voidfillFieldsList(Map<String, List<String[]>> dataMap, IXForm xform, IXFormRenderConfig config, ArrayList<FieldFdXml> fields, FormVersion formVersion, boolean skipNotExistingValues) Deprecated.public access will be removedstatic voidfillFormRoot(RootFdXml formRoot) Deprecated.-RootFdXmlwill is filled on instantiationstatic voidwriteHTMLFile(File inputFile, File outputFile, String title) Deprecated.static voidwriteXMLFile(RootFdXml formRoot, File outputFile) Deprecated.
-
Constructor Details
-
FDToXmlTransformer
public FDToXmlTransformer()Deprecated.
-
-
Method Details
-
writeHTMLFile
@Deprecated public static void writeHTMLFile(File inputFile, File outputFile, String title) throws Exception Deprecated.Method to convert an XML input file to an HTML output file.- Parameters:
inputFile- the XML input fileoutputFile- the HTML output file- Throws:
Exception- on errors while writing or reading the files- See Also:
-
writeXMLFile
Deprecated.Method to export anRootFdXmlto an output file -
createForPostfach
@Deprecated public static RootFdXml createForPostfach(UserContext uc, List<String> vl, XfcSession xfcSesssion, de.xima.cmn.criteria.QueryCriteriaManager qcm, Benutzer user) throws IOException, com.alibaba.fastjson.JSONException, InterruptedException Deprecated.- Parameters:
uc- theUserContextvl- the List ofVorgang.getId()sxfcSesssion- theXfcSessionqcm- theQueryCriteriaManageruser- theBenutzer- Returns:
RootFdXml- Throws:
IOException- on errors while i/o operationscom.alibaba.fastjson.JSONException- on errors while loading the formInterruptedException- on errors
-
createForProjektPostfach
@Deprecated public static RootFdXml createForProjektPostfach(List<ExtendedEntityModel<Vorgang>> processes, XfcSession sess) throws IOException, com.alibaba.fastjson.JSONException Deprecated.- Parameters:
processes-ListofExtendedEntityModels ofVorgangto exportsess-XfcSession- Returns:
RootFdXml- Throws:
IOException- on errors while i/o operationscom.alibaba.fastjson.JSONException- on errors while loading the form
-
createForSingleVorgang
@Deprecated public static RootFdXml createForSingleVorgang(Vorgang process, IFormDataAdapter formData, IXForm xform) throws IOException, com.alibaba.fastjson.JSONException - Parameters:
process- theVorgangto exportformData- theIFormDataAdapterwith the data to exportxform- theIXForm- Returns:
RootFdXml- Throws:
IOException- on errors while i/o operationscom.alibaba.fastjson.JSONException- on errors while loading the form
-
createForSingleVorgang
@Deprecated public static RootFdXml createForSingleVorgang(Map<String, List<String[]>> dataMap, Vorgang process, IXForm xform) throws IOException, com.alibaba.fastjson.JSONException- Parameters:
dataMap-Mapof input-dataprocess- theVorgangto exportxform- theIXForm- Returns:
RootFdXml- Throws:
IOException- on errors while i/o operationscom.alibaba.fastjson.JSONException- on errors while loading the form
-
fillFieldsList
@Deprecated public static void fillFieldsList(Map<String, List<String[]>> dataMap, IXForm xform, IXFormRenderConfig config, ArrayList<FieldFdXml> fields, FormVersion formVersion, boolean skipNotExistingValues) Deprecated.public access will be removed- Parameters:
dataMap- theMapof data to exportxform- theIXFormconfig- theIXFormRenderConfigfields- theListof fields to exportformVersion- theFormVersionto exportskipNotExistingValues-Booleanof not existing values should be skipped
-
createProcess
Deprecated.public access will be removed- Parameters:
process- the process to create theProcessFdXml- Returns:
- the created
ProcessFdXml
-
fillFormRoot
Deprecated.-RootFdXmlwill is filled on instantiation- Parameters:
formRoot- theRootFdXmlto fill
-
FdToXmlBuilder