Examples of deleteTimeSheet()


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

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

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

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

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

    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.deleteTimeSheet(individualId, 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.deleteTimeSheet()

      Integer iTimeSheetId = new Integer(sTimeSheetId);
      int timeSheetID = 0;
      if (iTimeSheetId != null)
        timeSheetID = iTimeSheetId.intValue();

      remote.deleteTimeSheet(indvID,timeSheetID);
      returnStatus = "success";
    }
    catch (Exception e)
    {
      returnStatus = "failure";
View Full Code Here

Examples of com.centraview.hr.timesheet.TimeSheetLocal.deleteTimeSheet()

      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      remote.deleteTimeSheet(individualID,timesheetID);

    }catch(CreateException ce)
    {
      throw new EJBException(ce);
    }catch(NamingException ce)
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.