Interface PushNotificationsDeviceService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
PushNotificationsDeviceServiceWrapper

@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface PushNotificationsDeviceService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for PushNotificationsDevice. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Method Details

    • addPushNotificationsDevice

      @AccessControlled(guestAccessEnabled=true) PushNotificationsDevice addPushNotificationsDevice(String token, String platform) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePushNotificationsDevice

      PushNotificationsDevice deletePushNotificationsDevice(long pushNotificationsDeviceId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePushNotificationsDevice

      @AccessControlled(guestAccessEnabled=true) PushNotificationsDevice deletePushNotificationsDevice(String token) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • sendPushNotification

      void sendPushNotification(long[] toUserIds, String payload) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • sendPushNotification

      void sendPushNotification(String platform, List<String> tokens, String payload) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException