public class JSONDocumentObject extends DocumentObject
| Modifier and Type | Field and Description | 
|---|---|
protected static org.apache.commons.logging.Log | 
log  | 
doc| Constructor and Description | 
|---|
JSONDocumentObject()  | 
| Modifier and Type | Method and Description | 
|---|---|
javax.ws.rs.core.Response | 
doDelete()  | 
DocumentModel | 
doGet()  | 
javax.ws.rs.core.Response | 
doPost(DocumentModel inputDoc)  | 
javax.ws.rs.core.Response | 
doPut(DocumentModel inputDoc,
     javax.ws.rs.core.HttpHeaders headers)  | 
DocumentObject | 
newDocument(DocumentModel doc)  | 
DocumentObject | 
newDocument(DocumentRef ref)  | 
DocumentObject | 
newDocument(String path)  | 
Object | 
search()  | 
protected void | 
updateCommentFromHeader(javax.ws.rs.core.HttpHeaders headers)
Fills the  
doc context data with a comment from the Update-Comment header if present. | 
doHead, doPost, doPut, getAdapter, getCoreSession, getDelete, getDocument, getPut, getTitle, initialize, traversedisptachAdapter, isAdaptercheckGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toStringprotected static final org.apache.commons.logging.Log log
public JSONDocumentObject()
public DocumentModel doGet()
doGet in class DocumentObjectpublic javax.ws.rs.core.Response doPut(DocumentModel inputDoc, @Context javax.ws.rs.core.HttpHeaders headers)
public javax.ws.rs.core.Response doPost(DocumentModel inputDoc)
public javax.ws.rs.core.Response doDelete()
doDelete in class DocumentObjectpublic Object search()
search in class DocumentObjectpublic DocumentObject newDocument(String path)
newDocument in class DocumentObjectpublic DocumentObject newDocument(DocumentRef ref)
newDocument in class DocumentObjectpublic DocumentObject newDocument(DocumentModel doc)
newDocument in class DocumentObjectprotected void updateCommentFromHeader(javax.ws.rs.core.HttpHeaders headers)
doc context data with a comment from the Update-Comment header if present.Copyright © 2019 Nuxeo. All rights reserved.