Package org.cxbox.notifications.dao.impl
Class NotificationSpecifications
- java.lang.Object
-
- org.cxbox.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 org.cxbox.api.data.dao.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 org.cxbox.api.data.dao.UpdateSpecification<Notification> markDelivered(int serviceId, boolean status)
-
-