|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.silverStatisticsPeas.control.SilverStatisticsPeasDAOConnexion
public class SilverStatisticsPeasDAOConnexion
Class declaration Get connections data from database
Field Summary | |
---|---|
static int |
INDICE_COUNTCONNEXION
|
static int |
INDICE_DURATION
|
static int |
INDICE_ID
|
static int |
INDICE_LIB
|
Constructor Summary | |
---|---|
SilverStatisticsPeasDAOConnexion()
|
Method Summary | |
---|---|
static Collection[] |
getStatsConnexion(String startDate,
String endDate)
Returns the total number of connections per month. |
static Collection<String[]> |
getStatsConnexionAllAll(String startDate,
String endDate)
donne les stats global pour l'enemble de tous les users cad 2 infos, la collection contient donc un seul element |
static Collection<String[]> |
getStatsConnexionAllGroup(String dateBegin,
String dateEnd,
int groupId)
Returns the group stats : Group name, number of connexions, mean connexion time and group id for all the users of a group. |
static Collection<String[]> |
getStatsConnexionAllUser(String dateBegin,
String dateEnd,
int idUser)
donne les stats pour un user seulement cad 2 infos, la collection contient donc un seul element |
static Collection<String[]> |
getStatsConnexionGroupAll(String dateBegin,
String dateEnd)
Returns the groups stats : group name, number of connexions, mean connexion time and group id for all the groups. |
static Collection<String[]> |
getStatsConnexionUserAll(String dateBegin,
String dateEnd)
Returns the user stats : User last name, number of connexions, mean connexion time and user id for all Silverpeas users. |
static Collection<String[]> |
getStatsConnexionUserUser(String dateBegin,
String dateEnd,
int userId)
Returns the user stats : User last name, number of connexions, mean connexion time and user id. |
static Collection[] |
getStatsGroupConnexion(String startDate,
String endDate,
String groupId)
Returns the group stats : group name, number of connexions, mean connexion time and group id for all the specified group. |
static Collection[] |
getStatsUser(String startDate,
String endDate)
Returns the number of distinct users connections per month. |
static Collection[] |
getStatsUserConnexion(String startDate,
String endDate,
String idUser)
donne les stats pour un groupe |
static Collection[] |
getStatsUserFq(String startDate,
String endDate,
int min,
int max)
|
static Collection<String> |
getYears()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INDICE_LIB
public static final int INDICE_COUNTCONNEXION
public static final int INDICE_DURATION
public static final int INDICE_ID
Constructor Detail |
---|
public SilverStatisticsPeasDAOConnexion()
Method Detail |
---|
public static Collection<String[]> getStatsConnexionAllAll(String startDate, String endDate) throws SQLException, UtilException
startDate
- endDate
-
SQLException
UtilException
public static Collection[] getStatsUser(String startDate, String endDate) throws SQLException, ParseException, UtilException
startDate
- endDate
-
SQLException
ParseException
UtilException
public static Collection[] getStatsConnexion(String startDate, String endDate) throws SQLException, ParseException, UtilException
startDate
- endDate
-
SQLException
ParseException
UtilException
public static Collection<String[]> getStatsConnexionAllUser(String dateBegin, String dateEnd, int idUser) throws SQLException, UtilException
dateBegin
- dateEnd
- idUser
-
SQLException
UtilException
public static Collection[] getStatsUserConnexion(String startDate, String endDate, String idUser) throws SQLException, ParseException, UtilException
SQLException
ParseException
UtilException
public static Collection[] getStatsGroupConnexion(String startDate, String endDate, String groupId) throws SQLException, ParseException, UtilException
startDate
- endDate
- groupId
-
SQLException
UtilException
ParseException
public static Collection<String[]> getStatsConnexionGroupAll(String dateBegin, String dateEnd) throws SQLException, UtilException
dateBegin
- dateEnd
-
SQLException
UtilException
public static Collection<String[]> getStatsConnexionAllGroup(String dateBegin, String dateEnd, int groupId) throws SQLException, UtilException
dateBegin
- .dateEnd
- .groupId
- .
SQLException
UtilException
public static Collection<String[]> getStatsConnexionUserAll(String dateBegin, String dateEnd) throws SQLException, UtilException
dateBegin
- dateEnd
-
SQLException
UtilException
public static Collection<String[]> getStatsConnexionUserUser(String dateBegin, String dateEnd, int userId) throws SQLException, UtilException
dateBegin
- dateEnd
- userId
-
SQLException
UtilException
public static Collection<String> getYears() throws SQLException, UtilException
SQLException
UtilException
public static Collection[] getStatsUserFq(String startDate, String endDate, int min, int max) throws SQLException, ParseException, UtilException
startDate
- endDate
- min
- max
-
SQLException
ParseException
UtilException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |