示例#1
0
文件: Expense.java 项目: Hanifor/SE2
 public ResultMessage delete(String ID) {
   try {
     return expenseData.delete(ID);
   } catch (RemoteException e) {
     e.printStackTrace();
   }
   return ResultMessage.FAIL;
 }
示例#2
0
文件: Expense.java 项目: Hanifor/SE2
 public ResultMessage update(ExpenseVO vo) {
   ExpensePO expensePO = FundTrans.convertVOtoPO(vo);
   try {
     return expenseData.modify(expensePO);
   } catch (RemoteException e) {
     e.printStackTrace();
   }
   return ResultMessage.FAIL;
 }
示例#3
0
文件: Expense.java 项目: Hanifor/SE2
 public ArrayList<ExpenseVO> show() throws RemoteException {
   ArrayList<ExpensePO> pos = expenseData.find();
   ArrayList<ExpenseVO> vos = FundTrans.convertExpensePOstoVOs(pos);
   return vos;
 }
示例#4
0
文件: Expense.java 项目: Hanifor/SE2
 public String getID() throws RemoteException {
   return expenseData.getID();
 }