
Classes | |
| class | Entry |
Public Member Functions | |
| void | appendToResponse (WOResponse response, WOContext context) |
| void | awake () |
| ERXCachingWrapper (WOContext context) | |
| NSKeyValueCoding | formValues () |
| NSKeyValueCoding | headers () |
| WOActionResults | invokeAction (WORequest request, WOContext context) |
| void | takeValuesFromRequest (WORequest request, WOContext context) |
Protected Member Functions | |
| long | cacheDuration () |
| String | entryName () |
| NSArray | keys () |
| NSDictionary | values () |
Protected Attributes | |
| Long | cacheDuration |
| Entry | entry |
| String | entryName |
| NSArray | keys |
| NSDictionary | values |
Static Protected Attributes | |
| static Map | cache |
Static Private Attributes | |
| static final Logger | log = Logger.getLogger(ERXCachingWrapper.class) |
parent.isEnabled, where isEnabled would be some method on the parent. session.user.name headers.hostName formValues.oid session.localizer.language keys the keys to use for caching duration the duration the entry stays in the cache entryName the name to cache on
| ERXCachingWrapper | ( | WOContext | context | ) |
Public constructor
| context | the context |
| void appendToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
Calls resetCachedBindingsInStatefulComponent prior to super.appendToResponse.
| response | to which we are appending | |
| context | context of the response |
Reimplemented from ERXNonSynchronizingComponent.
| void awake | ( | ) |
| long cacheDuration | ( | ) | [protected] |
| NSKeyValueCoding formValues | ( | ) |
Returns the form values as a KVC object.
| NSKeyValueCoding headers | ( | ) |
Returns the request headers as a KVC object.
| WOActionResults invokeAction | ( | WORequest | request, | |
| WOContext | context | |||
| ) |
Calls resetCachedBindingsInStatefulComponent prior to super.invokeAction.
| request | for which the action is invoked | |
| context | of the request |
Reimplemented from ERXNonSynchronizingComponent.
| NSArray keys | ( | ) | [protected] |
| void takeValuesFromRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) |
Calls resetCachedBindingsInStatefulComponent prior to super.takeValuesFromRequest.
| request | from which the values will be taken | |
| context | of the request |
Reimplemented from ERXNonSynchronizingComponent.
| NSDictionary values | ( | ) | [protected] |
Map cache [static, protected] |
Long cacheDuration [protected] |
NSArray keys [protected] |
NSDictionary values [protected] |
1.5.8