Package com.centraview.hr.hremployee

Examples of com.centraview.hr.hremployee.EmployeeLocalHome


  {
    ArrayList employeeList = null;
    try
    {
      InitialContext ic       = CVUtility.getInitialContext();
      EmployeeLocalHome home     =(EmployeeLocalHome)ic.lookup("local/Employee");
      EmployeeLocal local      =(EmployeeLocal)home.create();
      local.setDataSource(this.dataSource);
      employeeList = (ArrayList)local.getEmployeeIds();
    }
    catch(Exception e)
    {
View Full Code Here


    int empId = 0;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      EmployeeLocalHome home = (EmployeeLocalHome)ic.lookup("local/Employee");
      EmployeeLocal remote = (EmployeeLocal) home.create();
      remote.setDataSource(this.dataSource);

      empId = remote.addEmployee( userId,  individualID);

    }catch(Exception e)
View Full Code Here

        throw new AuthorizationFailedException("EmployeeList - deleteEmployee");

      try
    {
      InitialContext ic = CVUtility.getInitialContext();
      EmployeeLocalHome home = (EmployeeLocalHome)ic.lookup("local/Employee");
      EmployeeLocal remote = (EmployeeLocal) home.create();
      remote.setDataSource(this.dataSource);

      remote.deleteEmployee(individualID);

    }catch(CreateException ce)
View Full Code Here

TOP

Related Classes of com.centraview.hr.hremployee.EmployeeLocalHome

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.