public class FdToExcelBuilder extends AFdTransformBuilder implements IFdTransformBuilder
exportCreationDate, exportExportMetaData, exportModificationDate, exportProcessID, exportStatus, exportTechnicalFields, exportVariables
Constructor and Description |
---|
FdToExcelBuilder() |
Modifier and Type | Method and Description |
---|---|
FdToExcelResult |
buildForInbox(UserContext uc,
Benutzer user,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
Builds the excel export of
Vorgang ´s determined with an QueryCriteriaManager |
FdToExcelResult |
buildForProcessIDs(UserContext uc,
Benutzer user,
List<Long> processIDs)
Builds the excel export for an list of
Vorgang.getId() ´s |
FdToExcelResult |
buildForProjectInbox(Projekt projekt,
List<ExtendedEntityModel<Vorgang>> records)
Builds the excel export for an list of
ExtendedEntityModel ´s of Vorgang ´s |
FdToExcelBuilder |
withColumnLableType(EColumnLabelType columnLabelType) |
FdToExcelBuilder |
withCreationDate(boolean withCreationDate) |
FdToExcelBuilder |
withExportMetaData(boolean withExportMetaData) |
FdToExcelBuilder |
withModificationDate(boolean withModificationDate) |
FdToExcelBuilder |
withMultiline(boolean multiline) |
FdToExcelBuilder |
withProcessID(boolean withProcessID) |
FdToExcelBuilder |
withStatus(boolean withStatus) |
FdToExcelBuilder |
withTechnicalFields(boolean withTechnicalFields) |
FdToExcelBuilder |
withVariables(boolean withVariables) |
getElementsList, isExportCreationDate, isExportExportMetadData, isExportModificationDate, isExportProcessID, isExportStatus, isExportTechnicalFields, isExportVariables, setExportCreationDate, setExportExportMetaData, setExportModificationDate, setExportProcessID, setExportStatus, setExportTechnicalFields, setExportVariables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isExportCreationDate, isExportExportMetadData, isExportModificationDate, isExportProcessID, isExportStatus, isExportTechnicalFields, isExportVariables, setExportCreationDate, setExportExportMetaData, setExportModificationDate, setExportProcessID, setExportStatus, setExportTechnicalFields, setExportVariables
public FdToExcelBuilder withCreationDate(boolean withCreationDate)
withCreationDate
in interface IFdTransformBuilder
withCreationDate
- if the creation date of form records should be exportedpublic FdToExcelBuilder withModificationDate(boolean withModificationDate)
withModificationDate
in interface IFdTransformBuilder
withModificationDate
- if the modification date of form records should be exportedpublic FdToExcelBuilder withProcessID(boolean withProcessID)
withProcessID
in interface IFdTransformBuilder
withProcessID
- if the process ids of form records should be exportedpublic FdToExcelBuilder withStatus(boolean withStatus)
withStatus
in interface IFdTransformBuilder
withStatus
- if the status name of form records should be exportedpublic FdToExcelBuilder withTechnicalFields(boolean withTechnicalFields)
withTechnicalFields
in interface IFdTransformBuilder
withTechnicalFields
- if technical fields (e.g. xf-action) of form records should be exportedpublic FdToExcelBuilder withVariables(boolean withVariables)
withVariables
in interface IFdTransformBuilder
withVariables
- if variables of form records should be exportedpublic FdToExcelBuilder withExportMetaData(boolean withExportMetaData)
withExportMetaData
in interface IFdTransformBuilder
withExportMetaData
- if metadata (e.g. export data, FORMCYCLE-version,...) of the export should be exported
toopublic FdToExcelBuilder withMultiline(boolean multiline)
multiline
- boolean if the export of records with dynamic should be made with multiple linespublic FdToExcelBuilder withColumnLableType(EColumnLabelType columnLabelType)
columnLabelType
- the EColumnLabelType
to use while createing the exportpublic FdToExcelResult buildForInbox(UserContext uc, Benutzer user, de.xima.cmn.criteria.QueryCriteriaManager qcm) throws com.alibaba.fastjson.JSONException, IOException
Vorgang
´s determined with an QueryCriteriaManager
uc
- 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
´sFdToExcelResult
com.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 exportpublic FdToExcelResult buildForProcessIDs(UserContext uc, Benutzer user, List<Long> processIDs) throws com.alibaba.fastjson.JSONException, IOException
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()
'sFdToExcelResult
com.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 exportpublic FdToExcelResult buildForProjectInbox(Projekt projekt, List<ExtendedEntityModel<Vorgang>> records)
ExtendedEntityModel
´s of Vorgang
´sprojekt
- the Projekt
to use the the inbox-columns forrecords
- the List of ExtendedEntityModel
´s of Vorgang
´sFdToExcelResult
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.