public List<PresentationPlace> countDistinct (PresentationPlace whatMask, PresentationPlace whereEqCriteria) {
return partialLoadWithParentPresentationPlace(whatMask, whereEqCriteria, null, new QuerySelectCountInit("presentationPlace"), null, false);
}
public Long count(PresentationPlace whereEqCriteria) {
List<PresentationPlace> list = partialLoadWithParentPresentationPlace(null, whereEqCriteria, null, new QueryCountInit("presentationPlace"), null, false);
if (!list.isEmpty())
return list.get(0).getCount__();
return 0L;
}