Class AbstractUMRootObject<T>
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.restapi.server.PaginableObject<T>
org.nuxeo.ecm.restapi.server.usermanager.AbstractUMRootObject<T>
- Direct Known Subclasses:
GroupRootObject,UserRootObject
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.restapi.server.PaginableObject
currentPageIndex, maxResults, offset, pageSize -
Constructor Summary
ConstructorsModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.protectedAbstractUMRootObject(Class<? extends Resource> artifactClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckCurrentUserCanCreateArtifact(T artifact) protected abstract voidcheckPrecondition(T artifact) Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...).protected abstract TcreateArtifact(T artifact) Persist an artifact in the underlying persistence system.jakarta.ws.rs.core.Responseprotected abstract TgetArtifact(String id) Returns the artifact given its id.protected abstract StringDeprecated, for removal: This API element is subject to removal in a future version.since 2025.14getArtifactWebObject(String artName) protected Object[]protected voidinitialize(Object... args) search()Methods inherited from class org.nuxeo.ecm.restapi.server.PaginableObject
extractLongParam, getPageProviderDefinition, getPaginableEntries, getPaginableEntries, getSearchDocumentMethods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapterMethods 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, newObject, redirect, retrieveWebObjectType, setNext, setPrevious, setRoot, toString
-
Field Details
-
artifactClass
-
query
-
um
-
-
Constructor Details
-
AbstractUMRootObject
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.14, useAbstractUMRootObject(Class)instead. -
AbstractUMRootObject
-
-
Method Details
-
initialize
- Overrides:
initializein classPaginableObject<T>
-
getArtifactWebObject
-
createNew
-
search
-
getParams
- Overrides:
getParamsin classPaginableObject<T>
-
getArtifact
Returns the artifact given its id. -
getArtifactType
Deprecated, for removal: This API element is subject to removal in a future version.since 2025.14Returns the type of the current artifact needed forAbstractResource.newObject(String, Object...). -
checkPrecondition
Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...). -
createArtifact
Persist an artifact in the underlying persistence system. -
checkCurrentUserCanCreateArtifact
-
AbstractUMRootObject(Class)instead.