Interface LOVCollection
-
public interface LOVCollection
A list of values for a field.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getGridTitles(com.redwood.scheduler.api.model.SchedulerSession session)
Get the grid titles for displaying the list of values.String[]
getRow(int n)
Get the values for the nth row.int
getSize()
Get the number of elements in the collection.Object
getValue(int n)
Get the value for the field for the nth row.
-
-
-
Method Detail
-
getSize
int getSize()
Get the number of elements in the collection.- Returns:
- the number of elements in the collection
-
getGridTitles
String[] getGridTitles(com.redwood.scheduler.api.model.SchedulerSession session)
Get the grid titles for displaying the list of values.- Parameters:
session
- to be used to translate the titles- Returns:
- array with the column headers
-
getRow
String[] getRow(int n)
Get the values for the nth row. NOTE: Various pieces of code, most notably the autosuggest, but also some veto-handlers, expect exact matches to be first in the list. A returned string can be a translation key.- Parameters:
n
- is the index of the requested element- Returns:
- array with column values for the n-th element
-
getValue
Object getValue(int n)
Get the value for the field for the nth row. NOTE: Various pieces of code, most notably the autosuggest, but also some veto-handlers, expect exact matches to be first in the list.- Parameters:
n
- is the index of the requested element- Returns:
- internal value for the n-th element
-
-