public void addAllToContainers(BTBookingDto arg0, Collection arg1) throws BTBookingException {
    BTBookingFacade facade = createFacade();

    try {
      facade.addAllToContainers(arg0, arg1);
    } catch (RemoteException e) {
      LogWithUserInfo.error(log, "addAllToContainers", e);
      throw new InfrastructureException(e);
    } finally {
      removeFacadeQuietly(facade);
    }
  }
  public void removeBTSiteFromSites(BTBookingDto arg0, BTSiteDto arg1) throws BTBookingException {
    BTBookingFacade facade = createFacade();

    try {
      facade.removeBTSiteFromSites(arg0, arg1);
    } catch (RemoteException e) {
      LogWithUserInfo.error(log, "removeBTSiteFromSites", e);
      throw new InfrastructureException(e);
    } finally {
      removeFacadeQuietly(facade);
    }
  }
  public void deleteAll(List arg0)
      throws BTBookingException, StaleDataException, BTContainerException, BTSiteException {
    BTBookingFacade facade = createFacade();

    try {
      facade.deleteAll(arg0);
    } catch (RemoteException e) {
      LogWithUserInfo.error(log, "deleteAll", e);
      throw new InfrastructureException(e);
    } finally {
      removeFacadeQuietly(facade);
    }
  }
  public BTBookingDto findByPrimaryKey(Long arg0) {
    BTBookingDto result = null;
    BTBookingFacade facade = createFacade();

    try {
      result = facade.findByPrimaryKey(arg0);
    } catch (RemoteException e) {
      LogWithUserInfo.error(log, "findByPrimaryKey", e);
      throw new InfrastructureException(e);
    } finally {
      removeFacadeQuietly(facade);
    }

    return result;
  }
  public List getUsedCancelled() {
    List result = null;
    BTBookingFacade facade = createFacade();

    try {
      result = facade.getUsedCancelled();
    } catch (RemoteException e) {
      LogWithUserInfo.error(log, "getUsedCancelled", e);
      throw new InfrastructureException(e);
    } finally {
      removeFacadeQuietly(facade);
    }

    return result;
  }
  public List findByCancelled(BooleanCriteria arg0) {
    List result = null;
    BTBookingFacade facade = createFacade();

    try {
      result = facade.findByCancelled(arg0);
    } catch (RemoteException e) {
      LogWithUserInfo.error(log, "findByCancelled", e);
      throw new InfrastructureException(e);
    } finally {
      removeFacadeQuietly(facade);
    }

    return result;
  }
  public Long insert(BTBookingDto arg0)
      throws BTBookingException, BTContainerException, BTSiteException {
    Long result = null;
    BTBookingFacade facade = createFacade();

    try {
      result = facade.insert(arg0);
    } catch (RemoteException e) {
      LogWithUserInfo.error(log, "insert", e);
      throw new InfrastructureException(e);
    } finally {
      removeFacadeQuietly(facade);
    }

    return result;
  }