Package org.cyclos.impl.utils
Class PushNotificationSubscriptionMatcher
- java.lang.Object
-
- org.cyclos.impl.utils.PushNotificationSubscriptionMatcher
-
- All Implemented Interfaces:
Serializable
public class PushNotificationSubscriptionMatcher extends Object implements Serializable
Contains data used to match a push notification subscription toPushNotificationEventContext- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PushNotificationSubscriptionMatcher(Set<PushNotificationEventType<?>> eventTypes, Long userId, String sessionToken, Set<Long> accountIds, String ticketNumber, Long deviceConfirmationId, String identityProviderRequestId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Collection<Long>getAccountIds()LonggetDeviceConfirmationId()Set<PushNotificationEventType<?>>getEventTypes()StringgetIdentityProviderRequestId()StringgetSessionToken()StringgetTicketNumber()LonggetUserId()inthashCode()booleanmatches(PushNotificationEventContext<?> event)Returns whether this subscription matches the given eventStringtoString()
-
-
-
Method Detail
-
getAccountIds
public Collection<Long> getAccountIds()
-
getDeviceConfirmationId
public Long getDeviceConfirmationId()
-
getEventTypes
public Set<PushNotificationEventType<?>> getEventTypes()
-
getIdentityProviderRequestId
public String getIdentityProviderRequestId()
-
getSessionToken
public String getSessionToken()
-
getTicketNumber
public String getTicketNumber()
-
getUserId
public Long getUserId()
-
matches
public boolean matches(PushNotificationEventContext<?> event)
Returns whether this subscription matches the given event
-
-