Interface ModelObjectsBase<T extends ModelObject,R extends ModelObjectReference>
- All Superinterfaces:
HasSelector<ModelObjectSelector<? extends T,
?, R>>
- All Known Subinterfaces:
BaselineCollections
,Baselines
,Categories
,Documents
,Plans
,Projects
,RichPages
,TestRuns
,TimePoints
,UserGroups
,Users
,WikiPages
,WorkItems
public interface ModelObjectsBase<T extends ModelObject,R extends ModelObjectReference>
extends HasSelector<ModelObjectSelector<? extends T,?,R>>
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Returns the interface that counts the objects found by the given query.ModelObjectsSearch<? extends T>
search()
Methods inherited from interface com.polarion.alm.shared.api.model.HasSelector
getBy
-
Method Details
-
search
-
prototype
-
count
Returns the interface that counts the objects found by the given query.Use of
search()
.size()
is preferred. (It has also been optimized since the 3.19.3.)For counting via SQL use
ReadOnlyTransaction.objects()
.searchBySql(String)
.size()
.- Since:
- 3.17.2
-