|
DOCUMENTS 5 - PortalScripting API
|
The PropertyCache class is a util class that allows it to store / cache data over the end of the run time of a script. More...
Public Member Functions | |
| boolean | hasProperty (String name) |
| Function to check if a named property exists in the PropertyCache. More... | |
| string [] | listProperties () |
| Function to list all properties in the PropertyCache. More... | |
| boolean | removeProperty (String name) |
| Function to delete a named property exists in the PropertyCache. More... | |
The PropertyCache class is a util class that allows it to store / cache data over the end of the run time of a script.
There is exactly one global implicit object of the class PropertyCache which is named propCache. At the SystemUser and the AccessProfile are also PropertyCache objects (SystemUser.propCache, AccessProfile.propCache).
propCache.Name1 = one_value; propCache.Name2 = another_value; PropertyCache, since the propCache object is always available.| boolean PropertyCache::hasProperty | ( | String | name | ) |
Function to check if a named property exists in the PropertyCache.
true if the property exists, false if not | string [] PropertyCache::listProperties | ( | ) |
Function to list all properties in the PropertyCache.
| boolean PropertyCache::removeProperty | ( | String | name | ) |
Function to delete a named property exists in the PropertyCache.
true if successful, false in case of any error