|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.subscription.web.BaseRequest
net.rim.pushsdk.subscription.web.UnsubscribeRequest
public class UnsubscribeRequest
Represents the details of an unsubscribe request.
| Field Summary |
|---|
| Fields inherited from class net.rim.pushsdk.subscription.web.BaseRequest |
|---|
pushApplicationId, subscriberId |
| Constructor Summary | |
|---|---|
UnsubscribeRequest()
Constructs an unsubscribe request. |
|
UnsubscribeRequest(String pushApplicationId,
String subscriberId)
Constructs an unsubscribe request with the given app id and subscriber id. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if two unsubscribe requests are found to be equal and false otherwise. |
int |
hashCode()
Returns a hashcode for this unsubscribe request. |
boolean |
isAutomaticUnsubscribe()
Returns true when the unsubscribe request comes automatically from the system and not from a user. |
boolean |
isNotifyPPG()
Returns true if the PPG should be notified of this unsubscribe request. |
void |
setAutomaticUnsubscribe(boolean isAutomaticUnsubscribe)
Set to true for an unsubscribe request from the system and false for one from an external user. |
void |
setNotifyPPG(boolean isNotifyPPG)
Set to true if the PPG should be notified of this unsubscribe request. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class net.rim.pushsdk.subscription.web.BaseRequest |
|---|
getPushApplicationId, getSubscriberId, setPushApplicationId, setSubscriberId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnsubscribeRequest()
public UnsubscribeRequest(String pushApplicationId,
String subscriberId)
pushApplicationId - the app id of a push applicationsubscriberId - the id of a subscriber to a push application| Method Detail |
|---|
public boolean isAutomaticUnsubscribe()
public void setAutomaticUnsubscribe(boolean isAutomaticUnsubscribe)
isAutomaticUnsubscribe - whether or not we are dealing with an automatic unsubscribe requestpublic void setNotifyPPG(boolean isNotifyPPG)
isNotifyPPG - true if the PPG should be notified; false otherwisepublic boolean isNotifyPPG()
public int hashCode()
hashCode in class BaseRequestpublic boolean equals(Object obj)
equals in class BaseRequestpublic String toString()
String with all attributes in name = value format.
toString in class BaseRequestString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||