public class PushNotificationsDeviceServiceWrapper extends java.lang.Object implements PushNotificationsDeviceService, ServiceWrapper<PushNotificationsDeviceService>
PushNotificationsDeviceService.PushNotificationsDeviceService| Constructor and Description |
|---|
PushNotificationsDeviceServiceWrapper(PushNotificationsDeviceService pushNotificationsDeviceService) |
| Modifier and Type | Method and Description |
|---|---|
PushNotificationsDevice |
addPushNotificationsDevice(java.lang.String token,
java.lang.String platform) |
PushNotificationsDevice |
deletePushNotificationsDevice(long pushNotificationsDeviceId) |
PushNotificationsDevice |
deletePushNotificationsDevice(java.lang.String token) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PushNotificationsDeviceService |
getWrappedService() |
void |
sendPushNotification(long[] toUserIds,
java.lang.String payload) |
void |
sendPushNotification(java.lang.String platform,
java.util.List<java.lang.String> tokens,
java.lang.String payload) |
void |
setWrappedService(PushNotificationsDeviceService pushNotificationsDeviceService) |
public PushNotificationsDeviceServiceWrapper(PushNotificationsDeviceService pushNotificationsDeviceService)
public PushNotificationsDevice addPushNotificationsDevice(java.lang.String token, java.lang.String platform) throws PortalException
addPushNotificationsDevice in interface PushNotificationsDeviceServicePortalExceptionpublic PushNotificationsDevice deletePushNotificationsDevice(long pushNotificationsDeviceId) throws PortalException
deletePushNotificationsDevice in interface PushNotificationsDeviceServicePortalExceptionpublic PushNotificationsDevice deletePushNotificationsDevice(java.lang.String token) throws PortalException
deletePushNotificationsDevice in interface PushNotificationsDeviceServicePortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface PushNotificationsDeviceServicepublic void sendPushNotification(long[] toUserIds,
java.lang.String payload)
throws PortalException
sendPushNotification in interface PushNotificationsDeviceServicePortalExceptionpublic void sendPushNotification(java.lang.String platform,
java.util.List<java.lang.String> tokens,
java.lang.String payload)
throws PortalException
sendPushNotification in interface PushNotificationsDeviceServicePortalExceptionpublic PushNotificationsDeviceService getWrappedService()
getWrappedService in interface ServiceWrapper<PushNotificationsDeviceService>public void setWrappedService(PushNotificationsDeviceService pushNotificationsDeviceService)
setWrappedService in interface ServiceWrapper<PushNotificationsDeviceService>