public class TicketService extends BaseService
environmentDAO, spaceDAO, topicDAO, typeDAO| Constructor and Description |
|---|
TicketService(org.exoplatform.forum.service.ForumService forumService,
org.exoplatform.services.listener.ListenerService listenerService,
org.exoplatform.task.service.ProjectService projectService,
org.exoplatform.task.service.StatusService statusService,
org.exoplatform.task.service.TaskService taskService,
EnvironmentDAO environmentDAO,
SpaceDAO spaceDAO,
TopicDAO topicDAO,
LogDAO logDAO) |
| Modifier and Type | Method and Description |
|---|---|
void |
createTicket(TicketDTO ticketDTO,
org.exoplatform.services.organization.User user,
String spaceLink) |
void |
deleteTicket(TicketDTO ticket)
Delete a ticket and the related task or forum topic
|
TicketDTO |
findById(String ticketId) |
TicketDTO |
findByTicketId(String ticketId) |
List<TicketDTO> |
getAssignedTickets(String assignee,
String selectedSpace,
boolean allTickets,
String selectedStatus) |
String |
getManagersGroupId(String spaceGroupId) |
SpaceEntity |
getSpaceByGroupId(String groupID) |
List<TicketDTO> |
getTickets(String selectedSpace,
boolean allTickets,
String selectedStatus) |
Long |
getTicketsCount(SpaceEntity space,
IssueType type) |
List<TicketDTO> |
getTicketsOfSpace(String id) |
EnvironmentDTO |
getTopicEnvironment(String topicId) |
List<LogEntity> |
getUpdatedTickets(Calendar from,
Calendar to) |
TicketDTO |
updateTicket(TicketDTO ticketDTO,
org.exoplatform.services.organization.User user)
Update Ticket
|
void |
updateTicketLink(TicketDTO ticket,
String link)
Update the link on the entity
|
convert, convertpublic TicketService(org.exoplatform.forum.service.ForumService forumService,
org.exoplatform.services.listener.ListenerService listenerService,
org.exoplatform.task.service.ProjectService projectService,
org.exoplatform.task.service.StatusService statusService,
org.exoplatform.task.service.TaskService taskService,
EnvironmentDAO environmentDAO,
SpaceDAO spaceDAO,
TopicDAO topicDAO,
LogDAO logDAO)
public EnvironmentDTO getTopicEnvironment(String topicId)
public List<TicketDTO> getTickets(String selectedSpace, boolean allTickets, String selectedStatus)
public List<TicketDTO> getAssignedTickets(String assignee, String selectedSpace, boolean allTickets, String selectedStatus)
public String getManagersGroupId(String spaceGroupId) throws Exception
Exceptionpublic SpaceEntity getSpaceByGroupId(String groupID)
public TicketDTO updateTicket(TicketDTO ticketDTO, org.exoplatform.services.organization.User user) throws Exception
ticketDTO - the customer ticketuser - The user who updated the ticketException - if broadcasting the event failedpublic void updateTicketLink(TicketDTO ticket, String link)
ticket - the ticket to updatelink - the link of the ticketpublic void createTicket(TicketDTO ticketDTO, org.exoplatform.services.organization.User user, String spaceLink) throws Exception
Exceptionpublic void deleteTicket(TicketDTO ticket)
ticket - The ticket to deletepublic Long getTicketsCount(SpaceEntity space, IssueType type)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.