Class TicketChartsController
- java.lang.Object
-
- org.exoplatform.cs.portlet.common.CSControllerBase
-
- org.exoplatform.cs.portlet.ticketCharts.TicketChartsController
-
public class TicketChartsController extends CSControllerBase
-
-
Constructor Summary
Constructors Constructor Description TicketChartsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description juzu.ResponsecountSpaceTicketsGroupdByAssignee(String spaceId)juzu.ResponsecountSpaceTicketsGroupdByOwner(String spaceId)juzu.ResponsecountSpaceTicketsGroupdByStatus(String spaceId)LongcountTicketsPFR(String spaceId, Boolean internal)juzu.ResponsegetBundle(String locale)juzu.ResponsegetData(String currentSpace, Boolean internal, Long startDate, Long endDate)StringgetDateByPeriod(Date date, String period)juzu.ResponsegetLogbyStatusChartData(String spaceId, String period, Long startDate, Long endDate, Boolean internal)org.exoplatform.services.log.LoggetLogger()juzu.ResponsegetMetrics(String curentSpace, Boolean internal)juzu.ResponsegetMetricsByDates(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetMonthlyLogbyStatusChartData(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetMonthlyOpenVSClosedStatLog(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetOpenVSClosedStatLog(String period, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetOpenVsClosedTickets(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetOpenVsClosedTicketsByDates(Long startDate, Long endDate, Boolean internal)juzu.ResponsegetSatisfactionByMonth(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetSatisfactionByWeek(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetSatisfactionChartData(String spaceId, String period, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetSpaceOpenVSClosedStatLog(String spaceId, String period, Long startDate, Long endDate, Boolean internal)List<org.exoplatform.cs.dto.SpaceDTO>getSpaces()this method returns the list of customer spacesList<org.exoplatform.services.organization.User>getSupportUsernames(org.exoplatform.cs.dto.TicketDTO ticketDTO)This service will return the names of all support team membersjuzu.ResponsegetTicketsGroupdByAssignee(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetTicketsGroupdByByAssignee(String spaceId)juzu.ResponsegetTicketsGroupdByOwner(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetTicketsGroupdBySeverity(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetTicketsGroupdBySpace(Long startDate, Long endDate, Boolean internal)juzu.ResponsegetTicketsGroupdByStatus(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetTicketsGroupdByStatusAndDates(Long startDate, Long endDate, Boolean internal)juzu.ResponsegetTimeMetrics(String spaceId, String period, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetTimeMetricsByMonth(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetTimeMetricsByWeek(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetWeeklyLogbyStatusChartData(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.ResponsegetWeeklyOpenVSClosedStatLog(String spaceId, Long startDate, Long endDate, Boolean internal)juzu.Response.Contentindex()Map<String,List<org.exoplatform.cs.service.tickets.FlowState>>loadStatuses()this method returns the static list of ticket typesbooleansameDay(Calendar cal1, Calendar cal2)-
Methods inherited from class org.exoplatform.cs.portlet.common.CSControllerBase
getBundle, getCurrentSpaceId, getCurrentUser, getResourceBundle, getResourceBundle, isCSManager
-
-
-
-
Method Detail
-
index
public juzu.Response.Content index()
-
getBundle
public juzu.Response getBundle(String locale)
-
loadStatuses
public Map<String,List<org.exoplatform.cs.service.tickets.FlowState>> loadStatuses()
this method returns the static list of ticket types- Returns:
-
countSpaceTicketsGroupdByOwner
public juzu.Response countSpaceTicketsGroupdByOwner(String spaceId)
-
countSpaceTicketsGroupdByAssignee
public juzu.Response countSpaceTicketsGroupdByAssignee(String spaceId)
-
countSpaceTicketsGroupdByStatus
public juzu.Response countSpaceTicketsGroupdByStatus(String spaceId)
-
getTicketsGroupdByByAssignee
public juzu.Response getTicketsGroupdByByAssignee(String spaceId)
-
getTicketsGroupdByAssignee
public juzu.Response getTicketsGroupdByAssignee(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getTicketsGroupdBySpace
public juzu.Response getTicketsGroupdBySpace(Long startDate, Long endDate, Boolean internal)
-
getTicketsGroupdBySeverity
public juzu.Response getTicketsGroupdBySeverity(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getTicketsGroupdByOwner
public juzu.Response getTicketsGroupdByOwner(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getTicketsGroupdByStatus
public juzu.Response getTicketsGroupdByStatus(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getTicketsGroupdByStatusAndDates
public juzu.Response getTicketsGroupdByStatusAndDates(Long startDate, Long endDate, Boolean internal)
-
getOpenVsClosedTickets
public juzu.Response getOpenVsClosedTickets(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getOpenVsClosedTicketsByDates
public juzu.Response getOpenVsClosedTicketsByDates(Long startDate, Long endDate, Boolean internal)
-
getOpenVSClosedStatLog
public juzu.Response getOpenVSClosedStatLog(String period, Long startDate, Long endDate, Boolean internal)
-
getSpaceOpenVSClosedStatLog
public juzu.Response getSpaceOpenVSClosedStatLog(String spaceId, String period, Long startDate, Long endDate, Boolean internal)
-
getWeeklyOpenVSClosedStatLog
public juzu.Response getWeeklyOpenVSClosedStatLog(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getMonthlyOpenVSClosedStatLog
public juzu.Response getMonthlyOpenVSClosedStatLog(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getLogbyStatusChartData
public juzu.Response getLogbyStatusChartData(String spaceId, String period, Long startDate, Long endDate, Boolean internal)
-
getWeeklyLogbyStatusChartData
public juzu.Response getWeeklyLogbyStatusChartData(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getMonthlyLogbyStatusChartData
public juzu.Response getMonthlyLogbyStatusChartData(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getData
public juzu.Response getData(String currentSpace, Boolean internal, Long startDate, Long endDate)
-
getMetricsByDates
public juzu.Response getMetricsByDates(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getSupportUsernames
public List<org.exoplatform.services.organization.User> getSupportUsernames(org.exoplatform.cs.dto.TicketDTO ticketDTO)
This service will return the names of all support team members- Parameters:
ticketDTO-- Returns:
-
getSpaces
public List<org.exoplatform.cs.dto.SpaceDTO> getSpaces()
this method returns the list of customer spaces- Returns:
-
getLogger
public org.exoplatform.services.log.Log getLogger()
- Specified by:
getLoggerin classCSControllerBase
-
getSatisfactionChartData
public juzu.Response getSatisfactionChartData(String spaceId, String period, Long startDate, Long endDate, Boolean internal)
-
getSatisfactionByWeek
public juzu.Response getSatisfactionByWeek(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getSatisfactionByMonth
public juzu.Response getSatisfactionByMonth(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getTimeMetrics
public juzu.Response getTimeMetrics(String spaceId, String period, Long startDate, Long endDate, Boolean internal)
-
getTimeMetricsByWeek
public juzu.Response getTimeMetricsByWeek(String spaceId, Long startDate, Long endDate, Boolean internal)
-
getTimeMetricsByMonth
public juzu.Response getTimeMetricsByMonth(String spaceId, Long startDate, Long endDate, Boolean internal)
-
-