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
-
public class UserRootObject extends AbstractUMRootObject<NuxeoPrincipal>
- Since:
- 5.7.3
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLOW_EMPTY_PASSWORD_PROPstatic StringPAGE_PROVIDER_NAME-
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
Constructors Constructor Description UserRootObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckPrecondition(NuxeoPrincipal principal)Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...).protected NuxeoPrincipalcreateArtifact(NuxeoPrincipal principal)Persist an artifact in the underlying persistence system.protected NuxeoPrincipalgetArtifact(String id)Returns the artifact given its id.protected StringgetArtifactType()Returns the type of the current artifact needed forAbstractResource.newObject(String, Object...).protected PageProviderDefinitiongetPageProviderDefinition()protected Object[]getParams()-
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 Detail
-
PAGE_PROVIDER_NAME
public static final String PAGE_PROVIDER_NAME
- See Also:
- Constant Field Values
-
ALLOW_EMPTY_PASSWORD_PROP
public static final String ALLOW_EMPTY_PASSWORD_PROP
- Since:
- 2025.1
- See Also:
- Constant Field Values
-
-
Method Detail
-
getArtifact
protected NuxeoPrincipal getArtifact(String id)
Description copied from class:AbstractUMRootObjectReturns the artifact given its id.- Specified by:
getArtifactin classAbstractUMRootObject<NuxeoPrincipal>
-
getArtifactType
protected String getArtifactType()
Description copied from class:AbstractUMRootObjectReturns the type of the current artifact needed forAbstractResource.newObject(String, Object...).- Specified by:
getArtifactTypein classAbstractUMRootObject<NuxeoPrincipal>
-
checkPrecondition
protected void checkPrecondition(NuxeoPrincipal principal)
Description copied from class:AbstractUMRootObjectChecks the precondition to create an artifact (for instance validity, duplicate detection, guards...).- Specified by:
checkPreconditionin classAbstractUMRootObject<NuxeoPrincipal>
-
createArtifact
protected NuxeoPrincipal createArtifact(NuxeoPrincipal principal)
Description copied from class:AbstractUMRootObjectPersist an artifact in the underlying persistence system.- Specified by:
createArtifactin classAbstractUMRootObject<NuxeoPrincipal>
-
getPageProviderDefinition
protected PageProviderDefinition getPageProviderDefinition()
- Specified by:
getPageProviderDefinitionin classPaginableObject<NuxeoPrincipal>
-
getParams
protected Object[] getParams()
- Overrides:
getParamsin classAbstractUMRootObject<NuxeoPrincipal>
-
-