Package org.nuxeo.scim.server.mapper
Class StaticUserMapper
java.lang.Object
org.nuxeo.scim.server.mapper.AbstractMapper
org.nuxeo.scim.server.mapper.StaticUserMapper
Static / Hardcoded Mapper implementation (in case
UserMapperService
is not available)- Since:
- 7.4
- Author:
- tiry
-
Field Summary
Fields inherited from class org.nuxeo.scim.server.mapper.AbstractMapper
baseUrl, um
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateNuxeoUserFromUserResource
(com.unboundid.scim.data.UserResource user) com.unboundid.scim.data.UserResource
getUserResourceFromNuxeoUser
(DocumentModel userModel) updateNuxeoUserFromUserResource
(String uid, com.unboundid.scim.data.UserResource user) protected void
updateUserModel
(DocumentModel userModel, com.unboundid.scim.data.UserResource userResouce) Methods inherited from class org.nuxeo.scim.server.mapper.AbstractMapper
createGroupModelFromGroupResource, getGroupResourceFromNuxeoGroup, updateGroupModel, updateGroupModelFromGroupResource
-
Constructor Details
-
StaticUserMapper
-
-
Method Details
-
getUserResourceFromNuxeoUser
public com.unboundid.scim.data.UserResource getUserResourceFromNuxeoUser(DocumentModel userModel) throws Exception - Specified by:
getUserResourceFromNuxeoUser
in classAbstractMapper
- Throws:
Exception
-
createNuxeoUserFromUserResource
public DocumentModel createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user) throws NuxeoException - Specified by:
createNuxeoUserFromUserResource
in classAbstractMapper
- Throws:
NuxeoException
-
updateNuxeoUserFromUserResource
public DocumentModel updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user) throws NuxeoException - Specified by:
updateNuxeoUserFromUserResource
in classAbstractMapper
- Throws:
NuxeoException
-
updateUserModel
protected void updateUserModel(DocumentModel userModel, com.unboundid.scim.data.UserResource userResouce) throws NuxeoException - Throws:
NuxeoException
-