Package | Description |
---|---|
com.atlassian.confluence.content.service | |
com.atlassian.confluence.pages |
Modifier and Type | Method and Description |
---|---|
static DraftService.DraftType |
DraftService.DraftType.getByRepresentation(String representation) |
static DraftService.DraftType |
DraftService.DraftType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DraftService.DraftType[] |
DraftService.DraftType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Draft |
DraftService.createNewContentDraft(String spaceKey,
DraftService.DraftType type) |
Draft |
DefaultDraftService.createNewContentDraft(String spaceKey,
DraftService.DraftType type) |
Draft |
DraftService.findDraftForEditor(long contentId,
DraftService.DraftType type,
String spaceKey)
Find and return a draft of the specified content Id and type for the current user.
|
Draft |
DefaultDraftService.findDraftForEditor(long contentId,
DraftService.DraftType type,
String spaceKey) |
Draft |
DraftService.findOrCreateDraftForEditor(String spaceKey,
DraftService.DraftType type)
Deprecated.
|
Draft |
DefaultDraftService.findOrCreateDraftForEditor(String spaceKey,
DraftService.DraftType type) |
void |
DraftService.removeDraft(long contentId,
DraftService.DraftType type,
String spaceKey)
Deprecated.
since 4.3 use
DraftService.removeDraft(long) |
void |
DefaultDraftService.removeDraft(long contentId,
DraftService.DraftType type,
String spaceKey)
Deprecated.
|
Draft |
DraftService.saveDraftFromEditor(Long draftId,
String title,
DraftService.DraftType type,
String content,
Long contentId,
String spaceKey,
int pageVersion)
Create and store a draft for the current user with the supplied details.
|
Draft |
DefaultDraftService.saveDraftFromEditor(Long draftId,
String title,
DraftService.DraftType type,
String content,
Long contentId,
String spaceKey,
int pageVersion) |
Draft |
DraftService.saveDraftFromEditor(String title,
DraftService.DraftType type,
String content,
String contentId,
String spaceKey,
int pageVersion)
Deprecated.
|
Draft |
DefaultDraftService.saveDraftFromEditor(String title,
DraftService.DraftType type,
String content,
String contentId,
String spaceKey,
int pageVersion)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Draft |
DraftManager.create(String username,
DraftService.DraftType draftType,
String spaceKey)
Creates a new persistent draft of the specified draft type in the space
for the user.
|
Draft |
DefaultDraftManager.create(String username,
DraftService.DraftType draftType,
String spaceKey) |
Copyright © 2003–2015 Atlassian. All rights reserved.