Class ThumbnailManagerImpl

java.lang.Object
ch.tocco.nice2.dms.impl.thumbnail.ThumbnailManagerImpl
All Implemented Interfaces:
ThumbnailManager

@Component public class ThumbnailManagerImpl extends Object implements ThumbnailManager
  • Constructor Details

  • Method Details

    • setThumbnailServiceUrl

      @Value("${nice2.dms.thumbnailServiceUrl}") public void setThumbnailServiceUrl(String thumbnailServiceUrl)
    • setThumbnailServicePath

      @Value("${nice2.dms.thumbnailServicePath}") public void setThumbnailServicePath(String thumbnailServicePath)
    • setThumbnailServiceApiKey

      @Value("${nice2.dms.thumbnailServiceApiKey}") public void setThumbnailServiceApiKey(String thumbnailServiceApiKey)
    • setThumbnailServiceMaxContentSizeInMb

      @Value("${nice2.dms.thumbnailServiceMaxContentSizeInMb}") public void setThumbnailServiceMaxContentSizeInMb(double thumbnailServiceMaxContentSizeInMb)
    • getThumbnail

      public Thumbnail getThumbnail(BinaryContent content, int width, int height)
      Specified by:
      getThumbnail in interface ThumbnailManager
    • getThumbnail

      public Thumbnail getThumbnail(BinaryContent content, String format, int width, int height)
      Specified by:
      getThumbnail in interface ThumbnailManager