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> 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> getCreatedTicketsBySpace(String space, Calendar fromDate, Calendar toDate)
public List<TopicEntity> getCreatedTickets(Calendar fromDate, Calendar toDate)
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[]> countSpaceTicketsGroupdByStatus(String selectedSpace)
public List<Object[]> countSpaceTicketsGroupdByOwner(String selectedSpace)
public List<Object[]> countSpaceTicketsGroupdByAssignee(String selectedSpace)
public Long countOpenCustomerTickets()
public Long countClosedCustomerTickets()
public Long countOpenCustomerTicketsByDates(Calendar from, Calendar to)
public Long countClosedCustomerTicketsByDates(Calendar from, Calendar to)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.