public interface Search
Predicate
objects.Modifier and Type | Method and Description |
---|---|
Search |
addOrder(Order order)
Add an ordering to the result.
|
Search |
addPredicate(Predicate predicate)
Adds the given predicate to constrain the results to be retrieved.
|
java.util.List<? extends RegistryBean> |
result()
Executes the search and obtains the result as list.
|
java.util.List<? extends RegistryBean> result() throws CSAppFrameworkException
CSAppFrameworkException
- If an error occurs while executing the search and obtaining the resultsSearch addPredicate(Predicate predicate) throws CSAppFrameworkException
predicate
- The Predicate
to be addedSearch
object after adding the predicateCSAppFrameworkException
- If an error occurs while addding the predicateSearch addOrder(Order order) throws CSAppFrameworkException
order
- The result Order
Search
object after adding the result orderCSAppFrameworkException
- If an error occurs while adding the result order