Examples of deleteExpense()


Examples of com.centraview.account.accountfacade.AccountFacade.deleteExpense()

      try
      {
        AccountFacade remote =(AccountFacade)accountFacadeHome.create();
        remote.setDataSource(this.dataSource);

        remote.deleteExpense(expID,indvID);
      } catch (Exception e)
      {
        logger.error("[Exception] ExpenseList.deleteElement( int indvID, String key )", e);
      }
    }
View Full Code Here

Examples of com.centraview.account.accountfacade.AccountFacade.deleteExpense()

      for (int i=0; i<recordID.length; i++)
      {
        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
          try{
            remote.deleteExpense(elementID,individualID);
          }//end of try block
          catch(AuthorizationFailedException ae){
            String errorMessage = ae.getExceptionDescription();
            resultDeleteLog.add(errorMessage);
          }//end of catch block
View Full Code Here

Examples of com.centraview.account.accountfacade.AccountFacade.deleteExpense()

        if(rowId[i] != null && !rowId[i].equals(""))
        {
          int elementID = Integer.parseInt(rowId[i]);
          try
          {
            remote.deleteExpense(elementID, individualId);
          } catch(AuthorizationFailedException ae) {
            String errorMessage = ae.getExceptionDescription();
            deleteLog.add(errorMessage);
          } catch(RemoteException re) {
            logger.error("[execute] Exception thrown.", re);
View Full Code Here

Examples of com.centraview.hr.hrfacade.HrFacade.deleteExpense()

    try {
      HrFacade ejb = (HrFacade)CVUtility.setupEJB("HrFacade", "com.centraview.hr.hrfacade.HrFacadeHome", dataSource);
      for (int i=0; i<rowId.length; i++) {
        if(rowId[i] != null && !rowId[i].equals("")) {
          int elementId = Integer.parseInt(rowId[i]);
          ejb.deleteExpense(elementId);
        }
      }
    } catch(Exception e) {
      logger.error("[execute] Exception thrown.", e);
      throw new CommunicationException(e.getMessage());
View Full Code Here

Examples of com.centraview.hr.hrfacade.HrFacade.deleteExpense()

    HrFacadeHome hrFacadeHome = (HrFacadeHome)CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome","HrFacade");
    try
    {
      HrFacade remote =(HrFacade)hrFacadeHome.create();
      remote.setDataSource(this.dataSource);
      remote.deleteExpense(elementID);
      // TODO user-rights for deleteExpense
      this.setDirtyFlag(true);
      ListGenerator lg = ListGenerator.getListGenerator(dataSource);
      lg.makeListDirty("Expenses");
    }
View Full Code Here

Examples of com.centraview.hr.hrfacade.HrFacade.deleteExpense()

      for (int i=0; i<recordID.length; i++)
      {
        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
          try{
            remote.deleteExpense(elementID);
            // TODO user-rights for deleteExpense
          }//end of try block
          catch(AuthorizationFailedException ae){
            String errorMessage = ae.getExceptionDescription();
            resultDeleteLog.add(errorMessage);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.