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) |
DocumentModel |
doPut(DocumentModel inputDoc,
javax.ws.rs.core.HttpHeaders headers) |
DocumentObject |
newDocument(DocumentModel doc) |
DocumentObject |
newDocument(DocumentRef ref) |
DocumentObject |
newDocument(String path) |
Object |
search() |
doHead, doPost, doPut, getAdapter, getCoreSession, getDelete, getDocument, getPut, getTitle, initialize, traverse
disptachAdapter, isAdapter
checkGuard, 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, toString
protected static final org.apache.commons.logging.Log log
public JSONDocumentObject()
public DocumentModel doGet()
doGet
in class DocumentObject
public DocumentModel 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 DocumentObject
public Object search()
search
in class DocumentObject
public DocumentObject newDocument(String path)
newDocument
in class DocumentObject
public DocumentObject newDocument(DocumentRef ref)
newDocument
in class DocumentObject
public DocumentObject newDocument(DocumentModel doc)
newDocument
in class DocumentObject
Copyright © 2017 Nuxeo. All rights reserved.