public class IBMNotificationMessage
extends java.lang.Object
Constructor and Description |
---|
IBMNotificationMessage(NotificationMessage notificationMessage) |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONObject |
getMessageObject() |
com.ibm.json.java.JSONObject |
getSettingsObject() |
com.ibm.json.java.JSONObject |
getTargetObject() |
boolean |
getValidateDeviceFlag() |
void |
setAPNSSettingsObject() |
void |
setGCMSettingsObject() |
void |
setMessageObject() |
void |
setTargetDeviceIds(com.ibm.json.java.JSONArray deviceIds) |
void |
setTargetObject() |
void |
setTargetObject(com.ibm.json.java.JSONArray deviceIds,
java.util.ArrayList<java.lang.String> userIds,
java.util.ArrayList<java.lang.String> platforms,
java.util.ArrayList<java.lang.String> tagNames) |
void |
setTargetPlatforms(java.util.ArrayList<java.lang.String> platforms) |
void |
setTargetTagNames(java.util.ArrayList<java.lang.String> tagNames) |
void |
setTargetUserIds(java.util.ArrayList<java.lang.String> userIds) |
void |
setValidateDeviceFlag(boolean validateDevice) |
public IBMNotificationMessage(NotificationMessage notificationMessage)
public void setMessageObject() throws MXException
MXException
public void setAPNSSettingsObject() throws MXException
MXException
public void setGCMSettingsObject() throws MXException
MXException
public void setTargetObject() throws MXException
MXException
public void setTargetObject(com.ibm.json.java.JSONArray deviceIds, java.util.ArrayList<java.lang.String> userIds, java.util.ArrayList<java.lang.String> platforms, java.util.ArrayList<java.lang.String> tagNames) throws MXException
MXException
public void setTargetDeviceIds(com.ibm.json.java.JSONArray deviceIds) throws MXException
MXException
public void setTargetUserIds(java.util.ArrayList<java.lang.String> userIds) throws MXException
MXException
public void setTargetPlatforms(java.util.ArrayList<java.lang.String> platforms) throws MXException
MXException
public void setTargetTagNames(java.util.ArrayList<java.lang.String> tagNames) throws MXException
MXException
public void setValidateDeviceFlag(boolean validateDevice)
public boolean getValidateDeviceFlag()
public com.ibm.json.java.JSONObject getMessageObject()
public com.ibm.json.java.JSONObject getSettingsObject()
public com.ibm.json.java.JSONObject getTargetObject()