Framework Serveur J2EE ACube V2.7.4
CLASSE PRECEDANTE CLASSE SUIVANTE
SOMMAIRE: ATTR CONSTR METH DETAIL: ATTR CONSTR METH

acube.framework.export
Classe Export
java.lang.Object
  acube.framework.export.Export

final public class Export
hérite de Object

This class is use to export table into Excel or CSV format

Version:
2.6.1

Sommaire des Attributs
private static final String
COLUMN_FORMAT_PREFIX
COLUMN_FORMAT_PREFIX the prefix of column format of the request parameter
private static final String
EURO
EURO the EURO caracter
private static final int
NUMBER_OF_GROUP
NUMBER_OF_GROUP the number of group in a table composant
Sommaire des Constructeurs
private
Export()
Private constructor
Sommaire des Méthodes
static List
generateRows(HttpServletRequest request)
Method use to generate all rows present in the request.
private static List
getCalcul(HttpServletRequest request, int line, int nbColumns)
this method is use generate the calcul row of a table.
private static List
getGroup(HttpServletRequest request, int line, int nbColumns)
Method use to export a group line.
private static List
getTotal(HttpServletRequest request, int nbColumns)
Method use to export a total line
Méthodes héritées de la classe java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Détail des Attributs
NUMBER_OF_GROUP
private static final int NUMBER_OF_GROUP
NUMBER_OF_GROUP the number of group in a table composant

EURO
private static final String EURO
EURO the EURO caracter

COLUMN_FORMAT_PREFIX
private static final String COLUMN_FORMAT_PREFIX
COLUMN_FORMAT_PREFIX the prefix of column format of the request parameter
Détail des Constructeurs
Export
private Export()
Private constructor
Détail des méthodes
generateRows
public static List generateRows(HttpServletRequest request)
Method use to generate all rows present in the request.
Paramètres:
request - request that contains rows
Retours:
list of VO

getCalcul
private static List getCalcul(HttpServletRequest request,
                              int line,
                              int nbColumns)
this method is use generate the calcul row of a table.
Paramètres:
request - request that contains calcul
line - the line where the calcul is to put
nbColumns - the number of columns of the table
Retours:
list of row of calcul

getGroup
private static List getGroup(HttpServletRequest request,
                             int line,
                             int nbColumns)
Method use to export a group line.
Paramètres:
request - the request that contains the table
line - the line where the group is to put
nbColumns - the number of columns in the table
Retours:
the list of rows for the group

getTotal
private static List getTotal(HttpServletRequest request,
                             int nbColumns)
Method use to export a total line
Paramètres:
request - the request that contains the table
nbColumns - the number of column in the table
Retours:
the list of row of the total line

Framework Serveur J2EE ACube V2.7.4
CLASSE PRECEDANTE CLASSE SUIVANTE
SOMMAIRE: ATTR CONSTR METH DETAIL: ATTR CONSTR METH

Version 2.7.4 du 10/07/2009 / Etat : Validé
Cette création est mise à disposition selon le Contrat Paternité - Pas d'Utilisation Commerciale - Partage des Conditions Initiales à l'Identique disponible en ligne http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ ou par courrier postal à Creative Commons, 559 Nathan Abbott Way, Stanford,California 94305, USA.
Documentation generated by DocFlex