Package com.epam.ta.reportportal.dao
Interface TicketRepositoryCustom
-
- All Known Subinterfaces:
TicketRepository
- All Known Implementing Classes:
TicketRepositoryCustomImpl
public interface TicketRepositoryCustom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>findByTerm(java.lang.Long launchId, java.lang.String term)Find tickets that contains a term as a part inside for specified launchjava.lang.IntegerfindUniqueCountByProjectBefore(java.lang.Long projectId, java.time.LocalDateTime from)Returns number of unique tickets on specified project posted beforefromparameter
-
-
-
Method Detail
-
findByTerm
java.util.List<java.lang.String> findByTerm(java.lang.Long launchId, java.lang.String term)Find tickets that contains a term as a part inside for specified launch- Parameters:
launchId- Launch idterm- A part of ticket id- Returns:
- List of ticket ids
-
findUniqueCountByProjectBefore
java.lang.Integer findUniqueCountByProjectBefore(java.lang.Long projectId, java.time.LocalDateTime from)Returns number of unique tickets on specified project posted beforefromparameter- Parameters:
projectId-Project.idId of projectfrom- Date threshold- Returns:
- Number of unique tickets
-
-