public abstract class PushNotificationEntity
extends java.lang.Object
PushNotificationEntity abstract class wraps various properties related to push
notifications, including the type, organization ID, client name, server URL, among others.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONNECTOR
Connector to divide the push notification content.
|
static int |
TYPE_PUSH_NOTIFICATION_BROADCAST_VPN
Push notification for VPN broadcast.
|
static int |
TYPE_PUSH_NOTIFICATION_BROADCAST_WEB_SSO
Push notification for web SSO.
|
static int |
TYPE_PUSH_NOTIFICATION_DESKTOP_PAIRING_RESULT
Push notification for MicroStrategy Badge Desktop pairing.
|
static int |
TYPE_PUSH_NOTIFICATION_DESKTOP_REQUEST_LOGIN
Push notification for MicroStrategy Badge Desktop login.
|
static int |
TYPE_PUSH_NOTIFICATION_LOGICAL_ACCESS
Push notification for logical access.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
badgeId()
Returns an int of the identification number of the badge.
|
abstract java.lang.String |
clientName()
Returns a String of the client name.
|
abstract long |
createAt() |
static PushNotificationEntity |
fromJsonString(java.lang.String jsonString)
Returns an
PushNotificationEntity object after parsing a JSON string. |
abstract int |
orgId()
Returns an int of the identification number of the organization.
|
abstract java.lang.String |
serverUrl()
Returns a String of the URL of the server.
|
abstract java.lang.String |
tagCode()
Returns a String of the push notification content.
|
static java.lang.String |
toJsonString(PushNotificationEntity pushNotificationEntity)
Returns a JSON String of an
PushNotificationEntity object. |
abstract int |
type()
Returns an int of the type of push notification.
|
public static final java.lang.String CONNECTOR
public static final int TYPE_PUSH_NOTIFICATION_LOGICAL_ACCESS
public static final int TYPE_PUSH_NOTIFICATION_BROADCAST_VPN
public static final int TYPE_PUSH_NOTIFICATION_BROADCAST_WEB_SSO
public static final int TYPE_PUSH_NOTIFICATION_DESKTOP_REQUEST_LOGIN
public static final int TYPE_PUSH_NOTIFICATION_DESKTOP_PAIRING_RESULT
public static java.lang.String toJsonString(PushNotificationEntity pushNotificationEntity)
PushNotificationEntity object.pushNotificationEntity - See PushNotificationEntityPushNotificationEntity object.public static PushNotificationEntity fromJsonString(java.lang.String jsonString)
PushNotificationEntity object after parsing a JSON string.jsonString - the JSON string of the PushNotificationEntity objectPushNotificationEntity object parsed from a JSON string.public abstract int type()
Object.hashCode()
and Object.equals(Object) implementations.public abstract java.lang.String tagCode()
public abstract java.lang.String clientName()
public abstract int orgId()
public abstract int badgeId()
Object.hashCode() and
Object.equals(Object) implementations.public abstract java.lang.String serverUrl()
public abstract long createAt()