public class DocumentObject extends DefaultObject
| Constructor and Description |
|---|
DocumentObject() |
| Modifier and Type | Method and Description |
|---|---|
Response |
doDelete() |
Object |
doGet() |
Object |
doHead() |
Response |
doPost() |
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() |
Response |
getDelete() |
DocumentModel |
getDocument() |
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 Response getDelete()
public Object search()
public Response doDelete()
public Response doPost()
public Response doPut()
public 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 © 2012 Nuxeo SA. All Rights Reserved.