Uses of Class
com.atlassian.confluence.pages.Draft

Packages that use Draft
com.atlassian.confluence.content.render.xhtml.model.resource.identifiers   
com.atlassian.confluence.content.service   
com.atlassian.confluence.content.service.blogpost   
com.atlassian.confluence.content.service.page   
com.atlassian.confluence.diff.actions   
com.atlassian.confluence.diff.beans   
com.atlassian.confluence.links   
com.atlassian.confluence.pages   
com.atlassian.confluence.pages.actions   
com.atlassian.confluence.pages.persistence.dao   
com.atlassian.confluence.pages.persistence.dao.hibernate   
com.atlassian.confluence.plugin.descriptor.web   
com.atlassian.confluence.user.actions   
 

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, ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject> contentEntityResourceResolver, 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(java.lang.String spaceKey, DraftService.DraftType type)
           
 Draft DefaultDraftService.createNewContentDraft(java.lang.String spaceKey, DraftService.DraftType type)
           
 Draft DraftService.findDraftForEditor(long contentId, DraftService.DraftType type, java.lang.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, java.lang.String spaceKey)
           
 Draft DraftService.findOrCreateDraftForEditor(java.lang.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(java.lang.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(java.lang.Long draftId, java.lang.String title, DraftService.DraftType type, java.lang.String content, java.lang.Long contentId, java.lang.String spaceKey, int pageVersion)
          Create and store a draft for the current user with the supplied details.
 Draft DefaultDraftService.saveDraftFromEditor(java.lang.Long draftId, java.lang.String title, DraftService.DraftType type, java.lang.String content, java.lang.Long contentId, java.lang.String spaceKey, int pageVersion)
           
 Draft DraftService.saveDraftFromEditor(java.lang.String title, DraftService.DraftType type, java.lang.String content, java.lang.String contentId, java.lang.String spaceKey, int pageVersion)
          Deprecated. @since 4.3 use DraftService.saveDraftFromEditor(Long, String, DraftType, String, Long, String, int)
 Draft DefaultDraftService.saveDraftFromEditor(java.lang.String title, DraftService.DraftType type, java.lang.String content, java.lang.String contentId, java.lang.String spaceKey, int pageVersion)
          Deprecated. 
 

Methods in com.atlassian.confluence.content.service that return types with arguments of type Draft
 java.util.List<Draft> DraftService.findDrafts(int limit, int offset)
          Finds the users drafts.
 java.util.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, CreateContextProvider contextProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf)
           
 ServiceCommand BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf)
           
 ServiceCommand DefaultBlogPostService.newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf)
          Deprecated. 
 ServiceCommand BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf)
          Deprecated. @since 5.4 use BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, Draft draft, User user, boolean notifySelf)
 ServiceCommand PageService.newCreatePageCommand(PageProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, 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, CreateContextProvider contextProvider, 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)
          Deprecated. @since 5.4 use PageService.newCreatePageCommand(PageProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, Draft draft, User user, boolean notifySelf)
 ServiceCommand DefaultPageService.newCreatePageCommand(PageProvider provider, ContentPermissionProvider permissionProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf)
          Deprecated. 
 ServiceCommand PageService.newCreatePageCommandFromExisting(PageProvider provider, ContentPermissionProvider permissionProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf)
          Deprecated. since 5.4.1, use PageService.newCreatePageCommandFromExisting(PageProvider provider, ContentPermissionProvider permissionProvider, Draft draft, User user, boolean notifySelf, SpaceProvider spaceProvider)
 ServiceCommand DefaultPageService.newCreatePageCommandFromExisting(PageProvider provider, ContentPermissionProvider permissionProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf)
          Deprecated. 
 ServiceCommand PageService.newCreatePageCommandFromExisting(PageProvider provider, ContentPermissionProvider permissionProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider)
           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, SpaceProvider spaceProvider)
           
 

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, CreateContextProvider contextProvider, 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, CreateContextProvider contextProvider, 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, CreateContextProvider contextProvider, 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, CreateContextProvider contextProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider)
           
 

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(java.lang.String username, DraftService.DraftType draftType, java.lang.String spaceKey)
          Creates a new persistent draft of the specified draft type in the space for the user.
 Draft DefaultDraftManager.create(java.lang.String username, DraftService.DraftType draftType, java.lang.String spaceKey)
           
 Draft DraftManager.createDraftForPage(AbstractPage page, java.lang.String username)
          Gets a new draft object.
 Draft DefaultDraftManager.createDraftForPage(AbstractPage page, java.lang.String username)
           
 Draft DraftManager.findDraft(java.lang.Long pageId, java.lang.String owner, java.lang.String type, java.lang.String spaceKey)
          Finds the draft with the given page ID, owner and type.
 Draft DefaultDraftManager.findDraft(java.lang.Long pageId, java.lang.String owner, java.lang.String type, java.lang.String spaceKey)
           
 Draft DraftManager.findDraft(java.lang.String pageId, java.lang.String owner, java.lang.String type, java.lang.String spaceKey)
          Deprecated. since 4.3 use DraftManager.findDraft(Long, String, String, String)
 Draft DefaultDraftManager.findDraft(java.lang.String pageId, java.lang.String owner, java.lang.String type, java.lang.String spaceKey)
          Deprecated. 
 Draft DraftManager.getDraft(long draftId)
          Finds the draft given a specific draft id.
 Draft DefaultDraftManager.getDraft(long draftId)
           
 Draft DraftManager.getOrCreate(java.lang.String username, java.lang.String draftType, java.lang.String spaceKey)
          Gets a new draft object.
 Draft DefaultDraftManager.getOrCreate(java.lang.String username, java.lang.String draftType, java.lang.String spaceKey)
           
 

Methods in com.atlassian.confluence.pages that return types with arguments of type Draft
 java.util.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.
 java.util.List<Draft> DefaultDraftManager.findDraftsForUser(com.atlassian.user.User user)
           
 java.util.List<Draft> DraftManager.getDraftsForSpace(java.lang.String spaceKey)
           
 java.util.List<Draft> DefaultDraftManager.getDraftsForSpace(java.lang.String spaceKey)
           
 

Methods in com.atlassian.confluence.pages with parameters of type Draft
 java.lang.String DraftManager.getMergedContent(Draft draft)
          Deprecated. since 4.0 use mergeContent(Draft draft) instead.
 java.lang.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(java.lang.Long pageId, java.lang.String owner, java.lang.String type, java.lang.String spaceKey)
          Deprecated. 
 Draft DraftDao.getDraft(java.lang.Long pageId, java.lang.String owner, java.lang.String type, java.lang.String spaceKey)
          Deprecated. since 5.2. User DraftDao.getDraft(String, com.atlassian.confluence.user.ConfluenceUser, String, String) instead.
 Draft SessionDraftDao.getDraft(java.lang.String pageId, ConfluenceUser owner, java.lang.String type, java.lang.String spaceKey)
           
 Draft DraftDao.getDraft(java.lang.String pageId, ConfluenceUser owner, java.lang.String type, java.lang.String spaceKey)
          Finds and returns a draft object with all the specified properties or null if none is found.
 Draft SessionDraftDao.getDraft(java.lang.String pageId, java.lang.String owner, java.lang.String type, java.lang.String spaceKey)
          Deprecated. 
 Draft DraftDao.getDraft(java.lang.String pageId, java.lang.String owner, java.lang.String type, java.lang.String spaceKey)
          Deprecated. since 5.2. User DraftDao.getDraft(String, com.atlassian.confluence.user.ConfluenceUser, String, String) instead.
 

Methods in com.atlassian.confluence.pages.persistence.dao that return types with arguments of type Draft
 java.util.List<Draft> SessionDraftDao.findAll()
           
 java.util.List<Draft> DraftDao.findAll()
          Returns all drafts stored in the data store.
 java.util.List<Draft> SessionDraftDao.findByCreatorName(java.lang.String creatorName)
           
 java.util.List<Draft> DraftDao.findByCreatorName(java.lang.String creatorName)
          Returns the drafts stored against the given username.
 java.util.List<Draft> SessionDraftDao.getAllDraftsForSpace(java.lang.String spaceKey)
           
 java.util.List<Draft> DraftDao.getAllDraftsForSpace(java.lang.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(java.lang.Long pageId, java.lang.String creatorName, java.lang.String draftType, java.lang.String spaceKey)
          Deprecated. 
 Draft HibernateDraftDao.getDraft(java.lang.String pageId, ConfluenceUser creator, java.lang.String draftType, java.lang.String spaceKey)
           
 Draft HibernateDraftDao.getDraft(java.lang.String pageId, java.lang.String creatorName, java.lang.String draftType, java.lang.String spaceKey)
          Deprecated. 
 

Methods in com.atlassian.confluence.pages.persistence.dao.hibernate that return types with arguments of type Draft
 java.util.List<Draft> HibernateDraftDao.findByCreatorName(java.lang.String creatorName)
           
 java.util.List<Draft> HibernateDraftDao.getAllDraftsForSpace(java.lang.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
 java.util.List<Draft> ViewMyDraftsAction.getDrafts()
           
 java.util.Map<java.lang.String,java.util.List<Draft>> ViewMyDraftsAction.getDraftsBySpace()
           
 



Copyright © 2003-2014 Atlassian. All Rights Reserved.