Package de.xima.fc.transform.excel
Class FdToExcelBuilder
java.lang.Object
de.xima.fc.transform.AFdTransformBuilder
de.xima.fc.transform.excel.FdToExcelBuilder
- All Implemented Interfaces:
IFdTransformBuilder
Builder to transform form-data to excel
-
Field Summary
Fields inherited from class de.xima.fc.transform.AFdTransformBuilder
exportCreationDate, exportExportMetaData, exportID, exportInbox, exportModificationDate, exportProcessID, exportStatus, exportSubject, exportTechnicalFields, exportVariables, inboxProject, isForProjectInbox -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildForInbox(UserContext uc, Benutzer user, de.xima.cmn.criteria.QueryCriteriaManager qcm) Deprecated.buildForProcessIDs(UserContext uc, Benutzer user, List<Long> processIDs) Deprecated.UsebuildForProcessIDs(UserContext, IUser, List)instead.buildForProcessIDs(UserContext uc, IUser user, List<Long> processIDs) Builds the excel export for an list ofVorgang.getId()´sbuildForProjectInbox(Projekt projekt, List<ExtendedEntityModel<Vorgang>> records) Deprecated.forProjectInbox(Projekt project) withColumnLableType(EColumnLabelType columnLabelType) withCreationDate(boolean withCreationDate) withExportMetaData(boolean withExportMetaData) withModificationDate(boolean withModificationDate) withMultiline(boolean multiline) withProcessID(boolean withProcessID) withStatus(boolean withStatus) withTechnicalFields(boolean withTechnicalFields) withVariables(boolean withVariables) Methods inherited from class de.xima.fc.transform.AFdTransformBuilder
getElementsList, isExportCreationDate, isExportExportMetaData, isExportID, isExportInbox, isExportModificationDate, isExportProcessID, isExportStatus, isExportSubject, isExportTechnicalFields, isExportVariables, setExportCreationDate, setExportExportMetaData, setExportID, setExportInbox, setExportModificationDate, setExportProcessID, setExportStatus, setExportSubject, setExportTechnicalFields, setExportVariablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.interfaces.transform.IFdTransformBuilder
isExportCreationDate, isExportExportMetaData, isExportExportMetadData, isExportID, isExportInbox, isExportModificationDate, isExportProcessID, isExportStatus, isExportSubject, isExportTechnicalFields, isExportVariables, setExportCreationDate, setExportExportMetaData, setExportID, setExportInbox, setExportModificationDate, setExportProcessID, setExportStatus, setExportSubject, setExportTechnicalFields, setExportVariables
-
Constructor Details
-
FdToExcelBuilder
Deprecated. -
FdToExcelBuilder
- Parameters:
locale- Locale to use for locale-sensitive operations, such as the name of the workflow state.- Since:
- 7.0.7
-
-
Method Details
-
withCreationDate
- Specified by:
withCreationDatein interfaceIFdTransformBuilder- Parameters:
withCreationDate- if the creation date of form records should be exported- Returns:
- this builder instance
-
withModificationDate
- Specified by:
withModificationDatein interfaceIFdTransformBuilder- Parameters:
withModificationDate- if the modification date of form records should be exported- Returns:
- this builder instance
-
withProcessID
- Specified by:
withProcessIDin interfaceIFdTransformBuilder- Parameters:
withProcessID- if the process ids of form records should be exported- Returns:
- this builder instance
-
withStatus
- Specified by:
withStatusin interfaceIFdTransformBuilder- Parameters:
withStatus- if the status name of form records should be exported- Returns:
- this builder instance
-
withTechnicalFields
- Specified by:
withTechnicalFieldsin interfaceIFdTransformBuilder- Parameters:
withTechnicalFields- if technical fields (e.g. xf-action) of form records should be exported- Returns:
- this builder instance
-
withVariables
- Specified by:
withVariablesin interfaceIFdTransformBuilder- Parameters:
withVariables- if variables of form records should be exported- Returns:
- this builder instance
-
withExportMetaData
- Specified by:
withExportMetaDatain interfaceIFdTransformBuilder- Parameters:
withExportMetaData- if metadata (e.g. export data, formcycle-version,...) of the export should be exported too- Returns:
- this builder instance
-
forProjectInbox
- Specified by:
forProjectInboxin interfaceIFdTransformBuilder
-
withMultiline
- Parameters:
multiline- boolean if the export of records with dynamic should be made with multiple lines- Returns:
- this builder instance
-
withColumnLableType
- Parameters:
columnLabelType- theEColumnLabelTypeto use while createing the export- Returns:
- this builder instance
-
buildForProcessIDs
public FdToExcelResult buildForProcessIDs(UserContext uc, IUser user, List<Long> processIDs) throws com.alibaba.fastjson.JSONException, IOException, InterruptedException Builds the excel export for an list ofVorgang.getId()´s- Parameters:
uc- theUserContextto user for the exportuser- theIUserto filter the records for. If the user haven´t access to the current inbox of an process, it shouldn't be exportedprocessIDs- anListofVorgang.getId()'s- Returns:
- the
FdToExcelResult - Throws:
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 exportInterruptedException- when the export-thread is interrupted
-
buildForInbox
@Deprecated public FdToExcelResult buildForInbox(UserContext uc, Benutzer user, de.xima.cmn.criteria.QueryCriteriaManager qcm) throws com.alibaba.fastjson.JSONException, IOException Deprecated.Builds the excel export ofVorgang´s determined with anQueryCriteriaManager- Parameters:
uc- theUserContextto user for the exportuser- theBenutzerto filter the records for. If the user haven´t access to the current inbox of an process, it shouldn´t be exportedqcm- theQueryCriteriaManagerto read theVorgang´s- Returns:
- the
FdToExcelResult - Throws:
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 export
-
buildForProjectInbox
@Deprecated public FdToExcelResult buildForProjectInbox(Projekt projekt, List<ExtendedEntityModel<Vorgang>> records) Deprecated.Builds the excel export for an list ofExtendedEntityModel´s ofVorgang´s- Parameters:
projekt- theProjektto use the the inbox-columns forrecords- the List ofExtendedEntityModel´s ofVorgang´s- Returns:
- the
FdToExcelResult
-
buildForProcessIDs
@Deprecated public FdToExcelResult buildForProcessIDs(UserContext uc, Benutzer user, List<Long> processIDs) throws com.alibaba.fastjson.JSONException, IOException, InterruptedException Deprecated.UsebuildForProcessIDs(UserContext, IUser, List)instead.Builds the excel export for an list ofVorgang.getId()´s- Parameters:
uc- theUserContextto user for the exportuser- theBenutzerto filter the records for. If the user haven´t access to the current inbox of an process, it shouldn't be exportedprocessIDs- anListofVorgang.getId()'s- Returns:
- the
FdToExcelResult - Throws:
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 exportInterruptedException- when the export-thread is interrupted
-
FdToExcelBuilder(Locale).