/** Execute the "removeCar" operation synchronously */ public synchronized void removeCar(CarTypPrx car, UserTypPrx usr) { _queryController.destroy(); DBProcedureController queryController; _queryController = queryController = new DBProcedureController(_handler, _session.getCardroidManager()); queryController.removeCar(car, usr); }
/** * Execute the "removeCar" operation asynchronously * * @param listener Implementation of the callback methods that will be called upon the completion * of the operation * @return QueryController containing the context of this operation */ public synchronized DBProcedureController removeCar( QueryListener listener, CarTypPrx car, UserTypPrx usr) { _queryController.destroy(); DBProcedureController queryController; _queryController = queryController = new DBProcedureController(_handler, _session.getCardroidManager()); queryController.removeCar(listener, car, usr); return queryController; }