Class TicketChartsController

java.lang.Object
org.exoplatform.cs.portlet.common.CSControllerBase
org.exoplatform.cs.portlet.ticketCharts.TicketChartsController

public class TicketChartsController extends CSControllerBase
  • Constructor Details

    • TicketChartsController

      public TicketChartsController()
  • Method Details

    • 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)
    • getMetrics

      public juzu.Response getMetrics(String curentSpace, Boolean internal)
    • 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:
      getLogger in class CSControllerBase
    • 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)
    • getDateByPeriod

      public String getDateByPeriod(Date date, String period)
    • sameDay

      public boolean sameDay(Calendar cal1, Calendar cal2)
    • countTicketsPFR

      public Long countTicketsPFR(String spaceId, Boolean internal)