public class PushNotificationsDeviceServiceWrapper extends java.lang.Object implements PushNotificationsDeviceService, com.liferay.portal.kernel.service.ServiceWrapper<PushNotificationsDeviceService>
PushNotificationsDeviceService.PushNotificationsDeviceService| Constructor and Description |
|---|
PushNotificationsDeviceServiceWrapper() |
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()
public PushNotificationsDeviceServiceWrapper(PushNotificationsDeviceService pushNotificationsDeviceService)
public PushNotificationsDevice addPushNotificationsDevice(java.lang.String token, java.lang.String platform) throws com.liferay.portal.kernel.exception.PortalException
addPushNotificationsDevice in interface PushNotificationsDeviceServicecom.liferay.portal.kernel.exception.PortalExceptionpublic PushNotificationsDevice deletePushNotificationsDevice(long pushNotificationsDeviceId) throws com.liferay.portal.kernel.exception.PortalException
deletePushNotificationsDevice in interface PushNotificationsDeviceServicecom.liferay.portal.kernel.exception.PortalExceptionpublic PushNotificationsDevice deletePushNotificationsDevice(java.lang.String token) throws com.liferay.portal.kernel.exception.PortalException
deletePushNotificationsDevice in interface PushNotificationsDeviceServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface PushNotificationsDeviceServicepublic void sendPushNotification(long[] toUserIds,
java.lang.String payload)
throws com.liferay.portal.kernel.exception.PortalException
sendPushNotification in interface PushNotificationsDeviceServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void sendPushNotification(java.lang.String platform,
java.util.List<java.lang.String> tokens,
java.lang.String payload)
throws com.liferay.portal.kernel.exception.PortalException
sendPushNotification in interface PushNotificationsDeviceServicecom.liferay.portal.kernel.exception.PortalExceptionpublic PushNotificationsDeviceService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<PushNotificationsDeviceService>public void setWrappedService(PushNotificationsDeviceService pushNotificationsDeviceService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<PushNotificationsDeviceService>