Package com.epam.ta.reportportal.dao
Class IntegrationRepositoryCustomImpl
- java.lang.Object
-
- com.epam.ta.reportportal.dao.IntegrationRepositoryCustomImpl
-
- All Implemented Interfaces:
FilterableRepository<Integration>,IntegrationRepositoryCustom
@Repository public class IntegrationRepositoryCustomImpl extends java.lang.Object implements IntegrationRepositoryCustom
-
-
Constructor Summary
Constructors Constructor Description IntegrationRepositoryCustomImpl(org.jooq.DSLContext dsl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Integration>findAllByProjectIdAndInIntegrationTypeIds(java.lang.Long projectId, java.util.List<java.lang.Long> integrationTypeIds)Retrieve integrations by project ID andIntegrationType.idIN provided integration type IDsjava.util.List<Integration>findAllGlobalInIntegrationTypeIds(java.util.List<java.lang.Long> integrationTypeIds)Retrieve integrations withIntegrationType.idIN provided integration type IDsjava.util.List<Integration>findAllGlobalNotInIntegrationTypeIds(java.util.List<java.lang.Long> integrationTypeIds)Retrieve integrations withIntegrationType.idNOT IN provided integration type IDsjava.util.List<Integration>findByFilter(Queryable filter)Executes query built for given filterorg.springframework.data.domain.Page<Integration>findByFilter(Queryable filter, org.springframework.data.domain.Pageable pageable)Executes query built for given filter and maps result for given pagejava.util.Optional<Integration>findGlobalById(java.lang.Long integrationId)Retrieve integration withIntegration.project== null by integration ID
-
-
-
Method Detail
-
findByFilter
public java.util.List<Integration> findByFilter(Queryable filter)
Description copied from interface:FilterableRepositoryExecutes query built for given filter- Specified by:
findByFilterin interfaceFilterableRepository<Integration>- Parameters:
filter- Filter to build a query- Returns:
- List of mapped entries found
-
findByFilter
public org.springframework.data.domain.Page<Integration> findByFilter(Queryable filter, org.springframework.data.domain.Pageable pageable)
Description copied from interface:FilterableRepositoryExecutes query built for given filter and maps result for given page- Specified by:
findByFilterin interfaceFilterableRepository<Integration>- Parameters:
filter- Filter to build a querypageable-Pageable- Returns:
- List of mapped entries found
-
findGlobalById
public java.util.Optional<Integration> findGlobalById(java.lang.Long integrationId)
Description copied from interface:IntegrationRepositoryCustomRetrieve integration withIntegration.project== null by integration ID- Specified by:
findGlobalByIdin interfaceIntegrationRepositoryCustom- Parameters:
integrationId-Integration.id- Returns:
- The
Integrationwrapped in theOptional
-
findAllByProjectIdAndInIntegrationTypeIds
public java.util.List<Integration> findAllByProjectIdAndInIntegrationTypeIds(java.lang.Long projectId, java.util.List<java.lang.Long> integrationTypeIds)
Description copied from interface:IntegrationRepositoryCustomRetrieve integrations by project ID andIntegrationType.idIN provided integration type IDs- Specified by:
findAllByProjectIdAndInIntegrationTypeIdsin interfaceIntegrationRepositoryCustom- Parameters:
projectId-Project.idof theIntegrationintegrationTypeIds- TheListof theIntegrationType.id- Returns:
- The
Listof theIntegration
-
findAllGlobalInIntegrationTypeIds
public java.util.List<Integration> findAllGlobalInIntegrationTypeIds(java.util.List<java.lang.Long> integrationTypeIds)
Description copied from interface:IntegrationRepositoryCustomRetrieve integrations withIntegrationType.idIN provided integration type IDs- Specified by:
findAllGlobalInIntegrationTypeIdsin interfaceIntegrationRepositoryCustom- Parameters:
integrationTypeIds- TheListof theIntegrationType.id- Returns:
- The
Listof theIntegration
-
findAllGlobalNotInIntegrationTypeIds
public java.util.List<Integration> findAllGlobalNotInIntegrationTypeIds(java.util.List<java.lang.Long> integrationTypeIds)
Description copied from interface:IntegrationRepositoryCustomRetrieve integrations withIntegrationType.idNOT IN provided integration type IDs- Specified by:
findAllGlobalNotInIntegrationTypeIdsin interfaceIntegrationRepositoryCustom- Parameters:
integrationTypeIds- TheListof theIntegrationType.id- Returns:
- The
Listof theIntegration
-
-