com.atlassian.confluence.tinymceplugin.rest
Class DraftsResource

java.lang.Object
  extended by com.atlassian.confluence.tinymceplugin.rest.DraftsResource

public class DraftsResource
extends java.lang.Object

REST resource to allowing saving and retrieving of a draft against a particular Confluence user.


Constructor Summary
DraftsResource(UserAccessor userAccessor, DraftService draftService, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, ContentPermissionManager contentPermissionManager, PermissionManager permissionManager)
           
 
Method Summary
 javax.ws.rs.core.Response discard(DraftData draftData)
           
 javax.ws.rs.core.Response getDrafts(int limit, int offset)
           
 javax.ws.rs.core.Response save(DraftData draftData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DraftsResource

public DraftsResource(UserAccessor userAccessor,
                      DraftService draftService,
                      FormatSettingsManager formatSettingsManager,
                      LocaleManager localeManager,
                      ContentPermissionManager contentPermissionManager,
                      PermissionManager permissionManager)
Method Detail

getDrafts

public javax.ws.rs.core.Response getDrafts(int limit,
                                           int offset)

save

public javax.ws.rs.core.Response save(DraftData draftData)

discard

public javax.ws.rs.core.Response discard(DraftData draftData)


Copyright © 2003-2014 Atlassian. All Rights Reserved.