Class CRLExpirationNotificationServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.CRLExpirationNotificationServiceImpl
-
- All Implemented Interfaces:
CRLExpirationNotificationService
@Service @Transactional public class CRLExpirationNotificationServiceImpl extends Object implements CRLExpirationNotificationService
Service Implementation for managingCRLExpirationNotification.
-
-
Constructor Summary
Constructors Constructor Description CRLExpirationNotificationServiceImpl(CRLExpirationNotificationRepository cRLExpirationNotificationRepository, CertificateRepository certificateRepository, CertificateUtil certUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CRLExpirationNotification>createByCertificateId(Long certificateId)voiddelete(Long id)Delete the "id" cRLExpirationNotification.List<CRLExpirationNotification>findAll()Get all the cRLExpirationNotifications.Optional<CRLExpirationNotification>findOne(Long id)Get the "id" cRLExpirationNotification.Optional<CRLExpirationNotification>partialUpdate(CRLExpirationNotification cRLExpirationNotification)Partially updates a cRLExpirationNotification.CRLExpirationNotificationsave(CRLExpirationNotification cRLExpirationNotification)Save a cRLExpirationNotification.CRLExpirationNotificationupdate(CRLExpirationNotification cRLExpirationNotification)Updates a cRLExpirationNotification.
-
-
-
Constructor Detail
-
CRLExpirationNotificationServiceImpl
public CRLExpirationNotificationServiceImpl(CRLExpirationNotificationRepository cRLExpirationNotificationRepository, CertificateRepository certificateRepository, CertificateUtil certUtil)
-
-
Method Detail
-
createByCertificateId
public List<CRLExpirationNotification> createByCertificateId(Long certificateId)
- Specified by:
createByCertificateIdin interfaceCRLExpirationNotificationService
-
save
public CRLExpirationNotification save(CRLExpirationNotification cRLExpirationNotification)
Description copied from interface:CRLExpirationNotificationServiceSave a cRLExpirationNotification.- Specified by:
savein interfaceCRLExpirationNotificationService- Parameters:
cRLExpirationNotification- the entity to save.- Returns:
- the persisted entity.
-
update
public CRLExpirationNotification update(CRLExpirationNotification cRLExpirationNotification)
Description copied from interface:CRLExpirationNotificationServiceUpdates a cRLExpirationNotification.- Specified by:
updatein interfaceCRLExpirationNotificationService- Parameters:
cRLExpirationNotification- the entity to update.- Returns:
- the persisted entity.
-
partialUpdate
public Optional<CRLExpirationNotification> partialUpdate(CRLExpirationNotification cRLExpirationNotification)
Description copied from interface:CRLExpirationNotificationServicePartially updates a cRLExpirationNotification.- Specified by:
partialUpdatein interfaceCRLExpirationNotificationService- Parameters:
cRLExpirationNotification- the entity to update partially.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<CRLExpirationNotification> findAll()
Description copied from interface:CRLExpirationNotificationServiceGet all the cRLExpirationNotifications.- Specified by:
findAllin interfaceCRLExpirationNotificationService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<CRLExpirationNotification> findOne(Long id)
Description copied from interface:CRLExpirationNotificationServiceGet the "id" cRLExpirationNotification.- Specified by:
findOnein interfaceCRLExpirationNotificationService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Description copied from interface:CRLExpirationNotificationServiceDelete the "id" cRLExpirationNotification.- Specified by:
deletein interfaceCRLExpirationNotificationService- Parameters:
id- the id of the entity.
-
-