Interface ModelObjects
public interface ModelObjects
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptioncount()Returns the interface that counts the objects found by the given query.<T extends ModelObject>
TgetForOldApiObject(com.polarion.platform.persistence.model.IPObject object) search()searchBySql(String sql)
-
Method Details
-
search
-
searchBySql
-
getForOldApiObject
@NotNull @GwtIncompatible <T extends ModelObject> T getForOldApiObject(@NotNull com.polarion.platform.persistence.model.IPObject object) -
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
searchBySql(String).size().- Since:
- 3.17.2
-