public class AzureAdRestEntityMapper extends Object
Constructor and Description |
---|
AzureAdRestEntityMapper() |
Modifier and Type | Method and Description |
---|---|
GroupWithMembershipChanges |
mapDeltaQueryGroup(GraphDeltaQueryGroup graphGroup,
long directoryId)
Maps a group obtained from the Azure AD groups endpoint to a Crowd object
|
DeltaQueryResult<GroupWithMembershipChanges> |
mapDeltaQueryGroups(GraphDeltaQueryResult<GraphDeltaQueryGroup> graphGroups,
long directoryId)
Maps a delta query result for groups to a result suitable for incremental synchronisation.
|
DeltaQueryResult<UserWithAttributes> |
mapDeltaQueryUsers(GraphDeltaQueryResult<GraphDeltaQueryUser> graphUsersList,
long directoryId)
Maps a delta query result for users to a result suitable for incremental synchronisation.
|
<T> T |
mapDirectoryObject(DirectoryObject directoryObject,
Class<T> returnType,
long directoryId)
Maps an AzureAD directory object to a Crowd object.
|
<T> List<T> |
mapDirectoryObjects(Collection<DirectoryObject> directoryObjects,
Class<T> returnType,
long directoryId)
Maps a collection of directory objects to Crowd objects.
|
<T> List<T> |
mapDirectoryObjects(GraphDirectoryObjectList directoryObjectList,
Class<T> returnType,
long directoryId)
Maps a directory objects response from Azure AD.
|
<T> T |
mapGroup(GraphGroup graphGroup,
Class<T> returnType,
long directoryId)
Maps a group obtained from the Azure AD groups endpoint to a Crowd object
|
<T> List<T> |
mapGroups(Collection<GraphGroup> graphGroups,
Class<T> returnType,
long directoryId)
Maps a collection of Azure AD groups to Crowd groups.
|
<T> List<T> |
mapGroups(GraphGroupList graphGroupList,
Class<T> returnType,
long directoryId)
Maps a groups response from Azure AD to Crowd groups.
|
<T> T |
mapUser(GraphUser graphUser,
Class<T> returnType,
long directoryId)
Maps a user obtained from the Azure AD users endpoint to a Crowd object
|
<T> List<T> |
mapUsers(Collection<GraphUser> graphUsersList,
Class<T> returnType,
long directoryId)
Maps a collection of Azure AD users to Crowd users.
|
<T> List<T> |
mapUsers(GraphUsersList graphUsersList,
Class<T> returnType,
long directoryId)
Maps a users response from Azure AD to Crowd users.
|
public <T> List<T> mapUsers(GraphUsersList graphUsersList, Class<T> returnType, long directoryId)
graphUsersList
- the response from Azure ADreturnType
- the desired return typedirectoryId
- the id of the Crowd directorypublic <T> List<T> mapUsers(Collection<GraphUser> graphUsersList, Class<T> returnType, long directoryId)
graphUsersList
- the users to mapreturnType
- the desired return typedirectoryId
- the id of the Crowd directorypublic DeltaQueryResult<UserWithAttributes> mapDeltaQueryUsers(GraphDeltaQueryResult<GraphDeltaQueryUser> graphUsersList, long directoryId)
graphUsersList
- the users to mapdirectoryId
- the id of the Crowd directorypublic <T> T mapUser(GraphUser graphUser, Class<T> returnType, long directoryId)
graphUser
- the user obtained from Azure ADreturnType
- the desired return typedirectoryId
- the id of the Crowd directorypublic <T> List<T> mapGroups(GraphGroupList graphGroupList, Class<T> returnType, long directoryId)
graphGroupList
- the response from Azure ADreturnType
- the desired return typedirectoryId
- the id of the Crowd directorypublic <T> List<T> mapGroups(Collection<GraphGroup> graphGroups, Class<T> returnType, long directoryId)
graphGroups
- the groups to mapreturnType
- the desired return typedirectoryId
- the id of the Crowd directorypublic DeltaQueryResult<GroupWithMembershipChanges> mapDeltaQueryGroups(GraphDeltaQueryResult<GraphDeltaQueryGroup> graphGroups, long directoryId)
graphGroups
- the groups to mapdirectoryId
- the id of the Crowd directorypublic <T> List<T> mapDirectoryObjects(GraphDirectoryObjectList directoryObjectList, Class<T> returnType, long directoryId)
directoryObjectList
- the directory objects response from Azure ADreturnType
- the desired return typedirectoryId
- the id of the Crowd directorypublic <T> List<T> mapDirectoryObjects(Collection<DirectoryObject> directoryObjects, Class<T> returnType, long directoryId)
directoryObjects
- the directory objects to mapreturnType
- the desired return typedirectoryId
- the id of the Crowd directorypublic <T> T mapGroup(GraphGroup graphGroup, Class<T> returnType, long directoryId)
graphGroup
- the group obtained from Azure ADreturnType
- the desired return typedirectoryId
- the id of the Crowd directorypublic GroupWithMembershipChanges mapDeltaQueryGroup(GraphDeltaQueryGroup graphGroup, long directoryId)
graphGroup
- the group obtained from Azure ADdirectoryId
- the id of the Crowd directorypublic <T> T mapDirectoryObject(DirectoryObject directoryObject, Class<T> returnType, long directoryId)
directoryObject
- the result from Azure ADreturnType
- the desired return typedirectoryId
- the id of the Crowd directoryIllegalArgumentException
- when the directoryObject is a generic DirectoryObject
instanceCopyright © 2021 Atlassian. All rights reserved.