Class ContentWatchesResource
- java.lang.Object
-
- com.atlassian.confluence.plugins.rest.resources.ContentWatchesResource
-
public class ContentWatchesResource extends Object
-
-
Constructor Summary
Constructors Constructor Description ContentWatchesResource(NotificationManager notificationManager, ContentEntityManager contentEntityManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
addContentWatch(long contentId)
javax.ws.rs.core.Response
getContentWatches(long contentId)
static Map<String,Object>
getResult(List<Notification> notifications)
javax.ws.rs.core.Response
removeContentWatch(long contentId)
-
-
-
Constructor Detail
-
ContentWatchesResource
public ContentWatchesResource(NotificationManager notificationManager, @Qualifier("contentEntityManager") ContentEntityManager contentEntityManager)
-
-
Method Detail
-
getContentWatches
public javax.ws.rs.core.Response getContentWatches(long contentId)
-
getResult
public static Map<String,Object> getResult(List<Notification> notifications)
-
addContentWatch
public javax.ws.rs.core.Response addContentWatch(long contentId)
-
removeContentWatch
public javax.ws.rs.core.Response removeContentWatch(long contentId)
-
-