@Path(value="/document/{containerUid}/{itemUid}")
public interface IDocument
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 |
@PUT @Path(value="{uid}") void create(@PathParam(value="uid") java.lang.String uid, Document doc) throws ServerFault
Document
entryuid
- doc
- ServerFault
@POST @Path(value="{uid}") void update(@PathParam(value="uid") java.lang.String uid, Document doc) throws ServerFault
Document
entryuid
- doc
- ServerFault
@DELETE @Path(value="{uid}") void delete(@PathParam(value="uid") java.lang.String uid) throws ServerFault
Document
entryuid
- ServerFault
@GET @Path(value="{uid}") Document fetch(@PathParam(value="uid") java.lang.String uid) throws ServerFault
Document
entryuid
- ServerFault
@GET @Path(value="{uid}/metadata") DocumentMetadata fetchMetadata(@PathParam(value="uid") java.lang.String uid) throws ServerFault
Document
metadata DocumentMetadata
uid
- ServerFault
@GET @Path(value="_list") java.util.List<DocumentMetadata> list() throws ServerFault
Document
metadata DocumentMetadata
ServerFault
Copyright © 2021. All Rights Reserved.