public class DirectoryEntitiesTransformer extends Object
DirectoryNotFoundException
, which can't be handled by Stream.map(Function)
.Modifier and Type | Class and Description |
---|---|
static interface |
DirectoryEntitiesTransformer.DirectoryFinder |
Modifier and Type | Method and Description |
---|---|
List<GroupAdministrationMappingRestDTO> |
fromGroupToGroupAdministrationMappingRestDTO(List<Group> users) |
List<GroupAdministrationMappingRestDTO> |
fromUserToGroupAdministrationMappingRestDTO(List<? extends User> users) |
GroupAdministrationMappingRestDTO |
toGroupAdministrationMappingRestDTO(Group group) |
GroupAdministrationMappingRestDTO |
toGroupAdministrationMappingRestDTO(User user) |
List<UserData> |
toUserData(List<? extends User> users) |
UserData |
toUserData(User user) |
UserData |
toUserDataWithAvatar(User user,
String avatarUrl) |
static DirectoryEntitiesTransformer |
withDirectoryCaching(DirectoryEntitiesTransformer.DirectoryFinder directoryFinder) |
public List<GroupAdministrationMappingRestDTO> fromUserToGroupAdministrationMappingRestDTO(List<? extends User> users)
public GroupAdministrationMappingRestDTO toGroupAdministrationMappingRestDTO(User user)
public List<GroupAdministrationMappingRestDTO> fromGroupToGroupAdministrationMappingRestDTO(List<Group> users)
public GroupAdministrationMappingRestDTO toGroupAdministrationMappingRestDTO(Group group)
public static DirectoryEntitiesTransformer withDirectoryCaching(DirectoryEntitiesTransformer.DirectoryFinder directoryFinder)
Copyright © 2021 Atlassian. All rights reserved.