Class AlgorithmRestrictionServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.AlgorithmRestrictionServiceImpl
-
- All Implemented Interfaces:
AlgorithmRestrictionService
@Service @Transactional public class AlgorithmRestrictionServiceImpl extends Object implements AlgorithmRestrictionService
Service Implementation for managingAlgorithmRestriction.
-
-
Constructor Summary
Constructors Constructor Description AlgorithmRestrictionServiceImpl(AlgorithmRestrictionRepository algorithmRestrictionRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the "id" algorithmRestriction.List<AlgorithmRestriction>findAll()Get all the algorithmRestrictions.Optional<AlgorithmRestriction>findOne(Long id)Get the "id" algorithmRestriction.Optional<AlgorithmRestriction>partialUpdate(AlgorithmRestriction algorithmRestriction)Partially updates a algorithmRestriction.AlgorithmRestrictionsave(AlgorithmRestriction algorithmRestriction)Save a algorithmRestriction.
-
-
-
Constructor Detail
-
AlgorithmRestrictionServiceImpl
public AlgorithmRestrictionServiceImpl(AlgorithmRestrictionRepository algorithmRestrictionRepository)
-
-
Method Detail
-
save
public AlgorithmRestriction save(AlgorithmRestriction algorithmRestriction)
Description copied from interface:AlgorithmRestrictionServiceSave a algorithmRestriction.- Specified by:
savein interfaceAlgorithmRestrictionService- Parameters:
algorithmRestriction- the entity to save.- Returns:
- the persisted entity.
-
partialUpdate
public Optional<AlgorithmRestriction> partialUpdate(AlgorithmRestriction algorithmRestriction)
Description copied from interface:AlgorithmRestrictionServicePartially updates a algorithmRestriction.- Specified by:
partialUpdatein interfaceAlgorithmRestrictionService- Parameters:
algorithmRestriction- the entity to update partially.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<AlgorithmRestriction> findAll()
Description copied from interface:AlgorithmRestrictionServiceGet all the algorithmRestrictions.- Specified by:
findAllin interfaceAlgorithmRestrictionService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<AlgorithmRestriction> findOne(Long id)
Description copied from interface:AlgorithmRestrictionServiceGet the "id" algorithmRestriction.- Specified by:
findOnein interfaceAlgorithmRestrictionService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Description copied from interface:AlgorithmRestrictionServiceDelete the "id" algorithmRestriction.- Specified by:
deletein interfaceAlgorithmRestrictionService- Parameters:
id- the id of the entity.
-
-