Class GalleryService

java.lang.Object
sk.iway.iwcm.components.gallery.GalleryService

public class GalleryService extends Object
  • Method Details

    • createOrUpdateGalleryEntity

      public static void createOrUpdateGalleryEntity(cn.bluejoe.elfinder.controller.executor.FsItemEx src, cn.bluejoe.elfinder.controller.executor.FsItemEx dst) throws IOException
      Create or update gallery entity after file move into new folder
      Parameters:
      src -
      dst -
      Throws:
      IOException
    • savePixabayImageUrl

      public static void savePixabayImageUrl(String imageName, String url)
      Save URL of downloaded image from PixaBay for later use
      Parameters:
      imageName -
      url -
    • getPixabayImageUrl

      public static String getPixabayImageUrl(String imageName, boolean removeFromCache)
      Get URL of downloaded image from PixaBay OR NULL if not found, and remove it from cache
      Parameters:
      imageName -
      Returns: