Package com.centraview.hr.hrfacade

Examples of com.centraview.hr.hrfacade.HrFacadeHome.create()


    //call to EJB server
    int elementID = Integer.parseInt(key);
    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);
View Full Code Here


    ArrayList resultDeleteLog = new ArrayList();
    HrFacadeHome hrFacadeHome = (HrFacadeHome)CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome","HrFacade");
    try
    {
      //call to EJB server
      HrFacade remote =(HrFacade)hrFacadeHome.create();
      remote.setDataSource(this.dataSource);
      for (int i=0; i<recordID.length; i++)
      {
        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
View Full Code Here

    userobjectd = (com.centraview.common.UserObject)session.getAttribute("userobject");
    HrFacadeHome aa = (HrFacadeHome)CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");
    try
    {
      HrFacade remote = (HrFacade)aa.create();
      remote.setDataSource(dataSource);
      int indvID = userobjectd.getIndividualID();
      String timeslipIds = (String)request.getParameter("timeslipIds");
      if (timeslipIds != null)
      {
View Full Code Here

    try
    {
      int indvID = userobjectd.getIndividualID();
      HrFacadeHome hrh = (HrFacadeHome)CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");
      HrFacade remote = (HrFacade)hrh.create();
      remote.setDataSource(dataSource);
      TimeSheetVO timeSheetVO = null;
      if (timeSheetId != 0)
        timeSheetVO = remote.getTimeSheet(timeSheetId);
View Full Code Here

          try
          {
            HrFacadeHome aa = (HrFacadeHome)
            CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");

            HrFacade remote = (HrFacade) aa.create();
            remote.setDataSource(dataSource);
            timeSheetVO = remote.getTimeSheet(iNewTimeSheetId);
          }
          catch (Exception e)
          {
View Full Code Here

      TimeSheetVOX timeSheetVOX = new TimeSheetVOX(userobjectd, dynaValidatorForm);
      TimeSheetVO timeSheetVO = timeSheetVOX.getTimeSheetVO();

      HrFacadeHome aa = (HrFacadeHome)
      CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");
      HrFacade remote = (HrFacade) aa.create();
      remote.setDataSource(dataSource);
      int indvID = userobjectd.getIndividualID();
      timesheetID = remote.addTimeSheet(indvID, timeSheetVO);
    }
    catch (Exception e)
View Full Code Here

    try
    {
      HrFacadeHome aa = (HrFacadeHome)
      CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");
      HrFacade remote = (HrFacade) aa.create();
      remote.setDataSource(dataSource);

      int indvID = userobjectd.getIndividualID();
      remote.updateTimeSheet(indvID, timeSheetVO);
    }
View Full Code Here

        try
        {
          HrFacadeHome aa = (HrFacadeHome)
          CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");
          HrFacade remote = (HrFacade) aa.create();
          remote.setDataSource(dataSource);
          int indvID = userobjectd.getIndividualID();
          int iNewTimeSlipId = remote.addTimeSlip(indvID, hrtsvo);
        }
        catch (Exception e)
View Full Code Here

    HrFacadeHome hfh = (HrFacadeHome)
      CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");

    try
    {
      HrFacade remote = (HrFacade) hfh.create();
      remote.setDataSource(dataSource);
      remote.createExpense(expenseFormVO, indvID);

      ListGenerator lg = ListGenerator.getListGenerator(dataSource);
      lg.makeListDirty("hr");
View Full Code Here

      int expenseFormID = Integer.parseInt((String)request.getParameter("rowId"));
      HrExpenseForm hrexpenseForm= new HrExpenseForm();
     
      HrFacadeHome hm = (HrFacadeHome)CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome","HrFacade");
      HrFacade remote =(HrFacade)hm.create();
      remote.setDataSource(dataSource);
     
      ExpenseFormVO expenseFormVO = remote.getExpenseFormVO(expenseFormID);
      hrexpenseForm.setExpenseFormID(0);
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.