public class TopicDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<TopicEntity,String>
| Constructor and Description |
|---|
TopicDAO() |
public List<TopicEntity> getTopicsBySpace(String spaceGroupId, String selectedStatus)
public List<TopicEntity> getTopicsByEnvironment(Long environmentId)
public List<TopicEntity> getTopicsByAssignee(String assignee, boolean allTickets, String selectedStatus)
assignee - The assignee IDallTickets - true if we need to get closed tickets, false otherwiseselectedStatus - public List<TopicEntity> getTopicsByAssignee(String assignee, String selectedSpace, boolean allTickets, String selectedStatus)
assignee - The assignee IDselectedSpace - the space to retrieve tickets fromallTickets - true if we need to get closed tickets, false otherwisepublic List<TopicEntity> getOpenTickets()
public List<TopicEntity> findUpdatedBetween(Calendar fromDate, Calendar toDate)
public List<TopicEntity> getUpdatedTicketsByStatus(String status, Calendar fromDate, Calendar toDate)
public List<TopicEntity> getUpdatedTicketsBySpaceAndStatus(String space, String status, Calendar fromDate, Calendar toDate)
public List<TopicEntity> getUpdatedTicketsBySpace(String space, Calendar fromDate, Calendar toDate)
public List<TopicEntity> getAllTickets()
public List<TopicEntity> getCreatedTicketsBySpace(String space, Calendar fromDate, Calendar toDate)
public List<TopicEntity> getCreatedTickets(Calendar fromDate, Calendar toDate)
public List<TopicEntity> getNotAssignedTicketsBySpace(String space)
public List<TopicEntity> getNotAssignedTickets()
public List<TopicEntity> findTicketsForReminder(Calendar toDate)
public List<TopicEntity> findTicketsForSLAReminder(Calendar instant)
public Long countTickets(SpaceEntity space, IssueType type)
@Deprecated public List<TopicEntity> getEmptyTitleOrCreationDate()
public List<TopicEntity> getWithEmptyTicketID()
public List<TopicEntity> getOpenTicketsBySpace(String selectedSpace, String selectedStatus)
public TopicEntity findByTicketId(String ticketId)
public List<TopicEntity> findByStatus(String selectedStatus)
public List<TopicEntity> getOpenTicketsByStatus(String selectedStatus)
public List<TopicEntity> getTopicsByCreator(String creator, boolean allTickets, String selectedStatus)
creator - The creator IDallTickets - true if we need to get closed tickets, false otherwiseselectedStatus - public List<TopicEntity> getTopicsByCreator(String creator, String selectedSpace, boolean allTickets, String selectedStatus)
creator - The creator IDselectedSpace - the space to retrieve tickets fromallTickets - true if we need to get closed tickets, false otherwisepublic List<Object[]> countCustomerTicketsGroupdBySpace(boolean internal)
public List<Object[]> countCustomerTicketsGroupdByOwner(boolean internal)
public List<Object[]> countCustomerTicketsGroupdByStatus(boolean internal)
public List<Object[]> countSpaceTicketsGroupdByStatus(String selectedSpace)
public List<Object[]> countSpaceTicketsGroupdByOwner(String selectedSpace)
public List<Object[]> countSpaceTicketsGroupdByAssignee(String selectedSpace)
public Long countOpenCustomerTickets(boolean internal)
public Long countClosedCustomerTickets(boolean internal)
public Long countOpenCustomerTicketsByDates(boolean internal, Calendar from, Calendar to)
public Long countClosedCustomerTicketsByDates(boolean internal, Calendar from, Calendar to)
public List<Object[]> countCustomerTicketsGroupdByStatusAndDates(boolean internal, Calendar from, Calendar to)
public List<Object[]> countCustomerTicketsGroupdByAssigneeAndDates(boolean internal, Calendar from, Calendar to)
public List<Object[]> countCustomerTicketsGroupdByAssignee(boolean internal)
public List<Object[]> countUnresolvedTicketsGroupdByAssignee()
public List<Object[]> countCustomerTicketsGroupdBySeverityAndDates(boolean internal, Calendar from, Calendar to)
public List<Object[]> countCustomerTicketsGroupdBySeverity(boolean internal)
public List<Object[]> countSpaceTicketsGroupdBySeverity(String selectedSpace)
public double getTimeToResolutionAvg(boolean internal)
public double getTimeToFirstResponseAvg(boolean internal)
public Long countSatisfiedTicketNumber(boolean internal)
public Long countNotSatisfiedTicketNumber(boolean internal)
public double getSpaceTimeToResolutionAvg(String selectedSpace)
public double getSpaceTimeToFirstResponseAvg(String selectedSpace)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.