package com.epam.ta.reportportal.dao;

import com.epam.ta.reportportal.entity.integration.IntegrationType;

/**
 * Repository for {@link com.epam.ta.reportportal.entity.integration.IntegrationType} entity
 *
 * @author Yauheni_Martynau
 */
public interface IntegrationTypeRepository extends ReportPortalRepository<IntegrationType, Long> {
}

@@ -101,16 +101,44 @@
 nType;%0A%0A
+import java.util.Optional;%0A%0A
 /**%0A * R
@@ -359,11 +359,439 @@
  Long%3E %7B
+%0A%0A%09/**%0A%09 * Searches for an integration%0A%09 *%0A%09 * @param name Integration name%0A%09 * @return Optional of integration%0A%09 */%0A%09Optional%3CIntegrationType%3E findByName(String name);%0A%0A%09/**%0A%09 * Searches for an integration by name and group%0A%09 *%0A%09 * @param name      Integration name%0A%09 * @param groupType Integration group%0A%09 * @return Optional of integration%0A%09 */%0A%09Optional%3CIntegrationType%3E findByNameAndGroupType(String name, String groupType);
 %0A%7D%0A

add several methods to integration type repository