com.waveset.object
Interface RuleDrivenMembersCache
- public interface RuleDrivenMembersCache
- See Also:
ObjectCache
,
Interface to a cache of listObject results.
Defining this interface in the object package
allows it to be used by classes in the Object Model layer.
Field Summary |
static java.lang.String |
code_id
|
static java.lang.String |
OBJECT_CACHE
The name of an option used to specify the object cache to set in
rule driven member objects (e.g. |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
OBJECT_CACHE
public static final java.lang.String OBJECT_CACHE
- The name of an option used to specify the object cache to set in
rule driven member objects (e.g. users) when any are found during a
query for persistent objects (list/getObjects)
- See Also:
- Constant Field Values
getMemberObjectGroupRefs
public java.util.List getMemberObjectGroupRefs(PersistentObject obj,
ObjectCache sessionCache,
boolean bypassCache)
throws WavesetException
- Throws:
WavesetException
getMembers
public RepositoryResult getMembers(Type type,
java.lang.String objectGroupName,
java.util.Map options)
throws WavesetException
- Given an object group name, see if any rule driven results have already
been cached in the ruleDrivenUserMembersCache. If so, and they haven't
timed out, return them. If not and there's a user members rule on the
object group, execute and return the results. Finally, if execution of
the rule returned non-null results, cache them in the
ruleDrivenUserMembersCache so they will be available for the next request
- Throws:
WavesetException