Package org.zkoss.zk.ui.sys
Interface Storage
- All Superinterfaces:
Serializable
A storage interface is used for ZK web application to store application data
with a string key and a data type value.
The implementation class for this interface must be a thread safe that application
developer can add, remove, or get the data without dealing with threads.
- Since:
- 8.0.0
- Author:
- jumperchen
-
Method Summary
-
Method Details
-
getItem
Returns the value from the given key. -
setItem
Sets a data value with a given key -
removeItem
Removes the value from the given key, if any.- Returns:
- a removed value or null
-