Class PushNotificationsDeviceServiceWrapper
java.lang.Object
com.liferay.push.notifications.service.PushNotificationsDeviceServiceWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ServiceWrapper<PushNotificationsDeviceService>,PushNotificationsDeviceService
public class PushNotificationsDeviceServiceWrapper
extends Object
implements PushNotificationsDeviceService, com.liferay.portal.kernel.service.ServiceWrapper<PushNotificationsDeviceService>
Provides a wrapper for
PushNotificationsDeviceService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionPushNotificationsDeviceServiceWrapper(PushNotificationsDeviceService pushNotificationsDeviceService) -
Method Summary
Modifier and TypeMethodDescriptionaddPushNotificationsDevice(String token, String platform) deletePushNotificationsDevice(long pushNotificationsDeviceId) Returns the OSGi service identifier.voidsendPushNotification(long[] toUserIds, String payload) voidsendPushNotification(String platform, List<String> tokens, String payload) voidsetWrappedService(PushNotificationsDeviceService pushNotificationsDeviceService)
-
Constructor Details
-
PushNotificationsDeviceServiceWrapper
public PushNotificationsDeviceServiceWrapper() -
PushNotificationsDeviceServiceWrapper
public PushNotificationsDeviceServiceWrapper(PushNotificationsDeviceService pushNotificationsDeviceService)
-
-
Method Details
-
addPushNotificationsDevice
public PushNotificationsDevice addPushNotificationsDevice(String token, String platform) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addPushNotificationsDevicein interfacePushNotificationsDeviceService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePushNotificationsDevice
public PushNotificationsDevice deletePushNotificationsDevice(long pushNotificationsDeviceId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePushNotificationsDevicein interfacePushNotificationsDeviceService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePushNotificationsDevice
public PushNotificationsDevice deletePushNotificationsDevice(String token) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePushNotificationsDevicein interfacePushNotificationsDeviceService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacePushNotificationsDeviceService- Returns:
- the OSGi service identifier
-
sendPushNotification
public void sendPushNotification(long[] toUserIds, String payload) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
sendPushNotificationin interfacePushNotificationsDeviceService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
sendPushNotification
public void sendPushNotification(String platform, List<String> tokens, String payload) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
sendPushNotificationin interfacePushNotificationsDeviceService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<PushNotificationsDeviceService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<PushNotificationsDeviceService>
-