Package com.epam.ta.reportportal.dao
Interface IntegrationRepositoryCustom
-
- All Superinterfaces:
FilterableRepository<Integration>
- All Known Subinterfaces:
IntegrationRepository
- All Known Implementing Classes:
IntegrationRepositoryCustomImpl
public interface IntegrationRepositoryCustom extends FilterableRepository<Integration>
-
-
Method Summary
All Methods Instance Methods Abstract 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.Optional<Integration>findGlobalById(java.lang.Long integrationId)Retrieve integration withIntegration.project== null by integration ID-
Methods inherited from interface com.epam.ta.reportportal.dao.FilterableRepository
findByFilter, findByFilter
-
-
-
-
Method Detail
-
findGlobalById
java.util.Optional<Integration> findGlobalById(java.lang.Long integrationId)
Retrieve integration withIntegration.project== null by integration ID- Parameters:
integrationId-Integration.id- Returns:
- The
Integrationwrapped in theOptional
-
findAllByProjectIdAndInIntegrationTypeIds
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 IDs- Parameters:
projectId-Project.idof theIntegrationintegrationTypeIds- TheListof theIntegrationType.id- Returns:
- The
Listof theIntegration
-
findAllGlobalInIntegrationTypeIds
java.util.List<Integration> findAllGlobalInIntegrationTypeIds(java.util.List<java.lang.Long> integrationTypeIds)
Retrieve integrations withIntegrationType.idIN provided integration type IDs- Parameters:
integrationTypeIds- TheListof theIntegrationType.id- Returns:
- The
Listof theIntegration
-
findAllGlobalNotInIntegrationTypeIds
java.util.List<Integration> findAllGlobalNotInIntegrationTypeIds(java.util.List<java.lang.Long> integrationTypeIds)
Retrieve integrations withIntegrationType.idNOT IN provided integration type IDs- Parameters:
integrationTypeIds- TheListof theIntegrationType.id- Returns:
- The
Listof theIntegration
-
-