Package com.centraview.account.accountfacade

Examples of com.centraview.account.accountfacade.AccountFacadeHome


    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
    HttpSession session = request.getSession(true);
    int individualId = ((UserObject)session.getAttribute("userobject")).getIndividualID();
    ArrayList deleteLog = new ArrayList();
    String rowId[] = request.getParameterValues("rowId");
    AccountFacadeHome accountFacadeHome = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome","AccountFacade");
    try
    {
      AccountFacade remote = (AccountFacade)accountFacadeHome.create();
      remote.setDataSource(dataSource);
      for (int i=0; i<rowId.length; i++)
      {
        if(rowId[i] != null && !rowId[i].equals(""))
        {
View Full Code Here


      String paymentIDStr = (String)request.getParameter("rowId");
      if(paymentIDStr != null && !paymentIDStr.equals(""))
        paymentID  = Integer.parseInt(paymentIDStr);

        // for getting data from EJB
      AccountFacadeHome yy = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome","AccountFacade");
      AccountFacade remote =(AccountFacade)yy.create();
      remote.setDataSource(dataSource);

      PaymentVO paymentVO = remote.getPaymentVO(paymentID,individualID);
      paymentForm.setReference(paymentVO.getReference());
View Full Code Here


      if ( paymentID != 0)
      {
        // for getting data from EJB
        AccountFacadeHome hm = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome","AccountFacade");
        AccountFacade remote = (AccountFacade)hm.create();
        remote.setDataSource(dataSource);

        PaymentVO paymentVO = remote.getPaymentVO(paymentID,individualID);

        // ----------set values in the form bean--------------
View Full Code Here

      if (request.getParameter("buttonpress") != null)
      {
        typeOfSave = request.getParameter("buttonpress");
      }

      AccountFacadeHome yy = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome","AccountFacade");
      AccountFacade remote = (AccountFacade)yy.create();


      PaymentVOX vox  = new PaymentVOX(paymentForm);
      PaymentVO vo = vox.getVO();
View Full Code Here

        // if order ID is set on the form properly, then set
        // the int representation for use in the code below
        orderID = formOrderID.intValue();
      }

      AccountFacadeHome home = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome", "AccountFacade");
      AccountFacade remote = (AccountFacade)home.create();
      remote.setDataSource(dataSource);
     
      OrderForm cvOrderForm = (OrderForm)remote.getOrderForm(orderID, individualID);

      orderForm.set("entityName", cvOrderForm.getCustomerName());
View Full Code Here

        // if Invoice ID is set on the form properly, then set
        // the int representation for use in the code below
        invoiceID = formInvoiceID.intValue();
      }
     
      AccountFacadeHome home = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome", "AccountFacade");
      AccountFacade remote = (AccountFacade)home.create();
      remote.setDataSource(dataSource);
     
      InvoiceVO invoiceVO = remote.getInvoiceVO(invoiceID, individualID);

      invoiceForm.set("orderID", new Integer(invoiceVO.getOrderId()));
View Full Code Here

        // if payment ID is set on the form properly, then set
        // the int representation for use in the code below
        paymentID = formPaymentID.intValue();
      }
     
      AccountFacadeHome home = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome", "AccountFacade");
      AccountFacade remote = (AccountFacade)home.create();
      remote.setDataSource(dataSource);
     
      PaymentVO paymentVO = remote.getPaymentVO(paymentID, individualID);

      paymentForm.set("entityName", paymentVO.getEntity());
View Full Code Here

    proposallistform.setOpportunity(opportunityVO.getTitle());
    proposallistform.setEntityID(opportunityVO.getEntityID());
    proposallistform.setEntity(opportunityVO.getEntityname());
    }
   
    AccountFacadeHome accountFacadeHome = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome","AccountFacade");
    AccountFacade accountFacade =(AccountFacade)accountFacadeHome.create();
    accountFacade.setDataSource(dataSource);
    Vector taxJurisdiction = accountFacade.getTaxJurisdiction();


      proposallistform = (ProposalListForm) hm.get("dyna");
View Full Code Here

    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
    HttpSession session = request.getSession(true);
    int individualId = ((UserObject)session.getAttribute("userobject")).getIndividualID();
    ArrayList deleteLog = new ArrayList();
    String rowId[] = request.getParameterValues("rowId");
    AccountFacadeHome accountFacadeHome = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome","AccountFacade");
    try
    {
      AccountFacade remote = (AccountFacade)accountFacadeHome.create();
      remote.setDataSource(dataSource);
      for (int i=0; i<rowId.length; i++)
      {
        if(rowId[i] != null && !rowId[i].equals(""))
        {
View Full Code Here

  public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException, CommunicationException, NamingException
  {
    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();

    AccountFacadeHome accountFacadeHome = (AccountFacadeHome)CVUtility.getHomeObject("com.centraview.account.accountfacade.AccountFacadeHome","AccountFacade");
    try
    {
      InvoiceForm invoiceForm = (InvoiceForm)form;
      invoiceForm.convertItemLines();

      HttpSession session = request.getSession(true);
      UserObject  userobjectd = (UserObject)session.getAttribute( "userobject" );
      int individualID = userobjectd.getIndividualID();
      session.setAttribute("highlightmodule", "account");

      request.setAttribute(AccountConstantKeys.TYPEOFSUBMODULE, AccountConstantKeys.INVOICE);

      request.setAttribute("body",AccountConstantKeys.EDIT );


      // for getting data from EJB
      AccountFacade remote =(AccountFacade)accountFacadeHome.create();
      remote.setDataSource(dataSource);
      Vector taxJurisdiction = remote.getTaxJurisdiction();

      if(request.getParameter(AccountConstantKeys.TYPEOFOPERATION) != null)
      if (request.getParameter(AccountConstantKeys.TYPEOFOPERATION).equals("ShowInvoice"))
View Full Code Here

TOP

Related Classes of com.centraview.account.accountfacade.AccountFacadeHome

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.