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.PaginableObject<NuxeoGroup>
org.nuxeo.ecm.restapi.server.usermanager.AbstractUMRootObject<NuxeoGroup>
org.nuxeo.ecm.restapi.server.usermanager.GroupRootObject
- Since:
- 5.7.3
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.restapi.server.usermanager.AbstractUMRootObject
query, umFields inherited from class org.nuxeo.ecm.restapi.server.PaginableObject
currentPageIndex, maxResults, offset, pageSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidcheckGroupDoesNotAlreadyExists(NuxeoGroup group, UserManager um) protected voidcheckGroupHasAName(NuxeoGroup group) protected voidcheckPrecondition(NuxeoGroup group) Checks the precondition to create an artifact (for instance validity, duplicate detection, guards...).computeAllGroups(UserManager um, NuxeoGroup group) protected NuxeoGroupcreateArtifact(NuxeoGroup group) Persist an artifact in the underlying persistence system.protected NuxeoGroupemptyGroupReferences(NuxeoGroup group) protected NuxeoGroupgetArtifact(String id) Returns the artifact given its id.protected StringReturns the type of the current artifact needed forAbstractResource.newObject(String, Object...).protected PageProviderDefinitionMethods inherited from class org.nuxeo.ecm.restapi.server.usermanager.AbstractUMRootObject
checkCurrentUserCanCreateArtifact, createNew, getArtifactWebObject, getParams, initialize, searchMethods inherited from class org.nuxeo.ecm.restapi.server.PaginableObject
extractLongParam, 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, redirect, setNext, setPrevious, setRoot, toString
-
Field Details
-
PAGE_PROVIDER_NAME
- See Also:
-
RESTRICT_ADMINISTRATORS_MEMBERS_PROP
- Since:
- 2025.1
- See Also:
-
-
Constructor Details
-
GroupRootObject
public GroupRootObject()
-
-
Method Details
-
getArtifact
Description copied from class:AbstractUMRootObjectReturns the artifact given its id.- Specified by:
getArtifactin classAbstractUMRootObject<NuxeoGroup>
-
getArtifactType
Description copied from class:AbstractUMRootObjectReturns the type of the current artifact needed forAbstractResource.newObject(String, Object...).- Specified by:
getArtifactTypein classAbstractUMRootObject<NuxeoGroup>
-
checkPrecondition
Description copied from class:AbstractUMRootObjectChecks the precondition to create an artifact (for instance validity, duplicate detection, guards...).- Specified by:
checkPreconditionin classAbstractUMRootObject<NuxeoGroup>
-
createArtifact
Description copied from class:AbstractUMRootObjectPersist an artifact in the underlying persistence system.- Specified by:
createArtifactin classAbstractUMRootObject<NuxeoGroup>
-
checkGroupDoesNotAlreadyExists
-
checkGroupHasAName
-
canCurrentUserReadGroupMembers
-
emptyGroupReferences
-
computeAllGroups
-
getPageProviderDefinition
- Specified by:
getPageProviderDefinitionin classPaginableObject<NuxeoGroup>
-