ProfilePicture

@Entity
open class ProfilePicture : AutoGeneratedIdentifiableEntity

The entity holding a user's profile picture.

Constructors

Link copied to clipboard
constructor()
constructor(fileName: String, fileData: Array<Byte>)
constructor(fileName: String, fileData: Array<Byte>, user: ProductUser)

Functions

Link copied to clipboard
@NotNull
open fun builder(): @NotNull ProfilePictureBuilder
Link copied to clipboard
open fun fetchFileType()
Link copied to clipboard
@NotNull
open fun getFileType(@NotNull fileName: @NotNull String): @NotNull String
Link copied to clipboard
open fun getId(): @Nullable Long
abstract fun getId(): T
Link copied to clipboard
open fun setFileName(fileName: String)
Link copied to clipboard
open fun setId(id: @Nullable Long)