Examples of deleteTimeSlip()


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

      remote.setDataSource(dataSource);
      int indvID = userobjectd.getIndividualID();
      String timeslipIds = (String)request.getParameter("timeslipIds");
      if (timeslipIds != null)
      {
          remote.deleteTimeSlip(indvID,timeslipIds);
      }
      Integer iTimeSheetId = (Integer)request.getAttribute("timesheetID");
      request.setAttribute("timesheetID", iTimeSheetId);
      returnStatus = ".view.success";
    }
View Full Code Here

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

    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);
      remote.deleteTimeSlip(individualID,timeSlipIds);
    }catch(CreateException ce)
    {
      throw new EJBException(ce);
    }catch(NamingException ce)
    {
View Full Code Here

Examples of com.centraview.projects.projectfacade.ProjectFacade.deleteTimeSlip()

    ProjectFacadeHome projectFacadeHome = (ProjectFacadeHome)CVUtility.getHomeObject("com.centraview.projects.projectfacade.ProjectFacadeHome","ProjectFacade");
    try
    {
      ProjectFacade remote =(ProjectFacade)projectFacadeHome.create();
      remote.setDataSource(this.dataSource);
      remote.deleteTimeSlip( elementID );
      // TODO deleteTimeSlip user-rights.
      this.setDirtyFlag(true);
      ListGenerator lg = ListGenerator.getListGenerator(dataSource);
      lg.makeListDirty("TimeSlip");
    }
View Full Code Here

Examples of com.centraview.projects.projectfacade.ProjectFacade.deleteTimeSlip()

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

Examples of com.centraview.projects.projectfacade.ProjectFacade.deleteTimeSlip()

        if(rowId[i] != null && !rowId[i].equals(""))
        {
          int elementID = Integer.parseInt(rowId[i]);
          try
          {
            remote.deleteTimeSlip(elementID);
          } 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.projects.timeslip.TimeSlipLocal.deleteTimeSlip()

      InitialContext ic = CVUtility.getInitialContext();
      TimeSlipLocalHome home = (TimeSlipLocalHome)ic.lookup("local/TimeSlip");
      TimeSlipLocal remote = (TimeSlipLocal)home.create();
      remote.setDataSource(this.dataSource);

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