planetj.possiblevalues
Class DistinctPV
java.lang.Object
|
+--planetj.possiblevalues.DistinctPV
- All Implemented Interfaces:
- IPossibleValueGetter
- Direct Known Subclasses:
- DistinctCachePV
- public class DistinctPV
- extends Object
- implements IPossibleValueGetter
Gets all distinct column values from the DB
DistinctPV
public DistinctPV()
getPossibleValues
public RowCollection getPossibleValues(Field pField)
throws CMException
- It is recommended that your possible value
class use the DataEngine.getRows() methods
to return a RowCollection. If the RowCollection
returns 1 column, that column will be used for
the value and display value. If the RowCollection
returns 2 columns, it is assumed the 2nd column
will be the display value.
- Specified by:
getPossibleValues
in interface IPossibleValueGetter
- Returns:
- RowCollection
CMException