Uses of Interface
org.apache.chemistry.opencmis.client.api.Document

Packages that use Document
org.apache.chemistry.opencmis.client.api The OpenCMIS Client API. 
org.apache.chemistry.opencmis.client.util   
 

Uses of Document in org.apache.chemistry.opencmis.client.api
 

Methods in org.apache.chemistry.opencmis.client.api that return Document
 Document TransientDocument.copy(ObjectId targetFolderId)
           
 Document Document.copy(ObjectId targetFolderId)
          Creates a copy of this document, including content.
 Document TransientDocument.copy(ObjectId targetFolderId, Map<String,?> properties, VersioningState versioningState, List<Policy> policies, List<Ace> addACEs, List<Ace> removeACEs, OperationContext context)
           
 Document Document.copy(ObjectId targetFolderId, Map<String,?> properties, VersioningState versioningState, List<Policy> policies, List<Ace> addACEs, List<Ace> removeACEs, OperationContext context)
          Creates a copy of this document, including content.
 Document TransientFolder.createDocument(Map<String,?> properties, ContentStream contentStream, VersioningState versioningState)
           
 Document Folder.createDocument(Map<String,?> properties, ContentStream contentStream, VersioningState versioningState)
          Creates a new document in this folder.
 Document TransientFolder.createDocument(Map<String,?> properties, ContentStream contentStream, VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context)
           
 Document Folder.createDocument(Map<String,?> properties, ContentStream contentStream, VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context)
          Creates a new document in this folder.
 Document TransientFolder.createDocumentFromSource(ObjectId source, Map<String,?> properties, VersioningState versioningState)
           
 Document Folder.createDocumentFromSource(ObjectId source, Map<String,?> properties, VersioningState versioningState)
          Creates a new document from a source document in this folder.
 Document TransientFolder.createDocumentFromSource(ObjectId source, Map<String,?> properties, VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context)
           
 Document Folder.createDocumentFromSource(ObjectId source, Map<String,?> properties, VersioningState versioningState, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context)
          Creates a new document from a source document in this folder.
 Document Document.deleteContentStream()
          Removes the current content stream from the document.
 Document TransientDocument.getObjectOfLatestVersion(boolean major)
           
 Document Document.getObjectOfLatestVersion(boolean major)
          Fetches the latest major or minor version of this document.
 Document TransientDocument.getObjectOfLatestVersion(boolean major, OperationContext context)
           
 Document Document.getObjectOfLatestVersion(boolean major, OperationContext context)
          Fetches the latest major or minor version of this document using the given OperationContext.
 Document Rendition.getRenditionDocument()
           
 Document Rendition.getRenditionDocument(OperationContext context)
           
 Document Document.setContentStream(ContentStream contentStream, boolean overwrite)
          Sets a new content stream for the document.
 

Methods in org.apache.chemistry.opencmis.client.api that return types with arguments of type Document
 List<Document> TransientDocument.getAllVersions()
           
 List<Document> Document.getAllVersions()
          Fetches all versions of this document.
 List<Document> TransientDocument.getAllVersions(OperationContext context)
           
 List<Document> Document.getAllVersions(OperationContext context)
          Fetches all versions of this document using the given OperationContext.
 ItemIterable<Document> TransientFolder.getCheckedOutDocs()
           
 ItemIterable<Document> Session.getCheckedOutDocs()
          Returns all checked out documents.
 ItemIterable<Document> Folder.getCheckedOutDocs()
          Returns all checked out documents in this folder.
 ItemIterable<Document> TransientFolder.getCheckedOutDocs(OperationContext context)
           
 ItemIterable<Document> Session.getCheckedOutDocs(OperationContext context)
          Returns all checked out documents with the given OperationContext .
 ItemIterable<Document> Folder.getCheckedOutDocs(OperationContext context)
          Returns all checked out documents in this folder using the given OperationContext.
 

Uses of Document in org.apache.chemistry.opencmis.client.util
 

Methods in org.apache.chemistry.opencmis.client.util that return Document
static Document FileUtils.createDocumentFromFile(String parentIdOrPath, File file, String type, VersioningState versioningState, Session session)
          Creates a document from a file.
static Document FileUtils.createTextDocument(String parentIdOrPath, String name, String content, String type, VersioningState versioningState, Session session)
          Creates a text document from a string.
 

Methods in org.apache.chemistry.opencmis.client.util with parameters of type Document
static void FileUtils.download(Document doc, String destinationPath)
          Downloads the contentStream for the given doc to the specified path.
 



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.