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 booleanbackgroundprotected intdeliveryTypeprotected java.lang.StringobjectIdprotected PushNotificationPayloadpushNotificationPayload-
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 intgetDeliveryType()java.lang.StringgetObjectId()PushNotificationPayloadgetPushNotificationPayload()booleanisBackground()voidsend()Send the push notificationvoidsetBackground(boolean background)voidsetDeliveryType(int deliveryType)voidsetObjectId(java.lang.String objectId)voidsetPushNotificationPayload(PushNotificationPayload pushNotificationPayload)java.lang.StringtoString()-
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 WebObjectsExceptionDescription copied from interface:WebNotificationSend the push notification- Specified by:
sendin interfaceWebNotification- Throws:
WebObjectsException
-
getDeliveryType
public int getDeliveryType()
- Specified by:
getDeliveryTypein interfaceWebPushNotification
-
setDeliveryType
public void setDeliveryType(int deliveryType)
- Specified by:
setDeliveryTypein interfaceWebPushNotification
-
getPushNotificationPayload
public PushNotificationPayload getPushNotificationPayload()
- Specified by:
getPushNotificationPayloadin interfaceWebPushNotification
-
setPushNotificationPayload
public void setPushNotificationPayload(PushNotificationPayload pushNotificationPayload)
- Specified by:
setPushNotificationPayloadin interfaceWebPushNotification
-
getObjectId
public java.lang.String getObjectId()
- Specified by:
getObjectIdin interfaceWebPushNotification
-
setObjectId
public void setObjectId(java.lang.String objectId)
- Specified by:
setObjectIdin interfaceWebPushNotification
-
isBackground
public boolean isBackground()
- Specified by:
isBackgroundin interfaceWebPushNotification
-
setBackground
public void setBackground(boolean background)
- Specified by:
setBackgroundin interfaceWebPushNotification
-
toString
public java.lang.String toString()
- Overrides:
toStringin classWebNotificationAbstract
-
-