@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
PushNotificationsDeviceServiceUtil
,
com.liferay.push.notifications.service.base.PushNotificationsDeviceServiceBaseImpl
,
com.liferay.push.notifications.service.impl.PushNotificationsDeviceServiceImpl
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.
|
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) |
@AccessControlled(guestAccessEnabled=true) PushNotificationsDevice addPushNotificationsDevice(java.lang.String token, java.lang.String platform) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
PushNotificationsDevice deletePushNotificationsDevice(long pushNotificationsDeviceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@AccessControlled(guestAccessEnabled=true) PushNotificationsDevice deletePushNotificationsDevice(java.lang.String token) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
void sendPushNotification(long[] toUserIds, java.lang.String payload) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void sendPushNotification(java.lang.String platform, java.util.List<java.lang.String> tokens, java.lang.String payload) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException