public class PasswordExpirationTimeVirtualAttributeProvider extends VirtualAttributeProvider<org.forgerock.opendj.server.config.server.PasswordExpirationTimeVirtualAttributeCfg>
Constructor and Description |
---|
PasswordExpirationTimeVirtualAttributeProvider()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
boolean |
hasValue(Entry entry,
VirtualAttributeRule rule)
Indicates whether this virtual attribute provider will generate
at least one value for the provided entry.
|
boolean |
isMultiValued()
Indicates whether this virtual attribute provider may generate
multiple values.
|
boolean |
isSearchable(VirtualAttributeRule rule,
SearchOperation searchOperation,
boolean isPreIndexed)
Indicates whether this attribute may be included in search
filters as part of the criteria for locating entries.
|
void |
processSearch(VirtualAttributeRule rule,
SearchOperation searchOperation)
Processes the provided search operation in which the search
criteria includes an operation targeted at this virtual
attribute.
|
approximatelyEqualTo, finalizeVirtualAttributeProvider, greaterThanOrEqualTo, hasAllValues, hasValue, initializeVirtualAttributeProvider, isConfigurationAcceptable, lessThanOrEqualTo, matchesEqualityAssertion, matchesSubstring
public PasswordExpirationTimeVirtualAttributeProvider()
public boolean isMultiValued()
VirtualAttributeProvider
isMultiValued
in class VirtualAttributeProvider<org.forgerock.opendj.server.config.server.PasswordExpirationTimeVirtualAttributeCfg>
true
if this virtual attribute provider may
generate multiple values, or false
if not.public Attribute getValues(Entry entry, VirtualAttributeRule rule)
VirtualAttributeProvider
getValues
in class VirtualAttributeProvider<org.forgerock.opendj.server.config.server.PasswordExpirationTimeVirtualAttributeCfg>
entry
- The entry for which the values are to be generated.rule
- The virtual attribute rule which defines the constraints
for the virtual attribute.null
.public boolean isSearchable(VirtualAttributeRule rule, SearchOperation searchOperation, boolean isPreIndexed)
VirtualAttributeProvider
isSearchable
in class VirtualAttributeProvider<org.forgerock.opendj.server.config.server.PasswordExpirationTimeVirtualAttributeCfg>
rule
- The virtual attribute rule which defines
the constraints for the virtual
attribute.searchOperation
- 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(VirtualAttributeRule rule, 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<org.forgerock.opendj.server.config.server.PasswordExpirationTimeVirtualAttributeCfg>
rule
- The virtual attribute rule which defines
the constraints for the virtual
attribute.searchOperation
- The search operation to be processed.public boolean hasValue(Entry entry, VirtualAttributeRule rule)
VirtualAttributeProvider
hasValue
in class VirtualAttributeProvider<org.forgerock.opendj.server.config.server.PasswordExpirationTimeVirtualAttributeCfg>
entry
- The entry for which to make the determination.rule
- The virtual attribute rule which defines the
constraints for the virtual attribute.true
if this virtual attribute provider will
generate at least one value for the provided entry, or
false
if not.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.