Class GroupObject
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.restapi.server.usermanager.AbstractUMObject<NuxeoGroup>
org.nuxeo.ecm.restapi.server.usermanager.GroupObject
- Since:
 - 5.7.3
 
- 
Field Summary
Fields inherited from class org.nuxeo.ecm.restapi.server.usermanager.AbstractUMObject
currentArtifact, um - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidDeletes the current artifact in the underlying persistence system.doGetUserToGroup(String username) protected booleanisAPowerUserEditableArtifact(NuxeoGroup artifact) Check the given artifact is editable by a power user.protected NuxeoGroupupdateArtifact(NuxeoGroup updateGroup) Updates the current artifact by the one given in parameters in the underlying persistence system.Methods inherited from class org.nuxeo.ecm.restapi.server.usermanager.AbstractUMObject
checkUpdateGuardPreconditions, checkUpdateGuardPreconditions, doDeleteArtifact, doGetArtifact, doUpdateArtifact, initialize, isAPowerUserEditableArtifactMethods 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 
- 
Constructor Details
- 
GroupObject
public GroupObject() 
 - 
 - 
Method Details
- 
doGetUserToGroup
 - 
updateArtifact
Description copied from class:AbstractUMObjectUpdates the current artifact by the one given in parameters in the underlying persistence system.- Specified by:
 updateArtifactin classAbstractUMObject<NuxeoGroup>- Parameters:
 updateGroup- the artifact that has been retrieved from request.- Returns:
 - the updated artifact.
 
 - 
deleteArtifact
protected void deleteArtifact()Description copied from class:AbstractUMObjectDeletes the current artifact in the underlying persistence system.- Specified by:
 deleteArtifactin classAbstractUMObject<NuxeoGroup>
 - 
isAPowerUserEditableArtifact
Description copied from class:AbstractUMObjectCheck the given artifact is editable by a power user. Basically this means not an admin user or not an admin group.- Overrides:
 isAPowerUserEditableArtifactin classAbstractUMObject<NuxeoGroup>
 
 -