Class SpecificationGroupService

java.lang.Object
org.qubership.integration.platform.catalog.service.AbstractSpecificationGroupService
org.qubership.integration.platform.runtime.catalog.service.SpecificationGroupService

@Service public class SpecificationGroupService extends org.qubership.integration.platform.catalog.service.AbstractSpecificationGroupService
  • Field Summary

    Fields inherited from class org.qubership.integration.platform.catalog.service.AbstractSpecificationGroupService

    actionLogger, SPECIFICATION_GROUP_ID_SEPARATOR, SPECIFICATION_GROUP_NAME_ERROR_MESSAGE, specificationGroupLabelsRepository, specificationGroupRepository, SYSTEM_NOT_FOUND_ERROR_MESSAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpecificationGroupService(org.qubership.integration.platform.catalog.persistence.configs.repository.system.SpecificationGroupRepository specificationGroupRepository, org.qubership.integration.platform.catalog.service.ActionsLogService actionLogger, SystemService systemService, org.qubership.integration.platform.catalog.service.exportimport.ProtocolExtractionService protocolExtractionService, org.qubership.integration.platform.catalog.persistence.configs.repository.system.SpecificationGroupLabelsRepository specificationGroupLabelsRepository, ChainService chainService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.qubership.integration.platform.catalog.persistence.configs.entity.system.SpecificationGroup
    createAndSaveSpecificationGroup(String systemId, String specificationName, String protocol, org.springframework.web.multipart.MultipartFile[] files)
     
    org.qubership.integration.platform.catalog.persistence.configs.entity.system.SpecificationGroup
    createAndSaveSpecificationGroupWithProtocol(org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem system, String specificationName, String protocol, org.springframework.web.multipart.MultipartFile[] files, String specificationUrl)
     
    Optional<org.qubership.integration.platform.catalog.persistence.configs.entity.system.SpecificationGroup>
    deleteByIdExists(String specificationGroupId)
     

    Methods inherited from class org.qubership.integration.platform.catalog.service.AbstractSpecificationGroupService

    buildSpecificationGroupId, getById, logSpecGroupAction

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpecificationGroupService

      @Autowired public SpecificationGroupService(org.qubership.integration.platform.catalog.persistence.configs.repository.system.SpecificationGroupRepository specificationGroupRepository, org.qubership.integration.platform.catalog.service.ActionsLogService actionLogger, SystemService systemService, org.qubership.integration.platform.catalog.service.exportimport.ProtocolExtractionService protocolExtractionService, org.qubership.integration.platform.catalog.persistence.configs.repository.system.SpecificationGroupLabelsRepository specificationGroupLabelsRepository, ChainService chainService)
  • Method Details

    • createAndSaveSpecificationGroupWithProtocol

      public org.qubership.integration.platform.catalog.persistence.configs.entity.system.SpecificationGroup createAndSaveSpecificationGroupWithProtocol(org.qubership.integration.platform.catalog.persistence.configs.entity.system.IntegrationSystem system, String specificationName, String protocol, org.springframework.web.multipart.MultipartFile[] files, String specificationUrl)
    • createAndSaveSpecificationGroup

      public org.qubership.integration.platform.catalog.persistence.configs.entity.system.SpecificationGroup createAndSaveSpecificationGroup(String systemId, String specificationName, String protocol, org.springframework.web.multipart.MultipartFile[] files)
    • deleteByIdExists

      public Optional<org.qubership.integration.platform.catalog.persistence.configs.entity.system.SpecificationGroup> deleteByIdExists(String specificationGroupId)