Package org.exoplatform.cs.dao
Class LogDAO
-
-
Constructor Summary
Constructors Constructor Description LogDAO()
-
Method Summary
-
-
-
Method Detail
-
getLogsByTicketAndStatus
public List<LogEntity> getLogsByTicketAndStatus(String topicId, List<String> status)
-
getTimeToFirstResponseBetweenDates
public List<LogEntity> getTimeToFirstResponseBetweenDates(Calendar from, Calendar to, boolean internal)
-
getTimeToResolutionBetweenDates
public List<LogEntity> getTimeToResolutionBetweenDates(Calendar from, Calendar to, boolean internal)
-
getTimeToFirstResponseAvgBetweenDates
public Double getTimeToFirstResponseAvgBetweenDates(Calendar from, Calendar to, boolean internal)
-
getTimeToFirstResponseAvgBySpaceBetweenDates
public Double getTimeToFirstResponseAvgBySpaceBetweenDates(String spaceId, Calendar from, Calendar to)
-
getTimeToResolutionAvgBetweenDates
public Double getTimeToResolutionAvgBetweenDates(Calendar from, Calendar to, boolean internal)
-
getTimeToResolutionAvgBySpaceBetweenDates
public Double getTimeToResolutionAvgBySpaceBetweenDates(String spaceId, Calendar from, Calendar to)
-
countLogsByTypeAndNewValueBetweenDates
public Long countLogsByTypeAndNewValueBetweenDates(Calendar from, Calendar to, LogType type, String newValue, boolean internal)
-
countLogsByTypeAndNewValueAndSpaceBetweenDates
public Long countLogsByTypeAndNewValueAndSpaceBetweenDates(String spaceId, Calendar from, Calendar to, LogType type, String newValue)
-
countLogsByTypeAndNewValueBetweenDatesGroupedByTickets
public int countLogsByTypeAndNewValueBetweenDatesGroupedByTickets(Calendar from, Calendar to, LogType type, String newValue, boolean internal)
-
countLogsByTypeAndNewValueAndSpaceBetweenDatesGroupedByTickets
public int countLogsByTypeAndNewValueAndSpaceBetweenDatesGroupedByTickets(String spaceId, Calendar from, Calendar to, LogType type, String newValue)
-
countLogsNumberBetweenDates
public Long countLogsNumberBetweenDates(Calendar from, Calendar to, LogType type, boolean internal)
-
countLogsNumberBySpaceBetweenDates
public Long countLogsNumberBySpaceBetweenDates(String spaceId, Calendar from, Calendar to, LogType type)
-
getFirstLogByTypeAndSpace
public List<LogEntity> getFirstLogByTypeAndSpace(String spaceId, LogType type)
-
countLogsGroupdByNewValueAndDates
public List<Object[]> countLogsGroupdByNewValueAndDates(boolean internal, Calendar to)
-
-