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 String
PAGE_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 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
getArtifactType()
Returns the type of the current artifact needed forAbstractResource.newObject(String, Object...)
.protected PageProviderDefinition
getPageProviderDefinition()
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
-
-
Method Detail
-
getArtifact
protected NuxeoPrincipal getArtifact(String id)
Description copied from class:AbstractUMRootObject
Returns the artifact given its id.- Specified by:
getArtifact
in classAbstractUMRootObject<NuxeoPrincipal>
-
getArtifactType
protected String 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
protected void checkPrecondition(NuxeoPrincipal principal)
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
protected NuxeoPrincipal createArtifact(NuxeoPrincipal principal)
Description copied from class:AbstractUMRootObject
Persist an artifact in the underlying persistence system.- Specified by:
createArtifact
in classAbstractUMRootObject<NuxeoPrincipal>
-
getPageProviderDefinition
protected PageProviderDefinition getPageProviderDefinition()
- Specified by:
getPageProviderDefinition
in classPaginableObject<NuxeoPrincipal>
-
getParams
protected Object[] getParams()
- Overrides:
getParams
in classAbstractUMRootObject<NuxeoPrincipal>
-
-