Package com.centraview.account.helper

Examples of com.centraview.account.helper.AccountHelperHome.create()


    convertItemLines();

    //Incase if the Form is having some error then we must have to carry the jurisdiction Vec
    try{
      AccountHelperHome accountHelperHome = (AccountHelperHome)CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome","AccountHelper");
      AccountHelper accHelper =(AccountHelper)accountHelperHome.create();
      accHelper.setDataSource(dataSource);
      this.jurisdictionVec = accHelper.getTaxJurisdiction();
    }catch(Exception e){
      this.jurisdictionVec = new Vector();
    }
View Full Code Here


      request.setAttribute(AccountConstantKeys.TYPEOFSUBMODULE, AccountConstantKeys.ORDER);
      request.setAttribute("body", AccountConstantKeys.ADD );

      ItemLines itemLines = null;
     
      AccountHelper accHelper = (AccountHelper)accountHelperHome.create();
      accHelper.setDataSource(dataSource);
      Vector taxJurisdiction = accHelper.getTaxJurisdiction();
     
      OrderForm orderForm = (OrderForm)form;
      orderForm.setJurisdictionVec(taxJurisdiction);
View Full Code Here

      if(entityIdStr != null && !entityIdStr.equals(""))
        entityId = Integer.parseInt(entityIdStr);
      com.centraview.common.UserObject  userobjectd = (com.centraview.common.UserObject)session.getAttribute( "userobject" );

      AccountHelperHome hm = (AccountHelperHome)CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome","AccountHelper");
      AccountHelper remote =(AccountHelper)hm.create();
      remote.setDataSource(dataSource);
      remote.addVendor(entityId,IndividualId);

      request.setAttribute(AccountConstantKeys.TYPEOFSUBMODULE, AccountConstantKeys.VENDOR);
      request.setAttribute("body", "list");
View Full Code Here

      setSupportLists();

      AccountHelperHome hm = (AccountHelperHome)CVUtility.getHomeObject(
          "com.centraview.account.helper.AccountHelperHome", "AccountHelper");
      AccountHelper accHelper = hm.create();
      accHelper.setDataSource(this.dataSource);

      Vector itemTypesVec = accHelper.getItemTypes();
      this.put("ItemTypes", itemTypesVec);
View Full Code Here

    Vector taxClassesVec = new Vector();

    try {
      AccountHelperHome hm = (AccountHelperHome)CVUtility.getHomeObject(
          "com.centraview.account.helper.AccountHelperHome", "AccountHelper");
      AccountHelper remote = hm.create();
      remote.setDataSource(this.dataSource);
      taxClassesVec = remote.getTaxClasses();
    } catch (Exception e) {
      logger.error("[getTaxClasses] Exception thrown.", e);
    }
View Full Code Here

    DynaActionForm dynaform = (DynaActionForm) form;
    AccountHelperHome home = (AccountHelperHome)
    CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome", "AccountHelper");
   
    try {
      AccountHelper remote = home.create();
      remote.setDataSource(dataSource);
     
      Vector taxJurisdiction = remote.getTaxJurisdiction();
     
      dynaform.set("jurisdictionVec",taxJurisdiction);
View Full Code Here

      }

      if (entityID != 0)
      {
        AccountHelperHome hm1 = (AccountHelperHome)CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome","AccountHelper");
        AccountHelper accHelper = (AccountHelper)hm1.create();
        accHelper.setDataSource(dataSource);
   
        paymentLines = accHelper.getPaymentInvoices(entityID);   
       
          paymentForm.setPaymentLines(paymentLines);
View Full Code Here

    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
    ActionErrors errors = new ActionErrors();
    try {
      try {
        AccountHelperHome accountHelperHome = (AccountHelperHome)CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome","AccountHelper");
        AccountHelper accHelper = accountHelperHome.create();
        accHelper.setDataSource(dataSource);
        this.jurisdictionVec = accHelper.getTaxJurisdiction();
      } catch (Exception e) {
        this.jurisdictionVec = new Vector();
      }
View Full Code Here

        }

        dynaForm.set("jurisdictionID", avo.getJurisdictionID() + "");
      }

      AccountHelper accountRemote = accountHome.create();
      accountRemote.setDataSource(dataSource);

      Vector taxJurisdiction = accountRemote.getTaxJurisdiction();

      dynaForm.set("jurisdictionVec", taxJurisdiction);
View Full Code Here

    request.setAttribute("settingfor", setting);
    */

      AccountHelperHome home = (AccountHelperHome)CVUtility.getHomeObject("com.centraview.account.helper.AccountHelperHome", "AccountHelper");
      try {
        AccountHelper remote = home.create();
        remote.setDataSource(dataSource);
        Vector taxClass = remote.getTaxClasses();
        Vector taxJurisdiction = remote.getTaxJurisdiction();
        HashMap taxMatrix = remote.getTaxMartix();
        dynaform.set("taxClassVec",taxClass);
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.