Class RDNAttributeServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.RDNAttributeServiceImpl
-
- All Implemented Interfaces:
RDNAttributeService
@Service @Transactional public class RDNAttributeServiceImpl extends Object implements RDNAttributeService
Service Implementation for managingRDNAttribute.
-
-
Constructor Summary
Constructors Constructor Description RDNAttributeServiceImpl(RDNAttributeRepository rDNAttributeRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the rDNAttribute by id.List<RDNAttribute>findAll()Get all the rDNAttributes.Optional<RDNAttribute>findOne(Long id)Get one rDNAttribute by id.RDNAttributesave(RDNAttribute rDNAttribute)Save a rDNAttribute.
-
-
-
Constructor Detail
-
RDNAttributeServiceImpl
public RDNAttributeServiceImpl(RDNAttributeRepository rDNAttributeRepository)
-
-
Method Detail
-
save
public RDNAttribute save(RDNAttribute rDNAttribute)
Save a rDNAttribute.- Specified by:
savein interfaceRDNAttributeService- Parameters:
rDNAttribute- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<RDNAttribute> findAll()
Get all the rDNAttributes.- Specified by:
findAllin interfaceRDNAttributeService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<RDNAttribute> findOne(Long id)
Get one rDNAttribute by id.- Specified by:
findOnein interfaceRDNAttributeService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the rDNAttribute by id.- Specified by:
deletein interfaceRDNAttributeService- Parameters:
id- the id of the entity.
-
-