Package net.bluemind.document.api
Interface IDocument
@Path("/document/{containerUid}/{itemUid}")
public interface IDocument
Document APIs.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Creates a newDocument
entryvoid
Deletes aDocument
entryFetches aDocument
entryfetchMetadata
(String uid) FetchesDocument
metadataDocumentMetadata
list()
Retrives allDocument
metadataDocumentMetadata
void
Updates aDocument
entry
-
Method Details
-
create
Creates a newDocument
entry- Parameters:
uid
-doc
-- Throws:
ServerFault
-
update
Updates aDocument
entry- Parameters:
uid
-doc
-- Throws:
ServerFault
-
delete
Deletes aDocument
entry- Parameters:
uid
-- Throws:
ServerFault
-
fetch
Fetches aDocument
entry- Parameters:
uid
-- Returns:
- Throws:
ServerFault
-
fetchMetadata
@GET @Path("{uid}/metadata") DocumentMetadata fetchMetadata(@PathParam("uid") String uid) throws ServerFault FetchesDocument
metadataDocumentMetadata
- Parameters:
uid
-- Returns:
- Throws:
ServerFault
-
list
Retrives allDocument
metadataDocumentMetadata
- Returns:
- Throws:
ServerFault
-