Class TreeSearchIndex
- java.lang.Object
-
- org.forgerock.openam.entitlement.indextree.TreeSearchIndex
-
- All Implemented Interfaces:
ISearchIndex
public class TreeSearchIndex extends Object implements ISearchIndex
This search index implementation acts as a go between for the entitlements framework and the delegate. The benefit is that a dumb implementation can be substituted when in the client context removing the need for SDK to package up third party dependencies.- Author:
- apforrest
-
-
Constructor Summary
Constructors Constructor Description TreeSearchIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceSearchIndexesgetIndexes(String resource, String realm)Returns search indexes for a given resource.
-
-
-
Method Detail
-
getIndexes
public ResourceSearchIndexes getIndexes(String resource, String realm) throws EntitlementException
Description copied from interface:ISearchIndexReturns search indexes for a given resource.- Specified by:
getIndexesin interfaceISearchIndex- Parameters:
resource- Resource for generating the indexes.realm- Current realm to be searched.- Returns:
- search indexes for a given resource.
- Throws:
EntitlementException- When an error occurs in the entitlements framework.
-
-