/** * Execute the "getTripOfferFromId" operation synchronously * * @return The result of this operation */ public synchronized TripOfferTypPrx getTripOfferFromId(int tripId) { _queryController.destroy(); DBProcedureController queryController; _queryController = queryController = new DBProcedureController(_handler, _session.getCardroidManager()); return queryController.getTripOfferFromId(tripId); }
/** * Execute the "getTripOfferFromId" 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 getTripOfferFromId(QueryListener listener, int tripId) { _queryController.destroy(); DBProcedureController queryController; _queryController = queryController = new DBProcedureController(_handler, _session.getCardroidManager()); queryController.getTripOfferFromId(listener, tripId); return queryController; }