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
-
log
protected static Log log
-
um
protected UserManager um
-
mapper
protected AbstractMapper mapper
-
baseUrl
protected String baseUrl
-
fixeMediaType
protected javax.ws.rs.core.MediaType fixeMediaType
-
-
Method Detail
-
getPrefix
protected abstract String getPrefix()
-
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.
-
-