com.softwareag.centrasite.appl.framework.persistence.search
Interface Search

All Known Implementing Classes:
SearchImpl

public interface Search

Interface for retrieving registry beans by composing Predicate objects.


Method Summary
 Search addOrder(Order order)
          Add an ordering to the result.
 Search addPredicate(Predicate predicate)
          Add predicate to constrain the results to be retrieved.
 java.util.List<? extends RegistryBean> result()
          Executes the search and obtains the result as list.
 

Method Detail

result

java.util.List<? extends RegistryBean> result()
                                              throws CSAppFrameworkException
Executes the search and obtains the result as list.

Returns:
search result list
Throws:
CSAppFrameworkException

addPredicate

Search addPredicate(Predicate predicate)
                    throws CSAppFrameworkException
Add predicate to constrain the results to be retrieved.

Parameters:
predicate -
Throws:
CSAppFrameworkException

addOrder

Search addOrder(Order order)
                throws CSAppFrameworkException
Add an ordering to the result.

Parameters:
order -
Throws:
CSAppFrameworkException