Search in sources :

Example 1 with BwSystem

use of org.bedework.calfacade.BwSystem in project bw-calendar-engine by Bedework.

the class SysparsRule method begin.

/* (non-Javadoc)
   * @see org.bedework.dumprestore.restore.rules.EntityRule#begin(java.lang.String, java.lang.String, org.xml.sax.Attributes)
   */
@Override
public void begin(final String ns, final String name, final Attributes att) throws Exception {
    super.begin(ns, name, att);
    /* Use the global object. */
    pop();
    push(new BwSystem());
}
Also used : BwSystem(org.bedework.calfacade.BwSystem)

Example 2 with BwSystem

use of org.bedework.calfacade.BwSystem in project bw-calendar-engine by Bedework.

the class EntityDAO method getSyspars.

public BwSystem getSyspars(final String name) throws CalFacadeException {
    final HibSession sess = getSess();
    sess.createQuery(getSystemParsQuery);
    sess.setString("name", name);
    return (BwSystem) sess.getUnique();
}
Also used : HibSession(org.bedework.calcorei.HibSession) BwSystem(org.bedework.calfacade.BwSystem)

Aggregations

BwSystem (org.bedework.calfacade.BwSystem)2 HibSession (org.bedework.calcorei.HibSession)1