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.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, 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.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)
          Find the draft within the identified space for the current user.
 Draft DefaultDraftService.findOrCreateDraftForEditor(String spaceKey, DraftService.DraftType type)
           
 Draft DraftService.saveDraftFromEditor(String title, DraftService.DraftType type, String content, String contentId, String spaceKey, int pageVersion)
          Create and store a draft for the current user with the supplied details.
 Draft DefaultDraftService.saveDraftFromEditor(String title, DraftService.DraftType type, String content, String contentId, String spaceKey, int pageVersion)
           
 

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.createDraftForPage(AbstractPage page, String username)
          Gets a new draft object.
 Draft DefaultDraftManager.createDraftForPage(AbstractPage page, String username)
           
 Draft DraftManager.findDraft(String pageId, String owner, String type, String spaceKey)
          Finds the draft with the given page ID, owner and type.
 Draft DefaultDraftManager.findDraft(String pageId, String owner, String type, String spaceKey)
           
 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.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.createDraftIfItDoesNotExist()
           
protected  Draft CopyPageAction.createDraftIfItDoesNotExist()
          Override the base implementation to create a new draft but copy to this draft any attachments from the source page.
 Draft ResumeDraftAction.getDraft()
           
 Draft AbstractCreateAndEditPageAction.getDraft()
          Return the current draft in use if there is one or null otherwise.
 

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(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(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()
           
 



Copyright © 2003-2012 Atlassian. All Rights Reserved.