public class UserRootObject extends AbstractUMRootObject<NuxeoPrincipal>
Modifier and Type | Field and Description |
---|---|
static String |
PAGE_PROVIDER_NAME |
query, um
currentPageIndex, maxResults, pageSize
Constructor and Description |
---|
UserRootObject() |
Modifier and Type | Method and 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 for
AbstractResource.newObject(String, Object...) . |
protected PageProviderDefinition |
getPageProviderDefinition() |
protected Object[] |
getParams() |
checkCurrentUserCanCreateArtifact, createNew, getArtifactWebObject, initialize, search
extractLongParam, getPaginableEntries, getPaginableEntries, getSearchDocument
disptachAdapter, isAdapter
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
public static final String PAGE_PROVIDER_NAME
public UserRootObject()
protected NuxeoPrincipal getArtifact(String id)
AbstractUMRootObject
getArtifact
in class AbstractUMRootObject<NuxeoPrincipal>
protected String getArtifactType()
AbstractUMRootObject
AbstractResource.newObject(String, Object...)
.getArtifactType
in class AbstractUMRootObject<NuxeoPrincipal>
protected void checkPrecondition(NuxeoPrincipal principal)
AbstractUMRootObject
checkPrecondition
in class AbstractUMRootObject<NuxeoPrincipal>
protected NuxeoPrincipal createArtifact(NuxeoPrincipal principal)
AbstractUMRootObject
createArtifact
in class AbstractUMRootObject<NuxeoPrincipal>
protected PageProviderDefinition getPageProviderDefinition()
getPageProviderDefinition
in class PaginableObject<NuxeoPrincipal>
protected Object[] getParams()
getParams
in class AbstractUMRootObject<NuxeoPrincipal>
Copyright © 2015 Nuxeo SA. All rights reserved.