Package de.xima.fc.transform.xml
Class FDToXmlTransformer
- java.lang.Object
-
- de.xima.fc.transform.xml.FDToXmlTransformer
-
@Deprecated public class FDToXmlTransformer extends Object
Deprecated.useFdToXmlBuilder
Class to transform form data into an XML file
-
-
Constructor Summary
Constructors Constructor Description FDToXmlTransformer()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RootFdXml
createForPostfach(UserContext uc, List<String> vl, XfcSession xfcSesssion, de.xima.cmn.criteria.QueryCriteriaManager qcm, Benutzer user)
static RootFdXml
createForProjektPostfach(List<ExtendedEntityModel<Vorgang>> processes, XfcSession sess)
Deprecated.static RootFdXml
createForSingleVorgang(Vorgang process, IFormDataAdapter formData, IXForm xform)
static RootFdXml
createForSingleVorgang(Map<String,List<String[]>> dataMap, Vorgang process, IXForm xform)
static ProcessFdXml
createProcess(Vorgang process)
Deprecated.public access will be removedstatic void
fillFieldsList(Map<String,List<String[]>> dataMap, IXForm xform, IXFormRenderConfig config, ArrayList<FieldFdXml> fields, FormVersion formVersion, boolean skipNotExistingValues)
Deprecated.public access will be removedstatic void
fillFormRoot(RootFdXml formRoot)
Deprecated.-RootFdXml
will is filled on instantiationstatic void
writeHTMLFile(File inputFile, File outputFile, String title)
Deprecated.static void
writeXMLFile(RootFdXml formRoot, File outputFile)
Deprecated.
-
-
-
Method Detail
-
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:
HTMLUtils.writeXMLFileToTidyHTMLFile(File, File, String)
-
writeXMLFile
@Deprecated public static void writeXMLFile(RootFdXml formRoot, File outputFile) throws Exception
Deprecated.Method to export anRootFdXml
to 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
- theUserContext
vl
- the List ofVorgang.getId()
sxfcSesssion
- theXfcSession
qcm
- theQueryCriteriaManager
user
- 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
-List
ofExtendedEntityModel
s ofVorgang
to 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
- theVorgang
to exportformData
- theIFormDataAdapter
with 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
-Map
of input-dataprocess
- theVorgang
to 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
- theMap
of data to exportxform
- theIXForm
config
- theIXFormRenderConfig
fields
- theList
of fields to exportformVersion
- theFormVersion
to exportskipNotExistingValues
-Boolean
of not existing values should be skipped
-
createProcess
@Deprecated public static ProcessFdXml createProcess(Vorgang process)
Deprecated.public access will be removed- Parameters:
process
- the process to create theProcessFdXml
- Returns:
- the created
ProcessFdXml
-
fillFormRoot
@Deprecated public static void fillFormRoot(RootFdXml formRoot)
Deprecated.-RootFdXml
will is filled on instantiation- Parameters:
formRoot
- theRootFdXml
to fill
-
-