Class PipelineServiceImpl

    • Constructor Detail

      • PipelineServiceImpl

        public PipelineServiceImpl​(PipelineRepository pipelineRepository)
    • Method Detail

      • save

        public Pipeline save​(Pipeline pipeline)
        Save a pipeline.
        Specified by:
        save in interface PipelineService
        Parameters:
        pipeline - the entity to save.
        Returns:
        the persisted entity.
      • findAll

        @Transactional(readOnly=true)
        public List<Pipeline> findAll()
        Get all the pipelines.
        Specified by:
        findAll in interface PipelineService
        Returns:
        the list of entities.
      • findOne

        @Transactional(readOnly=true)
        public Optional<Pipeline> findOne​(Long id)
        Get one pipeline by id.
        Specified by:
        findOne in interface PipelineService
        Parameters:
        id - the id of the entity.
        Returns:
        the entity.
      • delete

        public void delete​(Long id)
        Delete the pipeline by id.
        Specified by:
        delete in interface PipelineService
        Parameters:
        id - the id of the entity.