Class DraftsResource
java.lang.Object
com.atlassian.confluence.tinymceplugin.rest.DraftsResource
REST resource to allowing saving and retrieving of a draft against a particular Confluence user.
-
Constructor Summary
ConstructorDescriptionDraftsResource
(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
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
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
-
Constructor Details
-
DraftsResource
@Inject 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 Details
-
getDrafts
Deprecated.since 5.9 -
getDraftMessage
-
save
-
discard
-