Uses of Class
com.xpn.xwiki.api.Document

Uses of Document in com.xpn.xwiki.api
 

Methods in com.xpn.xwiki.api that return Document
protected  Document Api.convert(com.xpn.xwiki.doc.XWikiDocument xdoc)
          Convert an internal representation of document to public api document.
 Document XWiki.createDocument()
          API to create an empty document
 Document Attachment.getDocument()
           
 Document DeletedDocument.getDocument()
           
 Document XWiki.getDocument(org.xwiki.model.reference.DocumentReference reference)
          Loads an Document from the database.
 Document XWiki.getDocument(Document doc, String rev)
          Load a specific revision of a document
 Document XWiki.getDocument(String fullName)
          Loads an Document from the database.
 Document XWiki.getDocument(String space, String fullname)
          Loads an Document from the database.
 Document XWiki.getDocumentAsAuthor(org.xwiki.model.reference.DocumentReference reference)
          Loads an Document from the database.
 Document XWiki.getDocumentAsAuthor(String fullName)
          Loads an Document from the database.
 Document Document.getDocumentRevision(String revision)
          Allow to easily access any revision of a document
 Document Document.getPreviousDocument()
          Allow to easily access the previous revision of a document
 Document Document.getTranslatedDocument()
           
 Document Document.getTranslatedDocument(String language)
           
 

Methods in com.xpn.xwiki.api that return types with arguments of type Document
protected  List<Document> Api.convert(List<com.xpn.xwiki.doc.XWikiDocument> xdocList)
          Convert a list of internal representation of documents to public api documents.
 List<Document> XWiki.searchDocuments(String wheresql, boolean distinctbylanguage)
          API allowing to search for documents allowing to have mutliple entries per language
 List<Document> XWiki.searchDocuments(String wheresql, boolean distinctbylanguage, int nb, int start)
          API allowing to search for documents allowing to have multiple entries per language
 List<Document> XWiki.wrapDocs(List<?> docs)
          Function to wrap a list of XWikiDocument into Document objects
 

Methods in com.xpn.xwiki.api with parameters of type Document
 List<com.xpn.xwiki.doc.AttachmentDiff> Document.getAttachmentDiff(Document origdoc, Document newdoc)
           
 List<List<com.xpn.xwiki.objects.ObjectDiff>> Document.getClassDiff(Document origdoc, Document newdoc)
           
 List<org.suigeneris.jrcs.diff.delta.Delta> Document.getContentDiff(Document origdoc, Document newdoc)
           
 Document XWiki.getDocument(Document doc, String rev)
          Load a specific revision of a document
 List<com.xpn.xwiki.doc.MetaDataDiff> Document.getMetaDataDiff(Document origdoc, Document newdoc)
           
 List<List<com.xpn.xwiki.objects.ObjectDiff>> Document.getObjectDiff(Document origdoc, Document newdoc)
           
 List<org.suigeneris.jrcs.diff.delta.Delta> Document.getRenderedContentDiff(Document origdoc, Document newdoc)
           
 List<org.suigeneris.jrcs.diff.delta.Delta> Document.getXMLDiff(Document origdoc, Document newdoc)
           
 boolean XWiki.renamePage(Document doc, String newFullName)
          API to rename a page (experimental) Rights are necessary to edit the source and target page All objects and attachments ID are modified in the process to link to the new page name
 String XWiki.renderChunk(org.suigeneris.jrcs.diff.delta.Chunk chunk, boolean source, Document doc)
          API to render a chunk (difference between two versions
 String XWiki.renderChunk(org.suigeneris.jrcs.diff.delta.Chunk chunk, Document doc)
          API to render a chunk (difference between two versions
 String XWiki.renderText(String text, Document doc)
          API to render a text in the context of a document
 

Constructors in com.xpn.xwiki.api with parameters of type Document
Attachment(Document doc, com.xpn.xwiki.doc.XWikiAttachment attachment, com.xpn.xwiki.XWikiContext context)
           
 



Copyright © 2004-2011 XWiki. All Rights Reserved.