|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.pushappmgmt.PushAppUnsubscribeManager
public class PushAppUnsubscribeManager
Performs threaded unsubscribe operations on users belonging to a push application that is in the process of being hard deleted.
| Constructor Summary | |
|---|---|
PushAppUnsubscribeManager()
|
|
| Method Summary | |
|---|---|
void |
awaitCompletion()
Waits for the completion of the unsubscribe of the subscribers of a push application. |
void |
run()
Performs an unsubscribe operation on a user. |
void |
setPushApplicationId(String pushApplicationId)
Sets the id of the push application that is having its subscribers unsubscribed. |
void |
setPushSDKProperties(PushSDKProperties pushSDKProperties)
Sets a PushSDKProperties object to use. |
void |
setSubscriptionService(SubscriptionService subscriptionService)
Sets a SubscriptionService object to use. |
void |
unsubscribe(UnsubscribeRequest unsubRequest)
Performs an unsubscribe operation on a user. |
void |
unsubscribeSubscribers(SubscriberStatus status)
Unsubscribe a set of subscribers to a push application with the given status. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PushAppUnsubscribeManager()
| Method Detail |
|---|
public void setPushSDKProperties(PushSDKProperties pushSDKProperties)
PushSDKProperties object to use.
pushSDKProperties - an instance of a PushSDKProperties implementationpublic void setSubscriptionService(SubscriptionService subscriptionService)
SubscriptionService object to use.
subscriptionService - an instance of a SubscriptionService implementationpublic void setPushApplicationId(String pushApplicationId)
pushApplicationId - the id of the push applicationpublic void awaitCompletion()
public void unsubscribeSubscribers(SubscriberStatus status)
throws PushSDKException
status - a subscriber status
PushSDKException - if any errors occurpublic void unsubscribe(UnsubscribeRequest unsubRequest)
unsubRequest - the unsubscribe requestpublic void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||