Package com.centraview.hr.hrexpenses

Examples of com.centraview.hr.hrexpenses.ExpenseFormPK


    ExpenseFormVO expenseFormVO = null;
      try
      {
        InitialContext ic = CVUtility.getInitialContext();
        HrExpensesLocalHome home = (HrExpensesLocalHome)ic.lookup("local/HrExpense");
        HrExpensesLocal hrexpense = home.findByPrimaryKey(new ExpenseFormPK(ExpenseFormID,this.dataSource));
        hrexpense.setDataSource(this.dataSource);
        expenseFormVO = hrexpense.getExpenseFormVO();
      }
      catch(Exception e)
      {
View Full Code Here


    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      HrExpensesLocalHome home = (HrExpensesLocalHome)ic.lookup("local/HrExpense");
      HrExpensesLocal hrexpense = home.findByPrimaryKey(new ExpenseFormPK(expenseFormVO.getExpenseFormID(),this.dataSource));
      hrexpense.setDataSource(this.dataSource);
      hrexpense.setHrExpenseVO(expenseFormVO,userID);
    }
    catch(Exception e)
    {
View Full Code Here

  {
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      HrExpensesLocalHome home = (HrExpensesLocalHome)ic.lookup("local/HrExpense");
      HrExpensesLocal hrexpense = home.findByPrimaryKey(new ExpenseFormPK(expenseFormID,this.dataSource));
      hrexpense.setDataSource(this.dataSource);
      //hrexpense.remove();
      hrexpense.deleteExpenseForm(expenseFormID);
    }catch(FinderException fe)
    {
View Full Code Here

TOP

Related Classes of com.centraview.hr.hrexpenses.ExpenseFormPK

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.