|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.query.subscription.SubscriptionQueryServiceImpl
public class SubscriptionQueryServiceImpl
Implementation of the SubscriptionQueryService interface.
| Constructor Summary | |
|---|---|
SubscriptionQueryServiceImpl()
|
|
| Method Summary | |
|---|---|
SubscriptionQueryResponse |
querySubscriptionStatus(String username,
String password,
Set<String> addresses)
Queries the status of the given addresses on the PPG end. |
SubscriptionQueryResponse |
querySubscriptionStatus(String username,
String password,
SubQueryRequestStatus status)
Query to determine what addresses on the PPG end have the given status. |
void |
setHttpClient(HttpClient httpClient)
Support for dependency injection. |
void |
setPushSDKProperties(PushSDKProperties pushSDKProperties)
Support for dependency injection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubscriptionQueryServiceImpl()
| Method Detail |
|---|
public void setHttpClient(HttpClient httpClient)
SubscriptionQueryServiceHttpClient implementation.
setHttpClient in interface SubscriptionQueryServicehttpClient - the HTTP clientpublic void setPushSDKProperties(PushSDKProperties pushSDKProperties)
SubscriptionQueryServicePushSDKProperties implementation.
setPushSDKProperties in interface SubscriptionQueryServicepushSDKProperties - the push SDK properties
public SubscriptionQueryResponse querySubscriptionStatus(String username,
String password,
Set<String> addresses)
throws PushSDKException,
SubQueryFailureException,
UnauthorizedException
SubscriptionQueryService
querySubscriptionStatus in interface SubscriptionQueryServiceusername - the username of the Push Initiator (for a public (BIS) push, this would be the application id)password - the password of the Push Initiator (for a public (BIS) push, this would be the application password)addresses - the set of addresses to query
PushSDKException - if any unrecoverable errors occur during the query
SubQueryFailureException - if the subscription query XML request message cannot be processed successfully by the PPG
UnauthorizedException - if the username / password provided is invalid
public SubscriptionQueryResponse querySubscriptionStatus(String username,
String password,
SubQueryRequestStatus status)
throws PushSDKException,
SubQueryFailureException,
UnauthorizedException
SubscriptionQueryService
querySubscriptionStatus in interface SubscriptionQueryServiceusername - the username of the Push Initiator (for a public (BIS) push, this would be the application id)password - the password of the Push Initiator (for a public (BIS) push, this would be the application password)status - a status of subscribers on the PPG end
PushSDKException - if any unrecoverable errors occur during the query
SubQueryFailureException - if the subscription query XML request message cannot be processed successfully by the PPG
UnauthorizedException - if the username / password provided is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||