package de.htwsaar.webshop.service;

import de.htwsaar.webshop.model.ImageModel;
import de.htwsaar.webshop.repository.entities.Image;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.UUID;

public interface ImageService {
    List<Image> getImagesByUUID(UUID uuid);

    Image getImageByUUID(UUID uuid);

    Image getImageById(Long imageId);

    Image save(Image image);

    Image save(ImageModel model);

    Image save(UUID uuid, MultipartFile file);

    Image save(UUID uuid, String base64);

    void deleteById(Long imageId);
}
