public interface CockpitZulCache extends Resettable
PageDefinitions. Used by CockpitUIFactory to cache e.g. widget view definitions.| Modifier and Type | Method and Description |
|---|---|
org.zkoss.zk.ui.metainfo.PageDefinition |
addPageDefinitionToCache(String path,
org.zkoss.zk.ui.metainfo.PageDefinition def)
Adds a
PageDefinition to the cache. |
Set<String> |
getDefinitionPaths()
Returns all paths currently stored in the cache.
|
org.zkoss.zk.ui.metainfo.PageDefinition |
getPageDefinition(String path)
Returns the
PageDefinition for a given path. |
void |
reset()
Clears all entries in the cache.
|
org.zkoss.zk.ui.metainfo.PageDefinition getPageDefinition(String path)
PageDefinition for a given path.path - An unique identifier for the page.PageDefinition, if present in the cache, or null otherwise.org.zkoss.zk.ui.metainfo.PageDefinition addPageDefinitionToCache(String path, org.zkoss.zk.ui.metainfo.PageDefinition def)
PageDefinition to the cache.path - The path to the zul file.def - The PageDefinition to add to the cache.PageDefinition that was added (for convenience).Set<String> getDefinitionPaths()
void reset()
reset in interface ResettableCopyright © 2018. All rights reserved.