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 Summary
Constructors Constructor Description TicketAdministrationController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdeleteTicket(org.exoplatform.cs.dto.TicketDTO ticket)List<org.exoplatform.cs.dto.TicketDTO>getAllTickets(String filter, String selectedSpace, String selectedStatus)juzu.ResponsegetBundle(String locale)juzu.ResponsegetContext()this method returns the application ContextStringgetCurrentSpaceId()org.exoplatform.services.log.LoggetLogger()List<String>getOwnersList()this method returns the static list of OwnersList<String>getSeverities(org.exoplatform.cs.dto.TicketDTO ticketDTO)this method will return the list of severitiesList<org.exoplatform.cs.dto.SpaceDTO>getSpaces()this method returns the list of customer spacesjuzu.ResponsegetSupportAgents()This service will return the names and avatars of all support team membersList<org.exoplatform.services.organization.User>getSupportUsernames(org.exoplatform.cs.dto.TicketDTO ticketDTO)This service will return the names of all support team membersList<String>getTicketTypes()this method returns the static list of ticket typesjuzu.Response.Contentindex()Map<String,List<org.exoplatform.cs.service.tickets.FlowState>>loadStatuses()this method returns the static list of ticket typesorg.exoplatform.cs.dto.TicketDTOsaveTicket(org.exoplatform.cs.dto.TicketDTO ticketDTO)-
Methods inherited from class org.exoplatform.cs.portlet.common.CSControllerBase
getBundle, getCurrentUser, getResourceBundle, getResourceBundle, isCSManager
-
-
-
-
Method Detail
-
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:
getCurrentSpaceIdin classCSControllerBase
-
getLogger
public org.exoplatform.services.log.Log getLogger()
- Specified by:
getLoggerin classCSControllerBase
-
-