|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.acknowledgement.AcknowledgementServiceImpl
public class AcknowledgementServiceImpl
Implementation of the AcknowledgementService interface.
| Constructor Summary | |
|---|---|
AcknowledgementServiceImpl()
|
|
| Method Summary | |
|---|---|
List<String> |
requestNotification(List<String> pushIds)
Requests notification for the given push ids. |
protected void |
sendNotifications(Set<PushIdAndApplicationId> pushIdAndApplicationIds)
Sends out result notifications for the specified push ids (in the push id-application id pairs). |
void |
setNotificationProcessorService(NotificationProcessorService notificationProcessorService)
Support for dependency injection. |
void |
setPapService(PapService papService)
Support for dependency injection. |
void |
setPushApplicationService(PushApplicationService pushApplicationService)
Support for dependency injection. |
void |
setPushCountService(PushCountService pushCountService)
Support for dependency injection. |
void |
setPushRequestDetailService(PushRequestDetailService pushRequestDetailService)
Support for dependency injection. |
void |
setPushSDKProperties(PushSDKProperties properties)
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 AcknowledgementServiceImpl()
| Method Detail |
|---|
public void setPushSDKProperties(PushSDKProperties properties)
AcknowledgementServicePushSDKProperties collaborating object - this
is used to read global configuration properties.
setPushSDKProperties in interface AcknowledgementServiceproperties - an instance of a PushSDKProperties implementation (must be thread safe)public void setPushApplicationService(PushApplicationService pushApplicationService)
AcknowledgementServicePushApplicationService collaborating object -
this is used to interface with the business service that manages push applications.
setPushApplicationService in interface AcknowledgementServicepushApplicationService - an instance of a PushApplicationService implementation (must be thread safe)public void setPapService(PapService papService)
AcknowledgementServicePapService collaborating object - this is used
to send the PAP messages to the PPG.
setPapService in interface AcknowledgementServicepapService - an instance of a PapService implementation (must be thread safe)public void setPushCountService(PushCountService pushCountService)
AcknowledgementServicePushCountService collaborating object - this
is used to interface with the business service that manages tracking pushes that are complete.
setPushCountService in interface AcknowledgementServicepushCountService - an instance of a PushCountService implementation (must be thread safe)public void setPushRequestDetailService(PushRequestDetailService pushRequestDetailService)
AcknowledgementServicePushRequestDetailService collaborating object
- this is used to interface with the business service that manages push request details.
setPushRequestDetailService in interface AcknowledgementServicepushRequestDetailService - an instance of a PushRequestDetailService implementation (must be thread safe)public void setNotificationProcessorService(NotificationProcessorService notificationProcessorService)
AcknowledgementServiceNotificationProcessorService collaborating
object - this is used to interface with the business service that processes result notifications.
setNotificationProcessorService in interface AcknowledgementServicenotificationProcessorService - an instance of a NotificationProcessorService implementation (must be thread safe)
public List<String> requestNotification(List<String> pushIds)
throws PushSDKException
AcknowledgementService
requestNotification in interface AcknowledgementServicepushIds - a list of push ids to request notifications for
PushSDKException - if any errors occurprotected void sendNotifications(Set<PushIdAndApplicationId> pushIdAndApplicationIds)
pushIdAndApplicationIds - the push id-application id pairs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||