public class UserRootObject extends AbstractUMRootObject<org.nuxeo.ecm.core.api.NuxeoPrincipal>
| Modifier and Type | Field and Description |
|---|---|
static String |
PAGE_PROVIDER_NAME |
query, umcurrentPageIndex, maxResults, pageSize| Constructor and Description |
|---|
UserRootObject() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkPrecondition(org.nuxeo.ecm.core.api.NuxeoPrincipal principal)
Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...).
|
protected org.nuxeo.ecm.core.api.NuxeoPrincipal |
createArtifact(org.nuxeo.ecm.core.api.NuxeoPrincipal principal)
Persist an artifact in the underlying persistence system.
|
protected org.nuxeo.ecm.core.api.NuxeoPrincipal |
getArtifact(String id)
Returns the artifact given its id.
|
protected String |
getArtifactType()
Returns the type of the current artifact needed for
AbstractResource.newObject(String, Object...). |
protected org.nuxeo.ecm.platform.query.api.PageProviderDefinition |
getPageProviderDefinition() |
protected Object[] |
getParams() |
checkCurrentUserCanCreateArtifact, createNew, getArtifactWebObject, initialize, searchextractLongParam, getPaginableEntries, getPaginableEntries, getSearchDocumentdisptachAdapter, isAdaptercheckGuard, 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, toStringpublic static final String PAGE_PROVIDER_NAME
protected org.nuxeo.ecm.core.api.NuxeoPrincipal getArtifact(String id) throws org.nuxeo.ecm.core.api.ClientException
AbstractUMRootObjectgetArtifact in class AbstractUMRootObject<org.nuxeo.ecm.core.api.NuxeoPrincipal>org.nuxeo.ecm.core.api.ClientExceptionprotected String getArtifactType()
AbstractUMRootObjectAbstractResource.newObject(String, Object...).getArtifactType in class AbstractUMRootObject<org.nuxeo.ecm.core.api.NuxeoPrincipal>protected void checkPrecondition(org.nuxeo.ecm.core.api.NuxeoPrincipal principal)
throws org.nuxeo.ecm.core.api.ClientException
AbstractUMRootObjectcheckPrecondition in class AbstractUMRootObject<org.nuxeo.ecm.core.api.NuxeoPrincipal>org.nuxeo.ecm.core.api.ClientExceptionprotected org.nuxeo.ecm.core.api.NuxeoPrincipal createArtifact(org.nuxeo.ecm.core.api.NuxeoPrincipal principal)
throws org.nuxeo.ecm.core.api.ClientException
AbstractUMRootObjectcreateArtifact in class AbstractUMRootObject<org.nuxeo.ecm.core.api.NuxeoPrincipal>org.nuxeo.ecm.core.api.ClientExceptionprotected org.nuxeo.ecm.platform.query.api.PageProviderDefinition getPageProviderDefinition()
getPageProviderDefinition in class PaginableObject<org.nuxeo.ecm.core.api.NuxeoPrincipal>protected Object[] getParams()
getParams in class AbstractUMRootObject<org.nuxeo.ecm.core.api.NuxeoPrincipal>Copyright © 2020 Nuxeo SA. All rights reserved.