Package com.centraview.hr.timesheet

Examples of com.centraview.hr.timesheet.TimeSheetLocal


    int  timesheetID = 0;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      timesheetID = remote.getTimeSheetID();

    }catch(Exception e)
    {
      System.out.println("[Exception][HrFacadeEJB.getTimeSheetID] Exception Thrown: "+e);
      e.printStackTrace();
View Full Code Here


    int timesheetID = 0;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      timesheetID = remote.addTimeSheet(userId,tsvo);

    }catch(Exception e)
    {
      System.out.println("[Exception][HrFacadeEJB.addTimeSheet] Exception Thrown: "+e);
      e.printStackTrace();
View Full Code Here

    TimeSheetVO tvo = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      tvo = remote.getTimeSheet(timesheetID);

    }catch(Exception e)
    {
      System.out.println("[Exception][HrFacadeEJB.getTimeSheet] Exception Thrown: "+e);
      e.printStackTrace();
View Full Code Here

    int timesheetID = 0;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);

      remote.updateTimeSheet(individualID,tsvo);

    }catch(Exception e)
    {
      System.out.println("[Exception][HrFacadeEJB.updateTimeSheet] Exception Thrown: "+e);
      e.printStackTrace();
View Full Code Here

  {
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      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

    Collection col = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      col = remote.getStatusInfo();
    }catch(Exception e)
    {
      System.out.println("[Exception][HrFacadeEJB.getStatusInfo] Exception Thrown: "+e);
      e.printStackTrace();
    }
View Full Code Here

  {
    try
    {
      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

TOP

Related Classes of com.centraview.hr.timesheet.TimeSheetLocal

Copyright © 2018 www.massapicom. 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.