Type
- type of the items to search forpublic class SearchOptions<Type> extends Object implements Serializable
UserManagementItem
.Constructor and Description |
---|
SearchOptions(Class<Type> type,
Map<DescriptorField,Object> fields,
LazyLoadingStrategy strategy,
DescriptorOperation op) |
Modifier and Type | Method and Description |
---|---|
DescriptorComparison |
getComparison()
Gets the SQL where clause comparison.
|
Map<DescriptorField,Object> |
getFields() |
DescriptorOperation |
getOperator() |
LazyLoadingStrategy |
getStrategy() |
Class<Type> |
getType() |
SearchOptions<Type> |
setComparison(DescriptorComparison comparison)
Sets the SQL where clause comparison.
|
public SearchOptions(Class<Type> type, Map<DescriptorField,Object> fields, LazyLoadingStrategy strategy, DescriptorOperation op)
type
- type to searchfields
- fields used to searchstrategy
- strategy to use when loading itemsop
- operator used to combine field conditionspublic SearchOptions<Type> setComparison(DescriptorComparison comparison)
Overwrites the default comparison DescriptorComparison.EQUAL
.
comparison
- the comparison for the SQL clause to setpublic Map<DescriptorField,Object> getFields()
public LazyLoadingStrategy getStrategy()
public DescriptorOperation getOperator()
public DescriptorComparison getComparison()
Copyright © 2016 SAPERION AG. All rights reserved.