public class HubSelectDelegate extends Object
Constructor and Description |
---|
HubSelectDelegate() |
Modifier and Type | Method and Description |
---|---|
protected static int |
_fetchMore(Hub thisHub,
OASelect sel,
int famt) |
protected static void |
cancelSelect(Hub thisHub,
boolean bRemoveSelect)
Cancels current OASelect, calling select.cancel()
This will also set SelectLater to false and RequiredWhere to null.
|
protected static int |
fetchMore(Hub thisHub)
Internal method to retrieve objects from last select()
|
protected static int |
fetchMore(Hub thisHub,
int famt)
Internal method to retrieve objects from last select()
|
protected static int |
fetchMore(Hub thisHub,
OASelect sel) |
protected static int |
fetchMore(Hub thisHub,
OASelect sel,
int famt) |
static int |
getCount(Hub thisHub) |
protected static OASelect |
getSelect(Hub thisHub)
Returns OASelect used for querying datasource.
|
protected static OASelect |
getSelect(Hub thisHub,
boolean bCreateIfNull) |
static String |
getSelectOrder(Hub thisHub)
Sort Order clause to use for select.
|
static String |
getSelectWhere(Hub thisHub) |
static boolean |
isCounted(Hub thisHub) |
static boolean |
isMoreData(Hub thisHub)
Find out if more objects are available from last select from OADataSource.
|
static boolean |
isMoreData(OASelect sel) |
static void |
loadAllData(Hub thisHub)
This will automatically read all records from current select().
|
static void |
loadAllData(Hub thisHub,
OASelect select) |
static boolean |
refreshSelect(Hub thisHub)
This will re-run the last select.
|
static void |
select(Hub thisHub,
boolean bAppendFlag) |
protected static void |
select(Hub thisHub,
OAObject whereObject,
String whereClause,
Object[] whereParams,
String orderByClause,
boolean bAppendFlag) |
protected static void |
select(Hub thisHub,
OAObject whereObject,
String whereClause,
Object[] whereParams,
String orderByClause,
boolean bAppendFlag,
OAFilter filter) |
static void |
select(Hub thisHub,
OASelect select)
Used to populate Hub with objects returned from a OADataSource select.
|
static void |
selectPassthru(Hub thisHub,
String whereClause,
String orderClause) |
static void |
selectPassthru(Hub thisHub,
String whereClause,
String orderClause,
boolean bAppend) |
static void |
setSelectOrder(Hub thisHub,
String s)
Sort Order clause to use for select.
|
static void |
setSelectWhere(Hub thisHub,
String s)
WHERE clause to use for select.
|
protected static int fetchMore(Hub thisHub)
protected static int fetchMore(Hub thisHub, int famt)
public static boolean isMoreData(Hub thisHub)
public static boolean isMoreData(OASelect sel)
public static void loadAllData(Hub thisHub)
protected static OASelect getSelect(Hub thisHub)
public static void select(Hub thisHub, OASelect select)
protected static void cancelSelect(Hub thisHub, boolean bRemoveSelect)
public static int getCount(Hub thisHub)
public static boolean isCounted(Hub thisHub)
public static void setSelectWhere(Hub thisHub, String s)
public static void setSelectOrder(Hub thisHub, String s)
getSelectOrder(com.viaoa.hub.Hub)
,
OASelect
public static String getSelectOrder(Hub thisHub)
public static void select(Hub thisHub, boolean bAppendFlag)
protected static void select(Hub thisHub, OAObject whereObject, String whereClause, Object[] whereParams, String orderByClause, boolean bAppendFlag)
protected static void select(Hub thisHub, OAObject whereObject, String whereClause, Object[] whereParams, String orderByClause, boolean bAppendFlag, OAFilter filter)
public static void selectPassthru(Hub thisHub, String whereClause, String orderClause)
public static void selectPassthru(Hub thisHub, String whereClause, String orderClause, boolean bAppend)
Copyright © 1999–2019 ViaOA. All rights reserved.