use of org.bedework.calfacade.EventPropertiesReference in project bw-calendar-engine by Bedework.
the class CoreEventPropertiesDAO method getRefs.
@SuppressWarnings("unchecked")
private List<EventPropertiesReference> getRefs(final BwEventProperty val, final String query) throws CalFacadeException {
final HibSession sess = getSess();
sess.createQuery(query);
sess.setEntity("ent", val);
/* May get multiple counts back for events and annotations. */
final List<EventPropertiesReference> refs = sess.getList();
if (debug) {
debug(" ----------- count = " + refs.size());
}
return refs;
}
Aggregations