Class GroupRootObject
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<NuxeoGroup>
org.nuxeo.ecm.restapi.server.jaxrs.usermanager.GroupRootObject
- Since:
- 5.7.3
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkPrecondition
(NuxeoGroup group) Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...).computeAllGroups
(UserManager um, NuxeoGroup group) protected NuxeoGroup
createArtifact
(NuxeoGroup group) Persist an artifact in the underlying persistence system.protected NuxeoGroup
getArtifact
(String id) Returns the artifact given its id.protected String
Returns the type of the current artifact needed forAbstractResource.newObject(String, Object...)
.protected PageProviderDefinition
Methods inherited from class org.nuxeo.ecm.restapi.server.jaxrs.usermanager.AbstractUMRootObject
checkCurrentUserCanCreateArtifact, createNew, getArtifactWebObject, getParams, 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 Details
-
PAGE_PROVIDER_NAME
- See Also:
-
-
Constructor Details
-
GroupRootObject
public GroupRootObject()
-
-
Method Details
-
getArtifact
Description copied from class:AbstractUMRootObject
Returns the artifact given its id.- Specified by:
getArtifact
in classAbstractUMRootObject<NuxeoGroup>
-
getArtifactType
Description copied from class:AbstractUMRootObject
Returns the type of the current artifact needed forAbstractResource.newObject(String, Object...)
.- Specified by:
getArtifactType
in classAbstractUMRootObject<NuxeoGroup>
-
checkPrecondition
Description copied from class:AbstractUMRootObject
Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...).- Specified by:
checkPrecondition
in classAbstractUMRootObject<NuxeoGroup>
-
createArtifact
Description copied from class:AbstractUMRootObject
Persist an artifact in the underlying persistence system.- Specified by:
createArtifact
in classAbstractUMRootObject<NuxeoGroup>
-
computeAllGroups
-
getPageProviderDefinition
- Specified by:
getPageProviderDefinition
in classPaginableObject<NuxeoGroup>
-