Class SilverStatisticsPeasDAOAccesVolume
- java.lang.Object
-
- org.silverpeas.web.silverstatistics.control.SilverStatisticsPeasDAOAccesVolume
-
public class SilverStatisticsPeasDAOAccesVolume extends Object
Class declaration Get cumul datas from database to access and Volume
-
-
Method Summary
-
-
-
Method Detail
-
getVolumeYears
public static Collection<String> getVolumeYears() throws SQLException
- Throws:
SQLException
-
getAccessYears
public static Collection<String> getAccessYears() throws SQLException
- Throws:
SQLException
-
getStatsUserVentil
public static Map<String,String[]> getStatsUserVentil(String dateStat, String filterIdGroup, String filterIdUser) throws SQLException
- Throws:
SQLException
-
getStatsUserEvolution
public static List<String[]> getStatsUserEvolution(String entite, String entiteId, String filterIdGroup, String filterIdUser) throws SQLException, ParseException
- 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 filterIdGroup, String filterIdUser) throws SQLException
- Throws:
SQLException
-
filterById
public static void filterById(Map<String,String[]> resultat, int valueIdx, Map<String,String> volume)
-
getLastAccessedComponentsUser
public static Collection<ComponentInstLight> getLastAccessedComponentsUser(String currentUserId, int nbObjects) throws SQLException
Returns the last accessed components of a user.- Parameters:
currentUserId
- the identifier of the current usernbObjects
- to return- Returns:
- the list of the last accessed components of a user.
- Throws:
SQLException
- if an error occurs
-
-