public class DocumentObject extends DefaultObject
| Modifier and Type | Field and Description |
|---|---|
protected DocumentModel |
doc |
| Constructor and Description |
|---|
DocumentObject() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
doDelete() |
Object |
doGet() |
Object |
doHead() |
javax.ws.rs.core.Response |
doPost() |
javax.ws.rs.core.Response |
doPut() |
<A> A |
getAdapter(Class<A> adapter) |
CoreSession |
getCoreSession() |
javax.ws.rs.core.Response |
getDelete() |
DocumentModel |
getDocument() |
javax.ws.rs.core.Response |
getPut() |
String |
getTitle() |
void |
initialize(Object... args) |
DocumentObject |
newDocument(DocumentModel doc) |
DocumentObject |
newDocument(DocumentRef ref) |
DocumentObject |
newDocument(String path) |
Object |
search() |
Resource |
traverse(String path) |
disptachAdapter, 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 DocumentModel doc
public <A> A getAdapter(Class<A> adapter)
getAdapter in interface AdaptablegetAdapter in class AbstractResource<ResourceTypeImpl>public void initialize(Object... args)
initialize in class AbstractResource<ResourceTypeImpl>public Object doGet()
public javax.ws.rs.core.Response getDelete()
public Object search()
public javax.ws.rs.core.Response doDelete()
public javax.ws.rs.core.Response doPost()
public javax.ws.rs.core.Response doPut()
public javax.ws.rs.core.Response getPut()
public Object doHead()
public DocumentObject newDocument(String path)
public DocumentObject newDocument(DocumentRef ref)
public DocumentObject newDocument(DocumentModel doc)
public CoreSession getCoreSession()
public DocumentModel getDocument()
public String getTitle()
Copyright © 2019 Nuxeo SA. All rights reserved.