Package de.trustable.ca3s.core.service
Interface CSRService
-
- All Known Implementing Classes:
CSRServiceImpl
public interface CSRServiceService Interface for managingCSR.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(Long id)Delete the "id" cSR.List<CSR>findAll()Get all the cSRS.List<CSR>findAllWhereCertificateIsNull()Get all the CSRDTO where Certificate isnull.Optional<CSR>findOne(Long id)Get the "id" cSR.CSRsave(CSR cSR)Save a cSR.
-
-
-
Method Detail
-
save
CSR save(CSR cSR)
Save a cSR.- Parameters:
cSR- the entity to save.- Returns:
- the persisted entity.
-
findAllWhereCertificateIsNull
List<CSR> findAllWhereCertificateIsNull()
Get all the CSRDTO where Certificate isnull.- Returns:
- the list of entities.
-
findOne
Optional<CSR> findOne(Long id)
Get the "id" cSR.- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
void delete(Long id)
Delete the "id" cSR.- Parameters:
id- the id of the entity.
-
-