Class CAConnectorConfigServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.CAConnectorConfigServiceImpl
-
- All Implemented Interfaces:
CAConnectorConfigService
@Service @Transactional public class CAConnectorConfigServiceImpl extends Object implements CAConnectorConfigService
Service Implementation for managingCAConnectorConfig.
-
-
Constructor Summary
Constructors Constructor Description CAConnectorConfigServiceImpl(CAConnectorConfigRepository cAConnectorConfigRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the cAConnectorConfig by id.List<CAConnectorConfig>findAll()Get all the cAConnectorConfigs.Optional<CAConnectorConfig>findOne(Long id)Get one cAConnectorConfig by id.CAConnectorConfigsave(CAConnectorConfig cAConnectorConfig)Save a cAConnectorConfig.
-
-
-
Constructor Detail
-
CAConnectorConfigServiceImpl
public CAConnectorConfigServiceImpl(CAConnectorConfigRepository cAConnectorConfigRepository)
-
-
Method Detail
-
save
public CAConnectorConfig save(CAConnectorConfig cAConnectorConfig)
Save a cAConnectorConfig.- Specified by:
savein interfaceCAConnectorConfigService- Parameters:
cAConnectorConfig- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<CAConnectorConfig> findAll()
Get all the cAConnectorConfigs.- Specified by:
findAllin interfaceCAConnectorConfigService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<CAConnectorConfig> findOne(Long id)
Get one cAConnectorConfig by id.- Specified by:
findOnein interfaceCAConnectorConfigService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the cAConnectorConfig by id.- Specified by:
deletein interfaceCAConnectorConfigService- Parameters:
id- the id of the entity.
-
-