Class CmsImageCacheHolder


  • public class CmsImageCacheHolder
    extends java.lang.Object
    Helper class for getting information about cached images.

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsImageCacheHolder​(java.lang.String search)
      public constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getAllCachedImages()
      Returns all cached images.
      java.util.List<CmsVariationBean> getVariations​(java.lang.String resource)
      Get variations of resource.
      int getVariationsCount​(java.lang.String resource)
      Get the amount of variations for resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsImageCacheHolder

        public CmsImageCacheHolder​(java.lang.String search)
        public constructor.

        Parameters:
        search -
    • Method Detail

      • getAllCachedImages

        public java.util.List<java.lang.String> getAllCachedImages()
        Returns all cached images.

        Returns:
        a list of root paths
      • getVariations

        public java.util.List<CmsVariationBeangetVariations​(java.lang.String resource)
        Get variations of resource.

        Parameters:
        resource - to get variations for
        Returns:
        list of CmsVariationBean
      • getVariationsCount

        public int getVariationsCount​(java.lang.String resource)
        Get the amount of variations for resource.

        Parameters:
        resource - to get variations for
        Returns:
        amount of variations