Class TicketAdministrationController

java.lang.Object
org.exoplatform.cs.portlet.common.CSControllerBase
org.exoplatform.cs.portlet.ticketAdministration.TicketAdministrationController

public class TicketAdministrationController extends CSControllerBase
Created by exo on 8/3/16.
  • Constructor Details

    • TicketAdministrationController

      public TicketAdministrationController()
  • Method Details

    • index

      public juzu.Response.Content index()
    • getAllTickets

      public List<org.exoplatform.cs.dto.TicketDTO> getAllTickets(String filter, String selectedSpace, String selectedStatus)
    • getBundle

      public juzu.Response getBundle(String locale)
    • saveTicket

      public org.exoplatform.cs.dto.TicketDTO saveTicket(org.exoplatform.cs.dto.TicketDTO ticketDTO) throws Exception
      Throws:
      Exception
    • 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:
    • getSupportAgents

      public juzu.Response getSupportAgents()
      This service will return the names and avatars of all support team members
      Returns:
    • getSeverities

      public List<String> getSeverities(org.exoplatform.cs.dto.TicketDTO ticketDTO)
      this method will return the list of severities
      Returns:
      List of ticket severity
    • getTicketTypes

      public List<String> getTicketTypes()
      this method returns the static list of ticket types
      Returns:
    • getOwnersList

      public List<String> getOwnersList()
      this method returns the static list of Owners
      Returns:
    • getContext

      public juzu.Response getContext()
      this method returns the application Context
      Returns:
    • loadStatuses

      public Map<String,List<org.exoplatform.cs.service.tickets.FlowState>> loadStatuses()
      this method returns the static list of ticket types
      Returns:
    • getSpaces

      public List<org.exoplatform.cs.dto.SpaceDTO> getSpaces()
      this method returns the list of customer spaces
      Returns:
    • deleteTicket

      public String deleteTicket(org.exoplatform.cs.dto.TicketDTO ticket)
    • getCurrentSpaceId

      public String getCurrentSpaceId()
      Overrides:
      getCurrentSpaceId in class CSControllerBase
    • getLogger

      public org.exoplatform.services.log.Log getLogger()
      Specified by:
      getLogger in class CSControllerBase