public class IsMemberOfVirtualAttributeProvider extends VirtualAttributeProvider<IsMemberOfVirtualAttributeCfg>
Constructor and Description |
---|
IsMemberOfVirtualAttributeProvider() |
Modifier and Type | Method and Description |
---|---|
Attribute |
getAttribute(Entry entry,
AttributeDescription attributeDescription)
Generates an unmodifiable attribute with the values for the provided entry.
|
boolean |
isMultiValued()
Indicates whether this virtual attribute provider may generate multiple values.
|
boolean |
isSearchable(AttributeDescription attributeDescription,
SearchOperation searchOperation,
boolean isPreIndexed)
Indicates whether this attribute may be included in search filters as part of the criteria for locating entries.
|
void |
processSearch(AttributeDescription attributeDescription,
SearchOperation searchOperation)
Processes the provided search operation in which the search criteria includes an operation targeted at this
virtual attribute.
|
finalizeVirtualAttributeProvider, initializeVirtualAttributeProvider, isConfigurationAcceptable
public boolean isMultiValued()
VirtualAttributeProvider
isMultiValued
in class VirtualAttributeProvider<IsMemberOfVirtualAttributeCfg>
true
if this virtual attribute provider may generate multiple values, or false
if not.public Attribute getAttribute(Entry entry, AttributeDescription attributeDescription)
VirtualAttributeProvider
getAttribute
in class VirtualAttributeProvider<IsMemberOfVirtualAttributeCfg>
entry
- The entry for which the values are to be generated.attributeDescription
- the attribute description corresponding to this virtual attributenull
.public boolean isSearchable(AttributeDescription attributeDescription, SearchOperation searchOperation, boolean isPreIndexed)
isSearchable
in class VirtualAttributeProvider<IsMemberOfVirtualAttributeCfg>
attributeDescription
- the attribute description corresponding to this virtual attributesearchOperation
- The search operation for which to make the determination.isPreIndexed
- Indicates if we expect the search on the virtual attribute to be faster than an index search.true
if this attribute may be included in search filters, or false
if not.public void processSearch(AttributeDescription attributeDescription, SearchOperation searchOperation)
VirtualAttributeProvider
isSearchable
returns true and it is not possible
to construct a manageable candidate list by processing other elements of the search criteria.processSearch
in class VirtualAttributeProvider<IsMemberOfVirtualAttributeCfg>
attributeDescription
- the attribute description corresponding to this virtual attributesearchOperation
- The search operation to be processed.Copyright 2010-2022 ForgeRock AS.