public interface DataChooser
Modifier and Type | Field and Description |
---|---|
static String |
ROW_INDEX_IN_TABLE |
static String |
S_QUERY_CRITERIA_KEY
Stała, która jest kluczem wartości "query" przesyłanej w przypadku comboboxa.
|
Modifier and Type | Method and Description |
---|---|
List<Map<String,String>> |
getDataChooserResult(int nStartItem,
int nLimit,
String sOrderProperty,
String sOrder,
Map<String,String> mCriteria,
Map<String,String> mCustomKeys)
Zwraca wyniki dla konkretnej strony, na podstawie opcjonalnych kryteriow
|
int |
getDataChooserResultSize(Map<String,String> mCriteria,
Map<String,String> mCustomKeys)
Zwraca calkowita ilosc wynikow w zwracanym zestawie danych.
|
static final String S_QUERY_CRITERIA_KEY
static final String ROW_INDEX_IN_TABLE
int getDataChooserResultSize(Map<String,String> mCriteria, Map<String,String> mCustomKeys)
mCriteria
- kryteria wyszukiwania, moga byc nullmCustomKeys
- wlasne klucze z wartosciami, podane w xpdl'uList<Map<String,String>> getDataChooserResult(int nStartItem, int nLimit, String sOrderProperty, String sOrder, Map<String,String> mCriteria, Map<String,String> mCustomKeys)
nStartItem
- numer element wyniku od ktorego zwracamy, numeracja od 0nLimit
- ile elementow poczawszy od podanego chcemy otrzymacsOrderProperty
- id elementu po ktorym jest sortowaniesOrder
- rodzaj sortowania "ASC" lub "DESC"mCriteria
- kryteria wyszukiwania, moga byc nullmCustomKeys
- wlasne klucze z wartosciami, podane w xpdl'uCopyright © 2019 Suncode. All rights reserved.