Package org.cyclos.impl.utils.cluster
Class PushNotificationSubscription
- java.lang.Object
-
- org.cyclos.impl.utils.cluster.PushNotificationSubscription
-
- All Implemented Interfaces:
Serializable
public class PushNotificationSubscription extends Object implements Serializable
Represents a subscription for push notification events- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PushNotificationSubscription(String id, String clientId, PushNotificationSubscriptionMatcher matcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetClientId()StringgetDeviceConfirmationId()Set<PushNotificationEventType<?>>getEventTypes()StringgetId()StringgetIdentityProviderRequestId()PushNotificationSubscriptionMatchergetMatcher()StringgetSessionToken()StringgetTicketNumber()LonggetUserId()inthashCode()booleanmatches(PushNotificationEventContext<?> event)voidsetMatcher(PushNotificationSubscriptionMatcher matcher)StringtoString()
-
-
-
Constructor Detail
-
PushNotificationSubscription
public PushNotificationSubscription(String id, String clientId, PushNotificationSubscriptionMatcher matcher)
-
-
Method Detail
-
getClientId
public String getClientId()
-
getDeviceConfirmationId
public String getDeviceConfirmationId()
-
getEventTypes
public Set<PushNotificationEventType<?>> getEventTypes()
-
getId
public String getId()
-
getIdentityProviderRequestId
public String getIdentityProviderRequestId()
-
getMatcher
public PushNotificationSubscriptionMatcher getMatcher()
-
getSessionToken
public String getSessionToken()
-
getTicketNumber
public String getTicketNumber()
-
getUserId
public Long getUserId()
-
matches
public boolean matches(PushNotificationEventContext<?> event)
-
setMatcher
public void setMatcher(PushNotificationSubscriptionMatcher matcher)
-
-