Class TicketAdministrationController
java.lang.Object
org.exoplatform.cs.portlet.common.CSControllerBase
org.exoplatform.cs.portlet.ticketAdministration.TicketAdministrationController
Created by exo on 8/3/16.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteTicket(org.exoplatform.cs.dto.TicketDTO ticket) List<org.exoplatform.cs.dto.TicketDTO>getAllTickets(String filter, String selectedSpace, String selectedStatus) juzu.Responsejuzu.Responsethis method returns the application Contextorg.exoplatform.services.log.Logthis method returns the static list of OwnersgetSeverities(org.exoplatform.cs.dto.TicketDTO ticketDTO) this method will return the list of severitiesList<org.exoplatform.cs.dto.SpaceDTO>this method returns the list of customer spacesjuzu.ResponseThis 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 membersthis method returns the static list of ticket typesjuzu.Response.Contentindex()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
-
Constructor Details
-
TicketAdministrationController
public TicketAdministrationController()
-
-
Method Details
-
index
public juzu.Response.Content index() -
getAllTickets
-
getBundle
-
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
this method will return the list of severities- Returns:
- List of ticket severity
-
getTicketTypes
this method returns the static list of ticket types- Returns:
-
getOwnersList
this method returns the static list of Owners- Returns:
-
getContext
public juzu.Response getContext()this method returns the application Context- Returns:
-
loadStatuses
this method returns the static list of ticket types- Returns:
-
getSpaces
this method returns the list of customer spaces- Returns:
-
deleteTicket
-
getCurrentSpaceId
- Overrides:
getCurrentSpaceIdin classCSControllerBase
-
getLogger
public org.exoplatform.services.log.Log getLogger()- Specified by:
getLoggerin classCSControllerBase
-