public class DraftsResource extends Object
Constructor and Description |
---|
DraftsResource(UserAccessor userAccessor,
DraftService draftService,
FormatSettingsManager formatSettingsManager,
LocaleManager localeManager,
ContentPermissionManager contentPermissionManager,
PermissionManager permissionManager,
DraftManager draftManager,
I18NBeanFactory i18NBeanFactory,
PageManager pageManager,
DraftsTransitionHelper draftsTransitionHelper,
EditorConverter editConverter,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
discard(DraftData draftData) |
javax.ws.rs.core.Response |
getDraftMessage(long pageId,
String type,
String spaceKey) |
javax.ws.rs.core.Response |
getDrafts(int limit,
int offset)
Deprecated.
|
javax.ws.rs.core.Response |
save(DraftData draftData) |
public DraftsResource(UserAccessor userAccessor, DraftService draftService, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, ContentPermissionManager contentPermissionManager, PermissionManager permissionManager, DraftManager draftManager, I18NBeanFactory i18NBeanFactory, PageManager pageManager, DraftsTransitionHelper draftsTransitionHelper, EditorConverter editConverter, com.atlassian.event.api.EventPublisher eventPublisher)
@Deprecated public javax.ws.rs.core.Response getDrafts(int limit, int offset)
public javax.ws.rs.core.Response getDraftMessage(long pageId, String type, String spaceKey)
public javax.ws.rs.core.Response save(DraftData draftData)
public javax.ws.rs.core.Response discard(DraftData draftData)
Copyright © 2003–2016 Atlassian. All rights reserved.