Class DraftsResource
- java.lang.Object
-
- com.atlassian.confluence.tinymceplugin.rest.DraftsResource
-
public class DraftsResource extends Object
REST resource to allowing saving and retrieving of a draft against a particular Confluence user.
-
-
Constructor Summary
Constructors Constructor Description DraftsResource(UserAccessor userAccessor, DraftService draftService, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, PermissionManager permissionManager, DraftManager draftManager, I18NBeanFactory i18NBeanFactory, PageManager pageManager, DraftsTransitionHelper draftsTransitionHelper, EditorConverter editConverter, com.atlassian.event.api.EventPublisher eventPublisher, RelationService relationService, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, TouchRelationSupport touchRelationSupport)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.Response
discard(DraftData draftData)
javax.ws.rs.core.Response
getDraftMessage(long existingDraftId, long pageId, String type, String spaceKey)
javax.ws.rs.core.Response
getDrafts(int limit, int offset)
Deprecated.since 5.9javax.ws.rs.core.Response
save(DraftData draftData, boolean ignoreRelations)
-
-
-
Constructor Detail
-
DraftsResource
public DraftsResource(UserAccessor userAccessor, DraftService draftService, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, PermissionManager permissionManager, DraftManager draftManager, I18NBeanFactory i18NBeanFactory, PageManager pageManager, DraftsTransitionHelper draftsTransitionHelper, EditorConverter editConverter, com.atlassian.event.api.EventPublisher eventPublisher, RelationService relationService, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, TouchRelationSupport touchRelationSupport)
-
-
Method Detail
-
getDrafts
@Deprecated public javax.ws.rs.core.Response getDrafts(int limit, int offset)
Deprecated.since 5.9
-
getDraftMessage
public javax.ws.rs.core.Response getDraftMessage(long existingDraftId, long pageId, String type, String spaceKey)
-
save
public javax.ws.rs.core.Response save(DraftData draftData, boolean ignoreRelations)
-
discard
public javax.ws.rs.core.Response discard(DraftData draftData)
-
-