UserMapperImpl

internal class UserMapperImpl(idMapper: IdMapper = MapperProvider.idMapper(), domainUserTypeMapper: DomainUserTypeMapper = MapperProvider.userTypeMapper(), availabilityStatusMapper: AvailabilityStatusMapper = MapperProvider.availabilityStatusMapper(), connectionStateMapper: ConnectionStateMapper = MapperProvider.connectionStateMapper(), userEntityTypeMapper: UserEntityTypeMapper = MapperProvider.userTypeEntityMapper()) : UserMapper

Constructors

Link copied to clipboard
constructor(idMapper: IdMapper = MapperProvider.idMapper(), domainUserTypeMapper: DomainUserTypeMapper = MapperProvider.userTypeMapper(), availabilityStatusMapper: AvailabilityStatusMapper = MapperProvider.availabilityStatusMapper(), connectionStateMapper: ConnectionStateMapper = MapperProvider.connectionStateMapper(), userEntityTypeMapper: UserEntityTypeMapper = MapperProvider.userTypeEntityMapper())

Functions

Link copied to clipboard
open override fun fromEntityToUserSummary(userEntity: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromFailedUserToEntity(userId: <Error class: unknown class>): <Error class: unknown class>

Default values and marked as UserEntity.hasIncompleteMetadata = true. So later we can re-fetch them.

Link copied to clipboard
open override fun fromModelToUpdateApiModel(newName: String?, newAccent: Int?, newAssetId: String?): <Error class: unknown class>

Maps the user data to be updated. if the parameters newName newAssetId are nulls, it indicates that not updation should be made.

Link copied to clipboard
open override fun fromOtherToUserEntity(otherUser: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromSearchEntityToUserSearchDetails(searchEntity: <Error class: unknown class>): UserSearchDetails
Link copied to clipboard
open override fun fromSelfUserDtoToUserEntity(userDTO: <Error class: unknown class>, connectionState: <Error class: unknown class>, userTypeEntity: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromSelfUserToUserEntity(selfUser: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromUpdateRequestToPartialUserEntity(updateRequest: <Error class: unknown class>, selfUserId: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromUserDetailsEntityToOtherUser(userEntity: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromUserDetailsEntityToSelfUser(userEntity: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromUserEntityToOtherUser(userEntity: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromUserEntityToOtherUserMinimized(userEntity: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromUserEntityToSelfUser(userEntity: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromUserProfileDtoToOtherUser(userProfile: <Error class: unknown class>, selfUserId: <Error class: unknown class>, selfTeamId: <Error class: unknown class>?): <Error class: unknown class>
Link copied to clipboard
open override fun fromUserProfileDtoToUserEntity(userProfile: <Error class: unknown class>, connectionState: <Error class: unknown class>, userTypeEntity: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
open override fun fromUserUpdateEventToPartialUserEntity(event: Event.User.Update): <Error class: unknown class>