Class TimedElementNotificationServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.TimedElementNotificationServiceImpl
-
- All Implemented Interfaces:
TimedElementNotificationService
@Service @Transactional public class TimedElementNotificationServiceImpl extends Object implements TimedElementNotificationService
Service Implementation for managingTimedElementNotification.
-
-
Constructor Summary
Constructors Constructor Description TimedElementNotificationServiceImpl(TimedElementNotificationRepository timedElementNotificationRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the "id" timedElementNotification.List<TimedElementNotification>findAll()Get all the timedElementNotifications.Optional<TimedElementNotification>findOne(Long id)Get the "id" timedElementNotification.Optional<TimedElementNotification>partialUpdate(TimedElementNotification timedElementNotification)Partially updates a timedElementNotification.TimedElementNotificationsave(TimedElementNotification timedElementNotification)Save a timedElementNotification.TimedElementNotificationupdate(TimedElementNotification timedElementNotification)Updates a timedElementNotification.
-
-
-
Constructor Detail
-
TimedElementNotificationServiceImpl
public TimedElementNotificationServiceImpl(TimedElementNotificationRepository timedElementNotificationRepository)
-
-
Method Detail
-
save
public TimedElementNotification save(TimedElementNotification timedElementNotification)
Description copied from interface:TimedElementNotificationServiceSave a timedElementNotification.- Specified by:
savein interfaceTimedElementNotificationService- Parameters:
timedElementNotification- the entity to save.- Returns:
- the persisted entity.
-
update
public TimedElementNotification update(TimedElementNotification timedElementNotification)
Description copied from interface:TimedElementNotificationServiceUpdates a timedElementNotification.- Specified by:
updatein interfaceTimedElementNotificationService- Parameters:
timedElementNotification- the entity to update.- Returns:
- the persisted entity.
-
partialUpdate
public Optional<TimedElementNotification> partialUpdate(TimedElementNotification timedElementNotification)
Description copied from interface:TimedElementNotificationServicePartially updates a timedElementNotification.- Specified by:
partialUpdatein interfaceTimedElementNotificationService- Parameters:
timedElementNotification- the entity to update partially.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<TimedElementNotification> findAll()
Description copied from interface:TimedElementNotificationServiceGet all the timedElementNotifications.- Specified by:
findAllin interfaceTimedElementNotificationService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<TimedElementNotification> findOne(Long id)
Description copied from interface:TimedElementNotificationServiceGet the "id" timedElementNotification.- Specified by:
findOnein interfaceTimedElementNotificationService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Description copied from interface:TimedElementNotificationServiceDelete the "id" timedElementNotification.- Specified by:
deletein interfaceTimedElementNotificationService- Parameters:
id- the id of the entity.
-
-