Class TicketMenuController
- java.lang.Object
-
- org.exoplatform.cs.portlet.common.CSControllerBase
-
- org.exoplatform.cs.portlet.ticketMenu.TicketMenuController
-
public class TicketMenuController extends CSControllerBase
-
-
Constructor Summary
Constructors Constructor Description TicketMenuController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAllowedStates(String name)this method returns the static list of ticket typesjuzu.ResponsegetBundle(String locale)juzu.ResponsegetContext()this method returns the application Contextorg.exoplatform.cs.dto.EnvironmentDTOgetEnvironment(Long id)this method returns environment of the current ticketList<org.exoplatform.cs.service.tickets.FlowState>getFlowStats(String name)this method returns the static list of ticket typesjuzu.ResponsegetJiraDetails(String id)StringgetJSON(String url)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 spacesList<org.exoplatform.services.organization.User>getSupportUsernames()This service will return the names of all support team membersorg.exoplatform.cs.dto.TicketDTOgetTicket()this method returns the current ticketList<String>getTicketTypes()this method returns the static list of ticket typesjuzu.Response.Contentindex()org.exoplatform.cs.dto.TicketDTOsaveTicket(org.exoplatform.cs.dto.TicketDTO ticketDTO)voidupdateTicketSatisfaction(org.exoplatform.cs.dto.TicketDTO ticketDTO)-
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)
-
getFlowStats
public List<org.exoplatform.cs.service.tickets.FlowState> getFlowStats(String name)
this method returns the static list of ticket types- Returns:
-
getAllowedStates
public List<String> getAllowedStates(String name)
this method returns the static list of ticket types- Returns:
-
getTicket
public org.exoplatform.cs.dto.TicketDTO getTicket()
this method returns the current ticket- Returns:
-
getEnvironment
public org.exoplatform.cs.dto.EnvironmentDTO getEnvironment(Long id)
this method returns environment of the current ticket- Returns:
-
saveTicket
public org.exoplatform.cs.dto.TicketDTO saveTicket(org.exoplatform.cs.dto.TicketDTO ticketDTO) throws Exception- Throws:
Exception
-
updateTicketSatisfaction
public void updateTicketSatisfaction(org.exoplatform.cs.dto.TicketDTO ticketDTO) throws Exception- Throws:
Exception
-
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
-
getJiraDetails
public juzu.Response getJiraDetails(String id)
-
getSupportUsernames
public List<org.exoplatform.services.organization.User> getSupportUsernames()
This service will return the names 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:
-
-