ProfileImageService

Service for ProfileImages.

Author

Jan Müller
interface ProfileImageService

Functions

deleteProfileImageByUserId
Link copied to clipboard
Deletes the ProfileImage of a User. Must validate that the ProfileImage exists.
abstract suspend fun deleteProfileImageByUserId(userId: String): Result<String>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getProfileImageByUserId
Link copied to clipboard
Returns the ProfileImage of a User. Must validate that the ProfileImage exists.
abstract suspend fun getProfileImageByUserId(userId: String): Result<ProfileImage>
getProfileImageTimestampByUserId
Link copied to clipboard
Returns the timestamp of a User's ProfileImage. Must validate that the ProfileImage exists.
abstract suspend fun getProfileImageTimestampByUserId(userId: String): Result<Long>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
saveProfileImageForUser
Link copied to clipboard
Saves the ProfileImage of a User. Must validate that the User exists.
abstract suspend fun saveProfileImageForUser(userId: String, image: String): Result<String>
toString
Link copied to clipboard
open override fun toString(): String

Inheritors

DefaultProfileImageService
Link copied to clipboard