Package de.trustable.ca3s.core.service
Interface CertificateService
-
- All Known Implementing Classes:
CertificateServiceImpl
public interface CertificateServiceService Interface for managingCertificate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(Long id)Delete the "id" certificate.org.springframework.data.domain.Page<Certificate>findAll(org.springframework.data.domain.Pageable pageable)Get all the certificates.Optional<Certificate>findOne(Long id)Get the "id" certificate.Certificatesave(Certificate certificate)Save a certificate.
-
-
-
Method Detail
-
save
Certificate save(Certificate certificate)
Save a certificate.- Parameters:
certificate- the entity to save.- Returns:
- the persisted entity.
-
findAll
org.springframework.data.domain.Page<Certificate> findAll(org.springframework.data.domain.Pageable pageable)
Get all the certificates.- Parameters:
pageable- the pagination information.- Returns:
- the list of entities.
-
findOne
Optional<Certificate> findOne(Long id)
Get the "id" certificate.- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
void delete(Long id)
Delete the "id" certificate.- Parameters:
id- the id of the entity.
-
-