Package org.opencms.ui.apps
Interface I_CmsCachableApp
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
CmsAppHierachy
,CmsFileExplorer
,CmsListManager
,CmsModuleApp
,CmsSourceSearchApp
public interface I_CmsCachableApp extends java.io.Serializable
Apps implementing this interface will be stored in the user session so returning to the app will be quicker and use less resources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isCachable()
Returns whether this app should be cached within the user session.void
onRestoreFromCache()
Called after the view is fetched from the cache.
-
-
-
Method Detail
-
isCachable
boolean isCachable()
Returns whether this app should be cached within the user session.- Returns:
true
if the app is cachable
-
onRestoreFromCache
void onRestoreFromCache()
Called after the view is fetched from the cache.
-
-