public class DraftsResource extends Object
Constructor and 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) |
Modifier and Type | Method and 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.9
|
javax.ws.rs.core.Response |
save(DraftData draftData,
boolean ignoreRelations) |
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)
@Deprecated public javax.ws.rs.core.Response getDrafts(int limit, int offset)
public javax.ws.rs.core.Response getDraftMessage(long existingDraftId, long pageId, String type, String spaceKey)
public javax.ws.rs.core.Response save(DraftData draftData, boolean ignoreRelations)
public javax.ws.rs.core.Response discard(DraftData draftData)
Copyright © 2003–2021 Atlassian. All rights reserved.