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,
org.exoplatform.social.core.manager.IdentityManager identityManager) |
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,
org.exoplatform.social.core.manager.IdentityManager identityManager)
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 List<TicketDTO> getMyTickets(String creator, 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 updateTicketCreator(TicketDTO ticketDTO, String creator) throws Exception
ticketDTO - the ticket to updatecreator - the creator of the ticketExceptionpublic void updateTicketOwner(TicketDTO ticketDTO, Owner owner) throws Exception
ticketDTO - the ticket to updateowner - the creator of the ticketExceptionpublic 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 List<TicketDTO> getUpdatedTickets(String status, String space, Calendar fromDate, Calendar toDate)
public List<TicketDTO> getCreatedTickets(String space, Calendar fromDate, Calendar toDate)
public List<TopicEntity> findTicketsForReminder(Calendar toDate)
public Long getTicketsCount(SpaceEntity space, IssueType type)
public List<Object[]> countSpaceTicketsGroupdByAssignee(String space)
public Long getCustomerOpenTicketsCount()
public Long getCustomerClosedTicketsCount()
public Long getCustomerOpenTicketsCountByDates(Calendar from, Calendar to)
public Long getCustomerClosedTicketsCountByDates(Calendar from, Calendar to)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.