@Override public void updata(ArrayList<BaccountPO> polist) { // TODO Auto-generated method stub BAccountManageDataService data = DataFactory.getBAccountManageData(); for (int i = 0; i < polist.size(); i++) { try { data.update(polist.get(i)); } catch (RemoteException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
@Override public ArrayList<BaccountPO> findAll() { // TODO Auto-generated method stub BAccountManageDataService data = DataFactory.getBAccountManageData(); ArrayList<BaccountPO> polist = new ArrayList<BaccountPO>(); try { polist = data.findAll(); } catch (RemoteException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return polist; }