public class DocumentObject extends DefaultObject
| 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)
Returns an object which is an instance of the given class associated with this object.
|
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, toStringpublic <A> A getAdapter(Class<A> adapter)
Adaptablenull
if no such object can be found.getAdapter in interface AdaptablegetAdapter in class AbstractResource<ResourceTypeImpl>adapter - the adapter class to look upnull if this object does not have an adapter for
the given classpublic void initialize(Object... args)
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 © 2015 Nuxeo SA. All rights reserved.