com.polarion.platform.persistence.IDatabaseSearch
METHODS
Modifiers and Type | Name | Description |
---|---|---|
IPObjectList<T> | instances(String) | Searches the persistent objects by executing the specified SQL-query in the database for the current revision. |
IPObjectList<T> | instancesInBaseline(String,String) | Searches the persistent objects by executing the specified SQL-query in the database for the specified revision. |
int | count(String) | Returns the number of persistent objects found by executing the given SQL-query in the database for the current revision. Should be used instead of {@link #instances(String sqlQuery)} . {@link Collection#size() size()} when only the number of search results is required. |
int | countInBaseline(String,String) | Returns the number of persistent objects found by executing the specified SQL-query in the database for the specified revision. Should be used instead of {@link #instancesInBaseline(String sqlQuery,String revision)} . {@link Collection#size() size()} when only the number or search results is required. |
Back to Index