public class BusinessObjectServiceMigrationUtils extends Object
| Constructor and Description |
|---|
BusinessObjectServiceMigrationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
deleteMatching(DataObjectService dos,
Class<T> entityClass,
Map<String,?> queryAttrs)
Adapts BusinessObjectService.deleteMatching calls to use the DataObjectService.
|
static <T> List<T> |
findMatching(DataObjectService dos,
Class<T> entityClass,
Map<String,?> queryAttrs)
Adapts BusinessObjectService.findMatching calls to use the DataObjectService.
|
static <T> List<T> |
findMatchingOrderBy(DataObjectService dos,
Class<T> entityClass,
Map<String,?> queryAttrs,
String orderByField,
boolean sortAscending)
Adapts BusinessObjectService.findMatchingOrderBy calls to use the DataObjectService.
|
static <T> T |
findSingleMatching(DataObjectService dos,
Class<T> entityClass,
Map<String,?> queryAttrs)
Adapts BusinessObjectService.findByPrimaryKey calls to use the DataObjectService.
|
public BusinessObjectServiceMigrationUtils()
public static <T> T findSingleMatching(DataObjectService dos, Class<T> entityClass, Map<String,?> queryAttrs)
T - the type of the entity classdos - the DataObjectService instanceentityClass - queryAttrs - attribute:value pairs that will be ANDed together in the querypublic static <T> List<T> findMatching(DataObjectService dos, Class<T> entityClass, Map<String,?> queryAttrs)
T - the type of the entity classdos - the DataObjectService instanceentityClass - queryAttrs - attribute:value pairs that will be ANDed together in the querypublic static <T> List<T> findMatchingOrderBy(DataObjectService dos, Class<T> entityClass, Map<String,?> queryAttrs, String orderByField, boolean sortAscending)
T - the type of the entity classdos - the DataObjectService instanceentityClass - queryAttrs - attribute:value pairs that will be ANDed together in the queryorderByField - sortAscending - public static <T> void deleteMatching(DataObjectService dos, Class<T> entityClass, Map<String,?> queryAttrs)
T - the type of the entity classdos - the DataObjectService instanceentityClass - queryAttrs - attribute:value pairs that will be ANDed together in the queryCopyright © 2005–2016 The Kuali Foundation. All rights reserved.