Class BaseUMObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultObject
-
- org.nuxeo.scim.server.jaxrs.usermanager.BaseUMObject
-
- Direct Known Subclasses:
SCIMGroupWebObject
,SCIMUserWebObject
public abstract class BaseUMObject extends DefaultObject
Base class used for all WebObject associated to SCIM Domain model- Since:
- 7.4
- Author:
- tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected String
baseUrl
protected javax.ws.rs.core.MediaType
fixeMediaType
protected static Log
log
protected AbstractMapper
mapper
protected UserManager
um
-
Constructor Summary
Constructors Constructor Description BaseUMObject()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
checkUpdateGuardPreconditions()
protected abstract String
getPrefix()
protected void
initialize(Object... args)
protected boolean
isAPowerUserEditableArtifact()
Check that the current artifact is editable by a power user.-
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 Detail
-
um
protected UserManager um
-
mapper
protected AbstractMapper mapper
-
fixeMediaType
protected javax.ws.rs.core.MediaType fixeMediaType
-
-
Constructor Detail
-
BaseUMObject
public BaseUMObject()
-
-
Method Detail
-
initialize
protected void initialize(Object... args)
- Overrides:
initialize
in classAbstractResource<ResourceTypeImpl>
-
checkUpdateGuardPreconditions
protected void checkUpdateGuardPreconditions()
-
isAPowerUserEditableArtifact
protected boolean isAPowerUserEditableArtifact()
Check that the current artifact is editable by a power user. Basically this means not an admin user or not an admin group.
-
-