|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Draft in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers |
---|
Methods in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers that return Draft | |
---|---|
Draft |
DraftResourceIdentifierResolver.resolve(DraftResourceIdentifier resourceIdentifier,
ConversionContext conversionContext)
|
Methods in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers with parameters of type Draft | |
---|---|
protected boolean |
DefaultResourceIdentifierMatcher.matches(Draft draft,
ResourceIdentifier ri)
|
Constructor parameters in com.atlassian.confluence.content.render.xhtml.model.resource.identifiers with type arguments of type Draft | |
---|---|
AttachmentResourceIdentifierResolver(ResourceIdentifierResolver<PageResourceIdentifier,Page> pageResourceResolver,
ResourceIdentifierResolver<BlogPostResourceIdentifier,BlogPost> blogPostResourceResolver,
ResourceIdentifierResolver<DraftResourceIdentifier,Draft> draftResourceResolver,
AttachmentManager attachmentManager)
|
Uses of Draft in com.atlassian.confluence.content.service |
---|
Methods in com.atlassian.confluence.content.service that return Draft | |
---|---|
Draft |
DraftService.createDraftForEditor(AbstractPage page)
Create and store a draft for the supplied AbstractPage for the current user. |
Draft |
DefaultDraftService.createDraftForEditor(AbstractPage page)
|
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. @since 4.2 use DraftService.findDraftForEditor(long, com.atlassian.confluence.content.service.DraftService.DraftType, java.lang.String) or DraftService.createNewContentDraft(java.lang.String, com.atlassian.confluence.content.service.DraftService.DraftType) or DraftService.getDraft(long) instead. |
Draft |
DefaultDraftService.findOrCreateDraftForEditor(String spaceKey,
DraftService.DraftType type)
|
Draft |
DraftService.getDraft(long draftId)
gets the draft by id for the authenticated user |
Draft |
DefaultDraftService.getDraft(long draftId)
|
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. @since 4.3 use DraftService.saveDraftFromEditor(Long, String, DraftType, String, Long, String, int) |
Draft |
DefaultDraftService.saveDraftFromEditor(String title,
DraftService.DraftType type,
String content,
String contentId,
String spaceKey,
int pageVersion)
Deprecated. |
Methods in com.atlassian.confluence.content.service that return types with arguments of type Draft | |
---|---|
List<Draft> |
DraftService.findDrafts(int limit,
int offset)
Finds the users drafts. |
List<Draft> |
DefaultDraftService.findDrafts(int limit,
int offset)
|
Methods in com.atlassian.confluence.content.service with parameters of type Draft | |
---|---|
ServiceCommand |
DefaultBlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
ServiceCommand |
BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
ServiceCommand |
PageService.newCreatePageCommand(PageProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
Retrieve a command for creating a new page for the specified user. |
ServiceCommand |
DefaultPageService.newCreatePageCommand(PageProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
ServiceCommand |
PageService.newCreatePageCommandFromExisting(PageProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
This is not a public API method! Creating a page from an existing page has different authorisation and validation logic from creating a brand new page. |
ServiceCommand |
DefaultPageService.newCreatePageCommandFromExisting(PageProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
Uses of Draft in com.atlassian.confluence.content.service.blogpost |
---|
Constructors in com.atlassian.confluence.content.service.blogpost with parameters of type Draft | |
---|---|
CreateBlogPostCommandImpl(PageManager pageManager,
SpacePermissionManager spacePermissionManager,
ContentPermissionManager contentPermissionManager,
DraftManager draftManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
BlogPostProvider blogPostProvider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
Uses of Draft in com.atlassian.confluence.content.service.page |
---|
Fields in com.atlassian.confluence.content.service.page declared as Draft | |
---|---|
protected Draft |
CreateAbstractPageCommandImpl.draft
The draft used while creating the content. |
Constructors in com.atlassian.confluence.content.service.page with parameters of type Draft | |
---|---|
CreateAbstractPageCommandImpl(PageManager pageManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
DraftManager draftManager,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
|
CreatePageCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
DraftManager draftManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
|
CreatePageFromExistingCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
DraftManager draftManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
Uses of Draft in com.atlassian.confluence.diff.actions |
---|
Methods in com.atlassian.confluence.diff.actions that return Draft | |
---|---|
Draft |
ViewDiffOfDraftAction.getDraft()
|
Uses of Draft in com.atlassian.confluence.diff.beans |
---|
Constructors in com.atlassian.confluence.diff.beans with parameters of type Draft | |
---|---|
ConfluenceDiffDraftBean(ContentEntityObject original,
Draft latest,
Differ differ)
|
Uses of Draft in com.atlassian.confluence.links |
---|
Constructors in com.atlassian.confluence.links with parameters of type Draft | |
---|---|
DraftAttachmentLink(com.atlassian.renderer.links.GenericLinkParser parser,
Draft draft,
AttachmentManager attachmentManager)
|
Uses of Draft in com.atlassian.confluence.pages |
---|
Methods in com.atlassian.confluence.pages that return Draft | |
---|---|
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)
|
Draft |
DraftManager.createDraftForPage(AbstractPage page,
String username)
Gets a new draft object. |
Draft |
DefaultDraftManager.createDraftForPage(AbstractPage page,
String username)
|
Draft |
DraftManager.findDraft(Long pageId,
String owner,
String type,
String spaceKey)
Finds the draft with the given page ID, owner and type. |
Draft |
DefaultDraftManager.findDraft(Long pageId,
String owner,
String type,
String spaceKey)
|
Draft |
DraftManager.findDraft(String pageId,
String owner,
String type,
String spaceKey)
Deprecated. since 4.3 use DraftManager.findDraft(Long, String, String, String) |
Draft |
DefaultDraftManager.findDraft(String pageId,
String owner,
String type,
String spaceKey)
Deprecated. |
Draft |
DraftManager.getDraft(long draftId)
Finds the draft given a specific draft id. |
Draft |
DefaultDraftManager.getDraft(long draftId)
|
Draft |
DraftManager.getOrCreate(String username,
String draftType,
String spaceKey)
Gets a new draft object. |
Draft |
DefaultDraftManager.getOrCreate(String username,
String draftType,
String spaceKey)
|
Methods in com.atlassian.confluence.pages that return types with arguments of type Draft | |
---|---|
List<Draft> |
DraftManager.findDraftsForUser(com.atlassian.user.User user)
Returns the drafts for the user provided or an empty list if the user has no drafts. |
List<Draft> |
DefaultDraftManager.findDraftsForUser(com.atlassian.user.User user)
|
List<Draft> |
DraftManager.getDraftsForSpace(String spaceKey)
|
List<Draft> |
DefaultDraftManager.getDraftsForSpace(String spaceKey)
|
Methods in com.atlassian.confluence.pages with parameters of type Draft | |
---|---|
String |
DraftManager.getMergedContent(Draft draft)
Deprecated. since 4.0 use mergeContent(Draft draft) instead. |
String |
DefaultDraftManager.getMergedContent(Draft draft)
Deprecated. since 4.0 use the MergeResult mergeContent(Draft draft) instead. |
boolean |
DraftManager.isMergeRequired(Draft draft)
Returns true if the draft version of a page is different to the current version of a page, otherwise false. |
boolean |
DefaultDraftManager.isMergeRequired(Draft draft)
|
MergeResult |
DraftManager.mergeContent(Draft draft)
Attempts the merge the changes done by this draft with the latest version of the content. |
MergeResult |
DefaultDraftManager.mergeContent(Draft draft)
Merges the draft with the original version compared to the latest version of the page. |
void |
DraftManager.removeDraft(Draft draft)
Removes the draft specified by the given page ID, owner and type. |
void |
DefaultDraftManager.removeDraft(Draft draft)
|
void |
DraftManager.saveDraft(Draft draft)
Saves the provided draft to the data store. |
void |
DefaultDraftManager.saveDraft(Draft draft)
|
Uses of Draft in com.atlassian.confluence.pages.actions |
---|
Methods in com.atlassian.confluence.pages.actions that return Draft | |
---|---|
protected Draft |
CreatePageAction.createDraft()
|
protected Draft |
CopyPageAction.createDraft()
Override the base implementation to create a new draft but copy to this draft any attachments from the source page. |
protected Draft |
AbstractCreateAndEditPageAction.createDraft()
|
Draft |
ResumeDraftAction.getDraft()
|
Draft |
AbstractCreateAndEditPageAction.getDraft()
Return the current draft in use if there is one or null otherwise. |
Draft |
AbstractCreateAndEditPageAction.getExistingDraft()
|
Uses of Draft in com.atlassian.confluence.pages.persistence.dao |
---|
Methods in com.atlassian.confluence.pages.persistence.dao that return Draft | |
---|---|
Draft |
SessionDraftDao.getDraft(long draftId)
|
Draft |
DraftDao.getDraft(long draftId)
Returns the draft with the given ID, or null if no draft is found with that ID. |
Draft |
SessionDraftDao.getDraft(Long pageId,
String owner,
String type,
String spaceKey)
|
Draft |
DraftDao.getDraft(Long pageId,
String owner,
String type,
String spaceKey)
Finds and returns a draft object with all the specified properties or null if none is found. |
Draft |
SessionDraftDao.getDraft(String pageId,
String owner,
String type,
String spaceKey)
|
Draft |
DraftDao.getDraft(String pageId,
String owner,
String type,
String spaceKey)
Finds and returns a draft object with all the specified properties or null if none is found. |
Methods in com.atlassian.confluence.pages.persistence.dao that return types with arguments of type Draft | |
---|---|
List<Draft> |
SessionDraftDao.findAll()
|
List<Draft> |
DraftDao.findAll()
Returns all drafts stored in the data store. |
List<Draft> |
SessionDraftDao.findByCreatorName(String creatorName)
|
List<Draft> |
DraftDao.findByCreatorName(String creatorName)
Returns the drafts stored against the given username. |
List<Draft> |
SessionDraftDao.getAllDraftsForSpace(String spaceKey)
|
List<Draft> |
DraftDao.getAllDraftsForSpace(String spaceKey)
|
Methods in com.atlassian.confluence.pages.persistence.dao with parameters of type Draft | |
---|---|
void |
SessionDraftDao.remove(Draft draft)
|
void |
DraftDao.remove(Draft draft)
Removes a draft based on its page ID, owner and type. |
void |
SessionDraftDao.saveOrUpdate(Draft draft)
|
void |
DraftDao.saveOrUpdate(Draft draft)
Saves the draft. |
Uses of Draft in com.atlassian.confluence.pages.persistence.dao.hibernate |
---|
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return Draft | |
---|---|
Draft |
HibernateDraftDao.getDraft(long draftId)
|
Draft |
HibernateDraftDao.getDraft(Long pageId,
String creatorName,
String draftType,
String spaceKey)
|
Draft |
HibernateDraftDao.getDraft(String pageId,
String creatorName,
String draftType,
String spaceKey)
|
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return types with arguments of type Draft | |
---|---|
List<Draft> |
HibernateDraftDao.findByCreatorName(String creatorName)
|
List<Draft> |
HibernateDraftDao.getAllDraftsForSpace(String spaceKey)
|
Methods in com.atlassian.confluence.pages.persistence.dao.hibernate with parameters of type Draft | |
---|---|
void |
HibernateDraftDao.remove(Draft draft)
|
void |
HibernateDraftDao.saveOrUpdate(Draft draft)
|
Uses of Draft in com.atlassian.confluence.plugin.descriptor.web |
---|
Methods in com.atlassian.confluence.plugin.descriptor.web that return Draft | |
---|---|
Draft |
WebInterfaceContext.getDraft()
Returns a draft related to the web interface state, or null if there is no draft. |
Draft |
DefaultWebInterfaceContext.getDraft()
|
Uses of Draft in com.atlassian.confluence.user.actions |
---|
Methods in com.atlassian.confluence.user.actions that return types with arguments of type Draft | |
---|---|
List<Draft> |
ViewMyDraftsAction.getDrafts()
|
Map<String,List<Draft>> |
ViewMyDraftsAction.getDraftsBySpace()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |