Class RepositoryObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultObject
-
- org.nuxeo.ecm.restapi.server.jaxrs.RepositoryObject
-
public class RepositoryObject extends DefaultObject
Holds all methods bound to a repository- Since:
- 5.7.3
-
-
Constructor Summary
Constructors Constructor Description RepositoryObject()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectgetBulkDocuments(List<String> ids)Deprecated.since 10.3, useBAFinsteadprotected static ObjectgetBulkDocuments(DefaultObject obj, List<String> ids)Deprecated.since 10.3, useBAFinsteadObjectgetDocsById(String id)ObjectgetDocsByPath(String docPath)ObjectgetEmptyDocumentModel()ObjectgetRootPathAdapter(String adapterName)The regex of getDocsByPath doesn't catch the case of the root document.Objectroute(String otherPath)-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, 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
-
-
-
-
Method Detail
-
getRootPathAdapter
public Object getRootPathAdapter(String adapterName)
The regex of getDocsByPath doesn't catch the case of the root document.- Since:
- 5.8
-
getBulkDocuments
@Deprecated public Object getBulkDocuments(List<String> ids)
Deprecated.since 10.3, useBAFinstead
-
getBulkDocuments
@Deprecated protected static Object getBulkDocuments(DefaultObject obj, List<String> ids)
Deprecated.since 10.3, useBAFinstead
-
getEmptyDocumentModel
public Object getEmptyDocumentModel()
-
-