Package org.nuxeo.scim.server.mapper
Class AbstractMapper
java.lang.Object
org.nuxeo.scim.server.mapper.AbstractMapper
- Direct Known Subclasses:
ConfigurableUserMapper
,StaticUserMapper
Base class used for mappers
- Since:
- 7.4
- Author:
- tiry
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateGroupModelFromGroupResource
(com.unboundid.scim.data.GroupResource group) abstract DocumentModel
createNuxeoUserFromUserResource
(com.unboundid.scim.data.UserResource user) com.unboundid.scim.data.GroupResource
getGroupResourceFromNuxeoGroup
(DocumentModel groupModel) abstract com.unboundid.scim.data.UserResource
getUserResourceFromNuxeoUser
(DocumentModel userModel) protected void
updateGroupModel
(DocumentModel userModel, com.unboundid.scim.data.GroupResource groupResouce) updateGroupModelFromGroupResource
(String uid, com.unboundid.scim.data.GroupResource group) abstract DocumentModel
updateNuxeoUserFromUserResource
(String uid, com.unboundid.scim.data.UserResource user)
-
Field Details
-
um
-
baseUrl
-
-
Constructor Details
-
AbstractMapper
-
-
Method Details
-
getGroupResourceFromNuxeoGroup
public com.unboundid.scim.data.GroupResource getGroupResourceFromNuxeoGroup(DocumentModel groupModel) throws Exception - Throws:
Exception
-
createGroupModelFromGroupResource
public DocumentModel createGroupModelFromGroupResource(com.unboundid.scim.data.GroupResource group) throws NuxeoException - Throws:
NuxeoException
-
updateGroupModelFromGroupResource
public DocumentModel updateGroupModelFromGroupResource(String uid, com.unboundid.scim.data.GroupResource group) throws NuxeoException - Throws:
NuxeoException
-
updateGroupModel
protected void updateGroupModel(DocumentModel userModel, com.unboundid.scim.data.GroupResource groupResouce) throws NuxeoException - Throws:
NuxeoException
-
getUserResourceFromNuxeoUser
public abstract com.unboundid.scim.data.UserResource getUserResourceFromNuxeoUser(DocumentModel userModel) throws Exception - Throws:
Exception
-
createNuxeoUserFromUserResource
public abstract DocumentModel createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user) throws NuxeoException - Throws:
NuxeoException
-
updateNuxeoUserFromUserResource
public abstract DocumentModel updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user)
-