Interface GenericFilter
public interface GenericFilter
Interface for applying custom filtering logic to records displayed in a
GenericTableFilterCustomWidget.
Implementations specify the criteria that determine whether a record should be included in the widget's selection list.
- Author:
- APGAR Consulting
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(Adaptation pTargetRecord, Session pSession, WidgetDisplayContext pContext) Determines whether the provided record should be accepted and displayed.
-
Method Details
-
accept
Determines whether the provided record should be accepted and displayed.- Parameters:
pTargetRecord- the record being consideredpSession- the current user sessionpContext- the widget display context- Returns:
trueif the record should be shown,falseotherwise
-