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.void
sendPushNotification
(long[] toUserIds, String payload) void
sendPushNotification
(String platform, List<String> tokens, String payload) void
setWrappedService
(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:
addPushNotificationsDevice
in interfacePushNotificationsDeviceService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePushNotificationsDevice
public PushNotificationsDevice deletePushNotificationsDevice(long pushNotificationsDeviceId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePushNotificationsDevice
in interfacePushNotificationsDeviceService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePushNotificationsDevice
public PushNotificationsDevice deletePushNotificationsDevice(String token) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePushNotificationsDevice
in interfacePushNotificationsDeviceService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfacePushNotificationsDeviceService
- Returns:
- the OSGi service identifier
-
sendPushNotification
public void sendPushNotification(long[] toUserIds, String payload) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
sendPushNotification
in 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:
sendPushNotification
in interfacePushNotificationsDeviceService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<PushNotificationsDeviceService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<PushNotificationsDeviceService>
-