com.atlassian.mywork.client.service
Class RestNotificationService
java.lang.Object
com.atlassian.mywork.client.service.RestNotificationService
- All Implemented Interfaces:
- RemoteNotificationService, NotificationService
public class RestNotificationService
- extends java.lang.Object
- implements RemoteNotificationService
This class provides access to NotificationService over REST.
|
Method Summary |
java.util.concurrent.Future<Notification> |
createOrUpdate(java.lang.String username,
Notification notification)
|
int |
getCount(java.lang.String username)
|
void |
updateMetadata(java.lang.String username,
java.lang.String globalId,
org.codehaus.jackson.node.ObjectNode condition,
org.codehaus.jackson.node.ObjectNode metadata)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestNotificationService
public RestNotificationService(ReliableRestService restService)
createOrUpdate
public java.util.concurrent.Future<Notification> createOrUpdate(java.lang.String username,
Notification notification)
- Specified by:
createOrUpdate in interface NotificationService
getCount
public int getCount(java.lang.String username)
- Specified by:
getCount in interface NotificationService
updateMetadata
public void updateMetadata(java.lang.String username,
java.lang.String globalId,
org.codehaus.jackson.node.ObjectNode condition,
org.codehaus.jackson.node.ObjectNode metadata)
- Specified by:
updateMetadata in interface NotificationService
Copyright © 2012 Atlassian. All Rights Reserved.