@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface PushNotificationsDeviceService extends BaseService
PushNotificationsDeviceServiceUtil| 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 PortalException
PortalExceptionPushNotificationsDevice deletePushNotificationsDevice(long pushNotificationsDeviceId) throws PortalException
PortalException@AccessControlled(guestAccessEnabled=true) PushNotificationsDevice deletePushNotificationsDevice(java.lang.String token) throws PortalException
PortalExceptionjava.lang.String getOSGiServiceIdentifier()
void sendPushNotification(long[] toUserIds,
java.lang.String payload)
throws PortalException
PortalExceptionvoid sendPushNotification(java.lang.String platform,
java.util.List<java.lang.String> tokens,
java.lang.String payload)
throws PortalException
PortalException