|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentModelService
Document Model Service Interface
This service maintains Document & DocumentStream objects.
| Method Summary | |
|---|---|
void |
addDocument(Document document)
Adds a document to engine's persistent store. |
Document |
createDocument()
Factory to create a new empty document object. |
Document |
getDocument(java.lang.String uri)
Get a document from the engine's persistent store by uri. |
Document |
getDocument(java.lang.String uri,
java.lang.String versionNum)
Get a document from the engine's persistent store by uri. |
void |
removeDocument(Document document)
Remove a document from the engine's persistent store. |
void |
updateDocument(Document document)
Update a document in the engine's persistent store. |
| Method Detail |
|---|
void addDocument(Document document)
throws ContentManagementException
document - the document to add
ContentManagementException
Document createDocument()
throws ContentManagementException
ContentManagementException
Document getDocument(java.lang.String uri)
throws ContentManagementException
uri - uri assigned to the document.
ContentManagementException
Document getDocument(java.lang.String uri,
java.lang.String versionNum)
throws ContentManagementException
uri - uri assigned to the document.versionNum - the desired version number assigned to the document to retrieve
ContentManagementException
void removeDocument(Document document)
throws ContentManagementException
document - the document to remove.
ContentManagementException
void updateDocument(Document document)
throws ContentManagementException
document - the document to update.
ContentManagementException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||