Package org.nuxeo.ecm.core.io
Interface ExportedDocument
-
- All Known Implementing Classes:
ExportedDocumentImpl
,TypedExportedDocumentImpl
public interface ExportedDocument
A representation for an exported document.It contains all the information needed to restore document data and state.
- Author:
- Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Blob
getBlob(String id)
Map<String,Blob>
getBlobs()
org.dom4j.Document
getDocument()
org.dom4j.Document
getDocument(String id)
Map<String,org.dom4j.Document>
getDocuments()
int
getFilesCount()
The number of files describing the document.String
getId()
Path
getPath()
DocumentLocation
getSourceLocation()
String
getType()
boolean
hasExternalBlobs()
void
putBlob(String id, Blob blob)
void
putDocument(String id, org.dom4j.Document doc)
Blob
removeBlob(String id)
org.dom4j.Document
removeDocument(String id)
void
setDocument(org.dom4j.Document document)
void
setId(String id)
void
setPath(Path path)
-
-
-
Method Detail
-
getSourceLocation
DocumentLocation getSourceLocation()
- Returns:
- source DocumentLocation
-
getPath
Path getPath()
-
setPath
void setPath(Path path)
-
getId
String getId()
-
setId
void setId(String id)
-
getType
String getType()
-
getDocument
org.dom4j.Document getDocument()
-
setDocument
void setDocument(org.dom4j.Document document)
-
hasExternalBlobs
boolean hasExternalBlobs()
-
getDocument
org.dom4j.Document getDocument(String id)
-
putDocument
void putDocument(String id, org.dom4j.Document doc)
-
removeDocument
org.dom4j.Document removeDocument(String id)
-
getFilesCount
int getFilesCount()
The number of files describing the document.
-
-