public abstract class AbstractMapper extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
baseUrl |
protected UserManager |
um |
Constructor and Description |
---|
AbstractMapper(String baseUrl) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
createGroupModelFromGroupResource(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) |
DocumentModel |
updateGroupModelFromGroupResource(String uid,
com.unboundid.scim.data.GroupResource group) |
abstract DocumentModel |
updateNuxeoUserFromUserResource(String uid,
com.unboundid.scim.data.UserResource user) |
protected UserManager um
public AbstractMapper(String baseUrl)
public com.unboundid.scim.data.GroupResource getGroupResourceFromNuxeoGroup(DocumentModel groupModel) throws Exception
Exception
public DocumentModel createGroupModelFromGroupResource(com.unboundid.scim.data.GroupResource group) throws NuxeoException
NuxeoException
public DocumentModel updateGroupModelFromGroupResource(String uid, com.unboundid.scim.data.GroupResource group) throws NuxeoException
NuxeoException
protected void updateGroupModel(DocumentModel userModel, com.unboundid.scim.data.GroupResource groupResouce) throws NuxeoException
NuxeoException
public abstract com.unboundid.scim.data.UserResource getUserResourceFromNuxeoUser(DocumentModel userModel) throws Exception
Exception
public abstract DocumentModel createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user) throws NuxeoException
NuxeoException
public abstract DocumentModel updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user)
Copyright © 2015 Nuxeo SA. All rights reserved.