com.stratelia.silverpeas.silverStatisticsPeas.control
Class SilverStatisticsPeasDAOAccesVolume
java.lang.Object
com.stratelia.silverpeas.silverStatisticsPeas.control.SilverStatisticsPeasDAOAccesVolume
public class SilverStatisticsPeasDAOAccesVolume
- extends Object
Class declaration Get cumul datas from database to access and Volume
- Author:
Method Summary |
static Collection<String> |
getAccessYears()
|
static Collection<ComponentInstLight> |
getLastAccessedComponentsUser(String currentUserId,
int nbObjects)
Returns the last accessed components of a user. |
static Map<String,String[]> |
getStatsPublicationsVentil(String dateStat,
String currentUserId,
String filterIdGroup,
String filterIdUser)
|
static List<String[]> |
getStatsUserEvolution(String entite,
String entiteId,
String filterIdGroup,
String filterIdUser)
|
static Map<String,String[]> |
getStatsUserVentil(String dateStat,
String currentUserId,
String filterIdGroup,
String filterIdUser)
Returns the access statistics. |
static Collection<String> |
getVolumeYears()
|
static List<String[]> |
selectAccessEvolutionForComponent(String componentId)
|
static List<String[]> |
selectAccessEvolutionForSpace(String spaceId)
|
static List<String[]> |
selectGroupAccessEvolutionForComponent(String componentId,
String groupId)
|
static List<String[]> |
selectGroupAccessEvolutionForSpace(String spaceId,
String groupId)
|
static List<String[]> |
selectUserAccessEvolutionForComponent(String componentId,
String userId)
|
static List<String[]> |
selectUserAccessEvolutionForSpace(String spaceId,
String userId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SilverStatisticsPeasDAOAccesVolume
public SilverStatisticsPeasDAOAccesVolume()
getVolumeYears
public static Collection<String> getVolumeYears()
throws SQLException,
UtilException
- Throws:
SQLException
UtilException
getAccessYears
public static Collection<String> getAccessYears()
throws SQLException,
UtilException
- Throws:
SQLException
UtilException
getStatsUserVentil
public static Map<String,String[]> getStatsUserVentil(String dateStat,
String currentUserId,
String filterIdGroup,
String filterIdUser)
throws SQLException
- Returns the access statistics.
- Parameters:
dateStat
- currentUserId
- filterIdGroup
- filterIdUser
-
- Returns:
- the access statistics.
- Throws:
SQLException
getStatsUserEvolution
public static List<String[]> getStatsUserEvolution(String entite,
String entiteId,
String filterIdGroup,
String filterIdUser)
throws SQLException,
ParseException
- Parameters:
entite
- entiteId
- filterIdGroup
- filterIdUser
-
- Returns:
-
- Throws:
SQLException
ParseException
selectAccessEvolutionForSpace
public static List<String[]> selectAccessEvolutionForSpace(String spaceId)
throws SQLException,
ParseException
- Throws:
SQLException
ParseException
selectUserAccessEvolutionForSpace
public static List<String[]> selectUserAccessEvolutionForSpace(String spaceId,
String userId)
throws SQLException,
ParseException
- Throws:
SQLException
ParseException
selectGroupAccessEvolutionForSpace
public static List<String[]> selectGroupAccessEvolutionForSpace(String spaceId,
String groupId)
throws SQLException,
ParseException
- Throws:
SQLException
ParseException
selectAccessEvolutionForComponent
public static List<String[]> selectAccessEvolutionForComponent(String componentId)
throws SQLException,
ParseException
- Throws:
SQLException
ParseException
selectUserAccessEvolutionForComponent
public static List<String[]> selectUserAccessEvolutionForComponent(String componentId,
String userId)
throws SQLException,
ParseException
- Throws:
SQLException
ParseException
selectGroupAccessEvolutionForComponent
public static List<String[]> selectGroupAccessEvolutionForComponent(String componentId,
String groupId)
throws SQLException,
ParseException
- Throws:
SQLException
ParseException
getStatsPublicationsVentil
public static Map<String,String[]> getStatsPublicationsVentil(String dateStat,
String currentUserId,
String filterIdGroup,
String filterIdUser)
throws SQLException
- Parameters:
dateStat
- currentUserId
- filterIdGroup
- filterIdUser
-
- Returns:
-
- Throws:
SQLException
getLastAccessedComponentsUser
public static Collection<ComponentInstLight> getLastAccessedComponentsUser(String currentUserId,
int nbObjects)
throws SQLException
- Returns the last accessed components of a user.
- Parameters:
currentUserId
- nbObjects
- to return
- Returns:
- the list of the last accessed components of a user.
- Throws:
SQLException
Copyright © 2016 Silverpeas. All Rights Reserved.