Package org.cyclos.model.utils
Class PushNotificationEventType<T>
- java.lang.Object
-
- org.cyclos.model.utils.PushNotificationEventType<T>
-
- All Implemented Interfaces:
Serializable
public class PushNotificationEventType<T> extends Object implements Serializable
Possible push notification event types- See Also:
- Serialized Form
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static List<PushNotificationEventType<?>>getAll()Returns all event typesstatic PushNotificationEventType<?>getByName(String name)Returns an event type by name, or null if none existsClass<T>getDataType()StringgetDataTypeName()Property<?,PushNotificationEventFilter>getFilter()StringgetName()inthashCode()booleanisAllowGuest()StringtoString()protected ObjectwriteReplace()
-
-
-
Field Detail
-
TICKET
public static final PushNotificationEventType<TicketVO> TICKET
A ticket status has changed
-
DEVICE_CONFIRMATION
public static final PushNotificationEventType<DeviceConfirmationVO> DEVICE_CONFIRMATION
A pending devices confirmation was approved / rejected.
-
NEW_MESSAGE
public static final PushNotificationEventType<NewMessagePushNotificationData> NEW_MESSAGE
A new message has arrived
-
NEW_NOTIFICATION
public static final PushNotificationEventType<NewNotificationPushNotificationData> NEW_NOTIFICATION
A new notification has arrived
-
PAYMENT_AUTHORIZATION
public static final PushNotificationEventType<TransactionVO> PAYMENT_AUTHORIZATION
The status of an account has changed
-
DEVICE_CONFIRMATION_FEEDBACK
public static final PushNotificationEventType<DeviceConfirmationFeedbackPushNotificationData> DEVICE_CONFIRMATION_FEEDBACK
A device confirmation was accepted
-
IDENTITY_PROVIDER_CALLBACK
public static final PushNotificationEventType<IdentityProviderCallbackResult> IDENTITY_PROVIDER_CALLBACK
An identity provider has replied with profile data
-
LOGGED_OUT
public static final PushNotificationEventType<Void> LOGGED_OUT
The user session has been invalidated
-
PERMISSIONS_CHANGED
public static final PushNotificationEventType<Void> PERMISSIONS_CHANGED
The permissions for a session were changed
-
ACCOUNT_STATUS
public static final PushNotificationEventType<AccountWithStatusVO> ACCOUNT_STATUS
An owned and visible account status has changed
-
-
Method Detail
-
getAll
public static List<PushNotificationEventType<?>> getAll()
Returns all event types
-
getByName
public static PushNotificationEventType<?> getByName(String name)
Returns an event type by name, or null if none exists
-
getDataTypeName
public String getDataTypeName()
-
getFilter
public Property<?,PushNotificationEventFilter> getFilter()
-
getName
public String getName()
-
isAllowGuest
public boolean isAllowGuest()
-
writeReplace
protected Object writeReplace()
-
-