Class ExportXlsHelper<R extends io.vertigo.datamodel.structure.model.DtObject>
- java.lang.Object
-
- io.vertigo.quarto.plugins.exporter.xls.ExportXlsHelper<R>
-
- Type Parameters:
R
- Type d'objet pour la liste
public final class ExportXlsHelper<R extends io.vertigo.datamodel.structure.model.DtObject> extends Object
Helper pour les editions xls.- Author:
- kleegroup
-
-
Constructor Summary
Constructors Constructor Description ExportXlsHelper(String fileName, String title)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDtList(io.vertigo.datamodel.structure.model.DtList<R> dtcToExport, List<String> collectionColumnNameList, Map<String,String> specificLabelMap)
Add a DTC to the export.void
addDtObject(io.vertigo.datamodel.structure.model.DtObject criterion, List<String> criterionExcludedColumnNames)
Add a criterion to the export.void
prepareExport(io.vertigo.datamodel.structure.model.DtList<R> dtcToExport, List<String> collectionColumnNames, io.vertigo.datamodel.structure.model.DtObject criterion, List<String> criterionExcludedColumnNames, Map<String,String> specificLabelMap)
Prepare the export generation.
-
-
-
Method Detail
-
prepareExport
public void prepareExport(io.vertigo.datamodel.structure.model.DtList<R> dtcToExport, List<String> collectionColumnNames, io.vertigo.datamodel.structure.model.DtObject criterion, List<String> criterionExcludedColumnNames, Map<String,String> specificLabelMap)
Prepare the export generation. If the screen allows 2 exports, then one must use 2 actions- Parameters:
dtcToExport
- the objects collection to be exportedcollectionColumnNames
- list of the columns taht must be exported in the collectioncriterion
- search criterion if existscriterionExcludedColumnNames
- list of the criteria that must be excluded for the exportspecificLabelMap
- map of the column names to be used instead of the default label associated with the field
-
addDtList
public void addDtList(io.vertigo.datamodel.structure.model.DtList<R> dtcToExport, List<String> collectionColumnNameList, Map<String,String> specificLabelMap)
Add a DTC to the export.- Parameters:
dtcToExport
- collection to be exportedcollectionColumnNameList
- names of the columns that must be exportedspecificLabelMap
- map of the column names to be used instead of the default label associated with the field
-
-