Class PipelineViewServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.PipelineViewServiceImpl
-
- All Implemented Interfaces:
PipelineViewService
@Service @Transactional public class PipelineViewServiceImpl extends Object implements PipelineViewService
Service Implementation for managingPipelineView.
-
-
Constructor Summary
Constructors Constructor Description PipelineViewServiceImpl(PipelineRepository pipelineRepository, PipelineUtil pvUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the pipeline by id.List<PipelineView>findAll()Get all the pipelines.Optional<PipelineView>findOne(Long id)Get one pipeline by id.PipelineViewsave(PipelineView pipelineView)Save a pipeline.
-
-
-
Constructor Detail
-
PipelineViewServiceImpl
public PipelineViewServiceImpl(PipelineRepository pipelineRepository, PipelineUtil pvUtil)
-
-
Method Detail
-
save
public PipelineView save(PipelineView pipelineView)
Save a pipeline.- Specified by:
savein interfacePipelineViewService- Parameters:
pipelineView- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<PipelineView> findAll()
Get all the pipelines.- Specified by:
findAllin interfacePipelineViewService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<PipelineView> findOne(Long id)
Get one pipeline by id.- Specified by:
findOnein interfacePipelineViewService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the pipeline by id.- Specified by:
deletein interfacePipelineViewService- Parameters:
id- the id of the entity.
-
-