Package com.centraview.hr.hrfacade

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


      ExpenseFormVOX vox = new ExpenseFormVOX(userobjectd, hrexpenseForm);

      ExpenseFormVO expenseFormVO = vox.getVO();

      HrFacadeHome hm = (HrFacadeHome)CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");
      HrFacade remote = (HrFacade)hm.create();
      remote.setDataSource(dataSource);
      if (expenseFormID > 0 && request.getParameter("DUPLICATE") != null)
      {
        hrexpenseForm.convertItemLines();
        expenseFormVO = remote.createExpense(expenseFormVO, individualID);
View Full Code Here


      }
     
      else if ((request.getParameter("expenseFormID") != null))
      {
        HrFacadeHome hm = (HrFacadeHome)CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");
        HrFacade remote = (HrFacade)hm.create();
        remote.setDataSource(dataSource);

        ExpenseFormVO expenseFormVO = remote.getExpenseFormVO(expenseFormID);
        this.hrexpenseForm.setExpenseFormID(expenseFormID);
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 sTimeSheetId = (String)request.getParameter("timesheetId");
      Integer iTimeSheetId = new Integer(sTimeSheetId);
      int timeSheetID = 0;
View Full Code Here

    //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.deleteExpense(elementID);
      // TODO user-rights for deleteExpense
      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

  {
    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.deleteEmployee(elementID);
      //TODO individualID should be passed to deleteView.  User rights is fubar here.
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

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

        HrFacade remote = (HrFacade)aa.create();
        remote.setDataSource(this.dataSource);
        // TODO: We need to remove this hard-coded value FOR USER ID!!!!!
        DL = remote.getEmployeeDetailList(1, hm);
        DL.setTotalNoOfRecords(DL.size());
        DL.setListType("Employee");
View Full Code Here

      try {
        HrFacadeHome aa = (HrFacadeHome)CVUtility.getHomeObject(
            "com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");
        HashMap hm = new HashMap();
        hm.put("ADVANCESEARCHSTRING", searchString);
        HrFacade remote = (HrFacade)aa.create();
        remote.setDataSource(this.dataSource);

        // TODO: We need to remove this hard-coded value
        DL = remote.getEmployeeDetailList(1, hm);
        DL.setTotalNoOfRecords(DL.size());
View Full Code Here

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

        DL = remote.getEmployeeDetailList(userID, hm);

        DL.setSortMember(sortColumn);
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.