Class CsrAttributeServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.CsrAttributeServiceImpl
-
- All Implemented Interfaces:
CsrAttributeService
@Service @Transactional public class CsrAttributeServiceImpl extends Object implements CsrAttributeService
Service Implementation for managingCsrAttribute.
-
-
Constructor Summary
Constructors Constructor Description CsrAttributeServiceImpl(CsrAttributeRepository csrAttributeRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the csrAttribute by id.List<CsrAttribute>findAll()Get all the csrAttributes.Optional<CsrAttribute>findOne(Long id)Get one csrAttribute by id.CsrAttributesave(CsrAttribute csrAttribute)Save a csrAttribute.
-
-
-
Constructor Detail
-
CsrAttributeServiceImpl
public CsrAttributeServiceImpl(CsrAttributeRepository csrAttributeRepository)
-
-
Method Detail
-
save
public CsrAttribute save(CsrAttribute csrAttribute)
Save a csrAttribute.- Specified by:
savein interfaceCsrAttributeService- Parameters:
csrAttribute- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<CsrAttribute> findAll()
Get all the csrAttributes.- Specified by:
findAllin interfaceCsrAttributeService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<CsrAttribute> findOne(Long id)
Get one csrAttribute by id.- Specified by:
findOnein interfaceCsrAttributeService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the csrAttribute by id.- Specified by:
deletein interfaceCsrAttributeService- Parameters:
id- the id of the entity.
-
-