Package com.epam.ta.reportportal.dao
Class AttachmentRepositoryCustomImpl
- java.lang.Object
-
- com.epam.ta.reportportal.dao.AttachmentRepositoryCustomImpl
-
- All Implemented Interfaces:
AttachmentRepositoryCustom
@Repository public class AttachmentRepositoryCustomImpl extends java.lang.Object implements AttachmentRepositoryCustom
-
-
Constructor Summary
Constructors Constructor Description AttachmentRepositoryCustomImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdeleteAllByIds(java.util.Collection<java.lang.Long> ids)java.util.List<Attachment>findByItemIdsAndLogTimeBefore(java.util.Collection<java.lang.Long> itemIds, java.time.LocalDateTime before)java.util.List<Attachment>findByLaunchIdsAndLogTimeBefore(java.util.Collection<java.lang.Long> launchIds, java.time.LocalDateTime before)org.springframework.data.domain.Page<java.lang.Long>findIdsByLaunchId(java.lang.Long launchId, org.springframework.data.domain.Pageable pageable)org.springframework.data.domain.Page<java.lang.Long>findIdsByProjectId(java.lang.Long projectId, org.springframework.data.domain.Pageable pageable)org.springframework.data.domain.Page<java.lang.Long>findIdsByTestItemId(java.util.Collection<java.lang.Long> itemIds, org.springframework.data.domain.Pageable pageable)
-
-
-
Method Detail
-
findIdsByProjectId
public org.springframework.data.domain.Page<java.lang.Long> findIdsByProjectId(java.lang.Long projectId, org.springframework.data.domain.Pageable pageable)- Specified by:
findIdsByProjectIdin interfaceAttachmentRepositoryCustom
-
findIdsByLaunchId
public org.springframework.data.domain.Page<java.lang.Long> findIdsByLaunchId(java.lang.Long launchId, org.springframework.data.domain.Pageable pageable)- Specified by:
findIdsByLaunchIdin interfaceAttachmentRepositoryCustom
-
findIdsByTestItemId
public org.springframework.data.domain.Page<java.lang.Long> findIdsByTestItemId(java.util.Collection<java.lang.Long> itemIds, org.springframework.data.domain.Pageable pageable)- Specified by:
findIdsByTestItemIdin interfaceAttachmentRepositoryCustom
-
deleteAllByIds
public int deleteAllByIds(java.util.Collection<java.lang.Long> ids)
- Specified by:
deleteAllByIdsin interfaceAttachmentRepositoryCustom
-
findByItemIdsAndLogTimeBefore
public java.util.List<Attachment> findByItemIdsAndLogTimeBefore(java.util.Collection<java.lang.Long> itemIds, java.time.LocalDateTime before)
- Specified by:
findByItemIdsAndLogTimeBeforein interfaceAttachmentRepositoryCustom
-
findByLaunchIdsAndLogTimeBefore
public java.util.List<Attachment> findByLaunchIdsAndLogTimeBefore(java.util.Collection<java.lang.Long> launchIds, java.time.LocalDateTime before)
- Specified by:
findByLaunchIdsAndLogTimeBeforein interfaceAttachmentRepositoryCustom
-
-