Package com.epam.ta.reportportal.dao
Class TicketRepositoryCustomImpl
- java.lang.Object
-
- com.epam.ta.reportportal.dao.TicketRepositoryCustomImpl
-
- All Implemented Interfaces:
TicketRepositoryCustom
public class TicketRepositoryCustomImpl extends java.lang.Object implements TicketRepositoryCustom
-
-
Constructor Summary
Constructors Constructor Description TicketRepositoryCustomImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.util.List<java.lang.String> findByTerm(java.lang.Long launchId, java.lang.String term)Description copied from interface:TicketRepositoryCustomFind tickets that contains a term as a part inside for specified launch- Specified by:
findByTermin interfaceTicketRepositoryCustom- Parameters:
launchId- Launch idterm- A part of ticket id- Returns:
- List of ticket ids
-
findUniqueCountByProjectBefore
public java.lang.Integer findUniqueCountByProjectBefore(java.lang.Long projectId, java.time.LocalDateTime from)Description copied from interface:TicketRepositoryCustomReturns number of unique tickets on specified project posted beforefromparameter- Specified by:
findUniqueCountByProjectBeforein interfaceTicketRepositoryCustom- Parameters:
projectId-Project.idId of projectfrom- Date threshold- Returns:
- Number of unique tickets
-
-