Class CmsImageCacheHolder

java.lang.Object
org.opencms.ui.apps.cacheadmin.CmsImageCacheHolder

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

  • Field Details

  • Constructor Details

  • Method Details

    • getAllCachedImages

      Returns all cached images.

      Returns:
      a list of root paths
    • getVariations

      Get variations of resource.

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

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

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