Package com.microstrategy.web.objects
Class WebPushNotificationImpl
- java.lang.Object
-
- com.microstrategy.web.objects.WebNotificationAbstract
-
- com.microstrategy.web.objects.WebPushNotificationImpl
-
- All Implemented Interfaces:
WebNotification
,WebPushNotification
public class WebPushNotificationImpl extends WebNotificationAbstract implements WebPushNotification
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
background
protected int
deliveryType
protected java.lang.String
objectId
protected PushNotificationPayload
pushNotificationPayload
-
Fields inherited from class com.microstrategy.web.objects.WebNotificationAbstract
extraProperties, factory, userIds
-
-
Constructor Summary
Constructors Constructor Description WebPushNotificationImpl(WebObjectsFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDeliveryType()
java.lang.String
getObjectId()
PushNotificationPayload
getPushNotificationPayload()
boolean
isBackground()
void
send()
Send the push notificationvoid
setBackground(boolean background)
void
setDeliveryType(int deliveryType)
void
setObjectId(java.lang.String objectId)
void
setPushNotificationPayload(PushNotificationPayload pushNotificationPayload)
java.lang.String
toString()
-
Methods inherited from class com.microstrategy.web.objects.WebNotificationAbstract
getUserIds, setUserIds
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.objects.WebNotification
getUserIds, setUserIds
-
-
-
-
Field Detail
-
deliveryType
protected int deliveryType
-
objectId
protected java.lang.String objectId
-
background
protected boolean background
-
pushNotificationPayload
protected PushNotificationPayload pushNotificationPayload
-
-
Constructor Detail
-
WebPushNotificationImpl
public WebPushNotificationImpl(WebObjectsFactory factory)
-
-
Method Detail
-
send
public void send() throws WebObjectsException
Description copied from interface:WebNotification
Send the push notification- Specified by:
send
in interfaceWebNotification
- Throws:
WebObjectsException
-
getDeliveryType
public int getDeliveryType()
- Specified by:
getDeliveryType
in interfaceWebPushNotification
-
setDeliveryType
public void setDeliveryType(int deliveryType)
- Specified by:
setDeliveryType
in interfaceWebPushNotification
-
getPushNotificationPayload
public PushNotificationPayload getPushNotificationPayload()
- Specified by:
getPushNotificationPayload
in interfaceWebPushNotification
-
setPushNotificationPayload
public void setPushNotificationPayload(PushNotificationPayload pushNotificationPayload)
- Specified by:
setPushNotificationPayload
in interfaceWebPushNotification
-
getObjectId
public java.lang.String getObjectId()
- Specified by:
getObjectId
in interfaceWebPushNotification
-
setObjectId
public void setObjectId(java.lang.String objectId)
- Specified by:
setObjectId
in interfaceWebPushNotification
-
isBackground
public boolean isBackground()
- Specified by:
isBackground
in interfaceWebPushNotification
-
setBackground
public void setBackground(boolean background)
- Specified by:
setBackground
in interfaceWebPushNotification
-
toString
public java.lang.String toString()
- Overrides:
toString
in classWebNotificationAbstract
-
-