void |
AvatarRepository.delete(@NotNull AvatarType type,
@NotNull String id) |
Deletes any stored avatars for the specified object and type.
|
void |
DiskAvatarRepository.delete(@NotNull AvatarType type,
@NotNull String avatarId) |
|
@NotNull Optional<Long> |
AvatarRepository.getVersionId(@NotNull AvatarType type,
@NotNull String id) |
Retrieves a version identifier for the avatar with the specified object and type.
|
@NotNull Optional<Long> |
DiskAvatarRepository.getVersionId(@NotNull AvatarType type,
@NotNull String id) |
|
boolean |
AvatarRepository.isStored(@NotNull AvatarType type,
@NotNull String id) |
Retrieves a flag indicating whether an avatar has been stored for the specified object and type.
|
boolean |
DiskAvatarRepository.isStored(@NotNull AvatarType type,
@NotNull String avatarId) |
|
@Nullable CacheableAvatarSupplier |
AvatarRepository.load(@NotNull AvatarType type,
@NotNull String id,
int size) |
Retrieves the current avatar for the specified object and type, or a null if no avatar has been stored.
|
@Nullable CacheableAvatarSupplier |
DiskAvatarRepository.load(@NotNull AvatarType type,
@NotNull String avatarId,
int size) |
|
@NotNull CacheableAvatarSupplier |
AvatarRepository.loadDefault(@NotNull AvatarType type,
int size) |
Loads a default avatar for the specified type in an approximation of the requested size.
|
@NotNull CacheableAvatarSupplier |
DiskAvatarRepository.loadDefault(@NotNull AvatarType type,
int size) |
|
void |
AvatarRepository.move(@NotNull AvatarType type,
@NotNull String oldId,
@NotNull String newId) |
Moves any stored avatars for the specified object and type from the old ID to the new ID.
|
void |
DiskAvatarRepository.move(@NotNull AvatarType type,
@NotNull String oldId,
@NotNull String newId) |
|
void |
AvatarRepository.store(@NotNull AvatarType type,
@NotNull String id,
@NotNull AvatarSupplier supplier) |
Stores the provided avatar for the specified object and type.
|
void |
DiskAvatarRepository.store(@NotNull AvatarType type,
@NotNull String avatarId,
@NotNull AvatarSupplier supplier) |
|