R - Type d'objet pour la listepublic class ExportXlsHelper<R extends io.vertigo.dynamo.domain.model.DtObject> extends Object
| Constructor and Description |
|---|
ExportXlsHelper(String fileName,
String title)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDtList(io.vertigo.dynamo.domain.model.DtList<R> dtcToExport,
List<String> collectionColumnNameList,
Map<String,String> specificLabelMap)
Add a DTC to the export.
|
void |
addDtObject(io.vertigo.dynamo.domain.model.DtObject criterion,
List<String> criterionExcludedColumnNames)
Add a criterion to the export.
|
void |
prepareExport(io.vertigo.dynamo.domain.model.DtList<R> dtcToExport,
List<String> collectionColumnNames,
io.vertigo.dynamo.domain.model.DtObject criterion,
List<String> criterionExcludedColumnNames,
Map<String,String> specificLabelMap)
Prepare the export generation.
|
public final void prepareExport(io.vertigo.dynamo.domain.model.DtList<R> dtcToExport, List<String> collectionColumnNames, io.vertigo.dynamo.domain.model.DtObject criterion, List<String> criterionExcludedColumnNames, Map<String,String> specificLabelMap)
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 fieldpublic final void addDtList(io.vertigo.dynamo.domain.model.DtList<R> dtcToExport, List<String> collectionColumnNameList, Map<String,String> specificLabelMap)
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 fieldCopyright © 2016. All Rights Reserved.