Class UserRootObject
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<T>
org.nuxeo.ecm.restapi.server.jaxrs.usermanager.AbstractUMRootObject<NuxeoPrincipal>
org.nuxeo.ecm.restapi.server.jaxrs.usermanager.UserRootObject
- Since:
- 5.7.3
-
Field Summary
Fields inherited from class org.nuxeo.ecm.restapi.server.jaxrs.usermanager.AbstractUMRootObject
query, um
Fields inherited from class org.nuxeo.ecm.restapi.server.jaxrs.PaginableObject
currentPageIndex, maxResults, offset, pageSize
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkPrecondition
(NuxeoPrincipal principal) Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...).protected NuxeoPrincipal
createArtifact
(NuxeoPrincipal principal) Persist an artifact in the underlying persistence system.protected NuxeoPrincipal
getArtifact
(String id) Returns the artifact given its id.protected String
Returns the type of the current artifact needed forAbstractResource.newObject(String, Object...)
.protected PageProviderDefinition
protected Object[]
Methods inherited from class org.nuxeo.ecm.restapi.server.jaxrs.usermanager.AbstractUMRootObject
checkCurrentUserCanCreateArtifact, createNew, getArtifactWebObject, initialize, search
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 Details
-
PAGE_PROVIDER_NAME
- See Also:
-
-
Constructor Details
-
UserRootObject
public UserRootObject()
-
-
Method Details
-
getArtifact
Description copied from class:AbstractUMRootObject
Returns the artifact given its id.- Specified by:
getArtifact
in classAbstractUMRootObject<NuxeoPrincipal>
-
getArtifactType
Description copied from class:AbstractUMRootObject
Returns the type of the current artifact needed forAbstractResource.newObject(String, Object...)
.- Specified by:
getArtifactType
in classAbstractUMRootObject<NuxeoPrincipal>
-
checkPrecondition
Description copied from class:AbstractUMRootObject
Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...).- Specified by:
checkPrecondition
in classAbstractUMRootObject<NuxeoPrincipal>
-
createArtifact
Description copied from class:AbstractUMRootObject
Persist an artifact in the underlying persistence system.- Specified by:
createArtifact
in classAbstractUMRootObject<NuxeoPrincipal>
-
getPageProviderDefinition
- Specified by:
getPageProviderDefinition
in classPaginableObject<NuxeoPrincipal>
-
getParams
- Overrides:
getParams
in classAbstractUMRootObject<NuxeoPrincipal>
-