public class TopicDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<TopicEntity,String>
| Constructor and Description |
|---|
TopicDAO() |
| Modifier and Type | Method and Description |
|---|---|
Long |
countTickets(SpaceEntity space,
IssueType type) |
List<TopicEntity> |
findByStatus(String selectedStatus) |
TopicEntity |
findByTicketId(String ticketId) |
List<TopicEntity> |
findUpdatedBetween(Calendar fromDate,
Calendar toDate) |
List<TopicEntity> |
getEmptyTitleOrCreationDate()
Deprecated.
|
List<TopicEntity> |
getOpenTickets() |
List<TopicEntity> |
getOpenTicketsBySpace(String selectedSpace,
String selectedStatus) |
List<TopicEntity> |
getOpenTicketsByStatus(String selectedStatus) |
List<TopicEntity> |
getTopicsByAssignee(String assignee,
boolean allTickets,
String selectedStatus)
Fetches all topics by assignee
|
List<TopicEntity> |
getTopicsByAssignee(String assignee,
String selectedSpace,
boolean allTickets,
String selectedStatus)
Fetches all topics by assignee
|
List<TopicEntity> |
getTopicsBySpace(String spaceGroupId,
String selectedStatus) |
List<TopicEntity> |
getWithEmptyTicketID() |
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 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)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.