Constructor and Description |
---|
DocumentService(BmContext context,
Container container,
Item item) |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String uid,
Document doc)
Creates a new
Document entry |
void |
delete(java.lang.String uid)
Deletes a
Document entry |
Document |
fetch(java.lang.String uid)
Fetches a
Document entry |
DocumentMetadata |
fetchMetadata(java.lang.String uid)
Fetches
Document metadata DocumentMetadata |
java.util.List<DocumentMetadata> |
list()
Retrives all
Document metadata DocumentMetadata |
void |
update(java.lang.String uid,
Document doc)
Updates a
Document entry |
public void create(java.lang.String uid, Document doc) throws ServerFault
IDocument
Document
entrycreate
in interface IDocument
ServerFault
public void update(java.lang.String uid, Document doc) throws ServerFault
IDocument
Document
entryupdate
in interface IDocument
ServerFault
public void delete(java.lang.String uid) throws ServerFault
IDocument
Document
entrydelete
in interface IDocument
ServerFault
public Document fetch(java.lang.String uid) throws ServerFault
IDocument
Document
entryfetch
in interface IDocument
ServerFault
public DocumentMetadata fetchMetadata(java.lang.String uid) throws ServerFault
IDocument
Document
metadata DocumentMetadata
fetchMetadata
in interface IDocument
ServerFault
public java.util.List<DocumentMetadata> list() throws ServerFault
IDocument
Document
metadata DocumentMetadata
list
in interface IDocument
ServerFault
Copyright © 2021. All Rights Reserved.