Class BasicCustomPossibleValueProvider<S,ID extends Serializable>
java.lang.Object
com.kingsrook.qqq.backend.core.actions.values.BasicCustomPossibleValueProvider<S,ID>
- All Implemented Interfaces:
QCustomPossibleValueProvider<ID>
- Direct Known Subclasses:
TablesCustomPossibleValueProvider
public abstract class BasicCustomPossibleValueProvider<S,ID extends Serializable>
extends Object
implements QCustomPossibleValueProvider<ID>
Basic implementation of a possible value provider, for where there's a limited
set of possible source objects - so you just have to define how to make one
PV from a source object, how to list all of the source objects, and how to
look up a PV from an id.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPossibleValue
(Serializable idValue) protected abstract S
protected abstract QPossibleValue
<ID> makePossibleValue
(S sourceObject) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.kingsrook.qqq.backend.core.actions.values.QCustomPossibleValueProvider
completeCustomPVSSearch, convertInputIdsToIdType, doesPossibleValueMatchSearchInput
-
Constructor Details
-
BasicCustomPossibleValueProvider
public BasicCustomPossibleValueProvider()
-
-
Method Details
-
makePossibleValue
-
getSourceObject
-
getAllSourceObjects
-
getPossibleValue
- Specified by:
getPossibleValue
in interfaceQCustomPossibleValueProvider<S>
-
search
- Specified by:
search
in interfaceQCustomPossibleValueProvider<S>
- Throws:
QException
-