Package io.tesler.notifications.dao.impl
Class NotificationSpecifications
- java.lang.Object
-
- io.tesler.notifications.dao.impl.NotificationSpecifications
-
public class NotificationSpecifications extends Object
-
-
Constructor Summary
Constructors Constructor Description NotificationSpecifications()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.springframework.data.jpa.domain.Specification<Notification>
forService(int serviceId)
static UpdateSpecification<Notification>
markDelivered(int serviceId, boolean status)
static org.springframework.data.jpa.domain.Specification<Notification>
notDelivered(int serviceId)
-
-
-
Method Detail
-
forService
public static org.springframework.data.jpa.domain.Specification<Notification> forService(int serviceId)
-
notDelivered
public static org.springframework.data.jpa.domain.Specification<Notification> notDelivered(int serviceId)
-
markDelivered
public static UpdateSpecification<Notification> markDelivered(int serviceId, boolean status)
-
-