public class FdToXmlBuilder extends AFdTransformBuilder implements IFdTransformBuilder
exportCreationDate, exportExportMetaData, exportID, exportInbox, exportModificationDate, exportProcessID, exportStatus, exportSubject, exportTechnicalFields, exportVariables, inboxProject, isForProjectInbox| Constructor and Description |
|---|
FdToXmlBuilder() |
getElementsList, isExportCreationDate, isExportExportMetaData, isExportID, isExportInbox, isExportModificationDate, isExportProcessID, isExportStatus, isExportSubject, isExportTechnicalFields, isExportVariables, setExportCreationDate, setExportExportMetaData, setExportID, setExportInbox, setExportModificationDate, setExportProcessID, setExportStatus, setExportSubject, setExportTechnicalFields, setExportVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisExportCreationDate, isExportExportMetaData, isExportExportMetadData, isExportID, isExportInbox, isExportModificationDate, isExportProcessID, isExportStatus, isExportSubject, isExportTechnicalFields, isExportVariables, setExportCreationDate, setExportExportMetaData, setExportID, setExportInbox, setExportModificationDate, setExportProcessID, setExportStatus, setExportSubject, setExportTechnicalFields, setExportVariablespublic FdToXmlBuilder withCreationDate(boolean withCreationDate)
withCreationDate in interface IFdTransformBuilderwithCreationDate - if the creation date of form records should be exportedpublic FdToXmlBuilder withModificationDate(boolean withModificationDate)
withModificationDate in interface IFdTransformBuilderwithModificationDate - if the modification date of form records should be exportedpublic FdToXmlBuilder withProcessID(boolean withProcessID)
withProcessID in interface IFdTransformBuilderwithProcessID - if the process ids of form records should be exportedpublic FdToXmlBuilder withStatus(boolean withStatus)
withStatus in interface IFdTransformBuilderwithStatus - if the status name of form records should be exportedpublic FdToXmlBuilder withTechnicalFields(boolean withTechnicalFields)
withTechnicalFields in interface IFdTransformBuilderwithTechnicalFields - if technical fields (e.g. xf-action) of form records should be exportedpublic FdToXmlBuilder withVariables(boolean withVariables)
withVariables in interface IFdTransformBuilderwithVariables - if variables of form records should be exportedpublic FdToXmlBuilder withExportMetaData(boolean withExportMetaData)
withExportMetaData in interface IFdTransformBuilderwithExportMetaData - if metadata (e.g. export data, FORMCYCLE-version,...) of the export should be exported
toopublic FdToXmlBuilder forProjectInbox(Projekt project)
forProjectInbox in interface IFdTransformBuilderpublic FdToXmlResult buildForProcess(UserContext uc, Vorgang formRecord, IFormDataAdapter fda, IXForm xform)
uc - the UserContext to user for the exportformRecord - the Vorgang to exportfda - the IFormDataAdapter to use as the data for the exportxform - the IXForm to use for the exportFdToXmlResultpublic FdToXmlResult buildForProcessIDs(UserContext uc, Benutzer user, List<Long> processIDs) throws com.alibaba.fastjson.JSONException, IOException, InterruptedException
List of Vorgang.getId()´suc - the UserContext to user for the exportuser - the Benutzer to filter the records for. If the user haven´t access to the current inbox of an
process, it shouldn´t be exportedprocessIDs - an List of Vorgang.getId()'sFdToXmlResultcom.alibaba.fastjson.JSONException - on errors while creating the forms to determine the metadata for the exportIOException - on errors while creating the forms to determine the metadata for the exportInterruptedException - when the thread for writing data is interrupted@Deprecated public FdToXmlResult buildForInbox(UserContext uc, Benutzer user, de.xima.cmn.criteria.QueryCriteriaManager qcm) throws com.alibaba.fastjson.JSONException, IOException
Vorgang´s determined with an QueryCriteriaManageruc - the UserContext to user for the exportuser - the Benutzer to filter the records for. If the user haven´t access to the current inbox of an
process, it shouldn´t be exportedqcm - the QueryCriteriaManager to read the Vorgang´sFdToXmlResultcom.alibaba.fastjson.JSONException - on errors while creating the forms to determine the metadata for the exportIOException - on errors while creating the forms to determine the metadata for the export@Deprecated public FdToXmlResult buildForProjectInbox(UserContext uc, List<ExtendedEntityModel<Vorgang>> records) throws com.alibaba.fastjson.JSONException, IOException
uc - the UserContext to user for the exportrecords - the List of ExtendedEntityModel´s of Vorgang´sFdToXmlResultcom.alibaba.fastjson.JSONException - on errors while creating the forms to determine the metadata for the exportIOException - on errors while creating the forms to determine the metadata for the exportCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.