Class DirectoryObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultObject
-
- org.nuxeo.ecm.restapi.server.jaxrs.PaginableObject<DirectoryEntry>
-
- org.nuxeo.ecm.restapi.server.jaxrs.directory.DirectoryObject
-
public class DirectoryObject extends PaginableObject<DirectoryEntry>
- Since:
- 5.7.3
-
-
Field Summary
Fields Modifier and Type Field Description static String
PAGE_PROVIDER_NAME
-
Fields inherited from class org.nuxeo.ecm.restapi.server.jaxrs.PaginableObject
currentPageIndex, maxResults, offset, pageSize
-
-
Constructor Summary
Constructors Constructor Description DirectoryObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
addEntry(DirectoryEntry entry)
List<DirectoryEntry>
getDirectoryEntries()
Object
getEntry(String entryId)
protected PageProviderDefinition
getPageProviderDefinition()
protected Object[]
getParams()
protected void
initialize(Object... args)
-
Methods inherited from class org.nuxeo.ecm.restapi.server.jaxrs.PaginableObject
extractLongParam, getPaginableEntries, getPaginableEntries, getSearchDocument
-
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, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
-
-
-
Field Detail
-
PAGE_PROVIDER_NAME
public static final String PAGE_PROVIDER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
protected void initialize(Object... args)
- Overrides:
initialize
in classPaginableObject<DirectoryEntry>
-
getPageProviderDefinition
protected PageProviderDefinition getPageProviderDefinition()
- Specified by:
getPageProviderDefinition
in classPaginableObject<DirectoryEntry>
-
getParams
protected Object[] getParams()
- Overrides:
getParams
in classPaginableObject<DirectoryEntry>
-
getDirectoryEntries
public List<DirectoryEntry> getDirectoryEntries()
-
addEntry
public javax.ws.rs.core.Response addEntry(DirectoryEntry entry)
-
-