Interface PushNotificationService
-
public interface PushNotificationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isSubscribed(Subscription newSubscription)
void
notifyUser(java.lang.String user, com.flower.docs.domain.notification.Notification notification)
void
subscribe(Subscription subscription)
-
-
-
Method Detail
-
notifyUser
void notifyUser(java.lang.String user, com.flower.docs.domain.notification.Notification notification) throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
com.flower.docs.domain.exception.FunctionalException
-
subscribe
void subscribe(Subscription subscription) throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
com.flower.docs.domain.exception.FunctionalException
-
isSubscribed
boolean isSubscribed(Subscription newSubscription) throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
- Throws:
com.flower.docs.domain.exception.TechnicalException
com.flower.docs.domain.exception.FunctionalException
-
-