Class EmptyDocumentAdapter
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
-
- org.nuxeo.ecm.restapi.server.jaxrs.adapters.EmptyDocumentAdapter
-
- All Implemented Interfaces:
AdapterResource
,Resource
,Adaptable
public class EmptyDocumentAdapter extends DefaultAdapter
- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME
protected RenderingContext
renderingCtx
-
Constructor Summary
Constructors Constructor Description EmptyDocumentAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
getEmptyDocumentModel(String type, String name)
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
disptachAdapter, getTarget, isAdapter
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
-
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
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
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
renderingCtx
@Context protected RenderingContext renderingCtx
-
-
Constructor Detail
-
EmptyDocumentAdapter
public EmptyDocumentAdapter()
-
-
Method Detail
-
getEmptyDocumentModel
public DocumentModel getEmptyDocumentModel(String type, String name)
-
-