Package org.opencms.ui.apps.cacheadmin
Class CmsImageCacheHolder
java.lang.Object
org.opencms.ui.apps.cacheadmin.CmsImageCacheHolder
Helper class for getting information about cached images.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns all cached images.getVariations
(String resource) Get variations of resource.int
getVariationsCount
(String resource) Get the amount of variations for resource.
-
Field Details
-
m_clonedCms
Cms Object.
-
-
Constructor Details
-
CmsImageCacheHolder
public constructor.- Parameters:
search
-
-
-
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
Get the amount of variations for resource.- Parameters:
resource
- to get variations for- Returns:
- amount of variations
-