Package com.centraview.marketing.marketingfacade

Examples of com.centraview.marketing.marketingfacade.MarketingFacadeHome


      // We will collect the to Information from all the Attendees associated to the Event.
      if (type != null && type.equals("EVENT")){
        String eventID = (String) request.getParameter("eventid");
        if(eventID != null && !eventID.equals("")){
          MarketingFacadeHome cfh = (MarketingFacadeHome)CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome", "MarketingFacade");
          MarketingFacade remote = (MarketingFacade)cfh.create();
          remote.setDataSource(dataSource);
          int eventId = Integer.parseInt(eventID);
          String toList = remote.getEventAttendeesForMail(eventId, individualID);
          emailForm.set("to", toList);
          emailForm.set("subject", "EVENT");
View Full Code Here


      HashMap hm = new HashMap();
      hm.put("eventid", eventID);
      hm.put("individualid", rowId);

      MarketingFacadeHome aa = (MarketingFacadeHome)CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome", "MarketingFacade");
      MarketingFacade remote = (MarketingFacade)aa.create();
      remote.setDataSource(dataSource);
      iCount = remote.deleteEventRegister(hm);

      request.setAttribute("TYPEOFOPERATION", "EDIT");
      request.setAttribute("FromAttendee", "NO");
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();

  MarketingFacadeHome home = (MarketingFacadeHome)CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome", "MarketingFacade");
    try
    {
    HttpSession session = request.getSession(true);
    com.centraview.common.UserObject userobjectd = (com.centraview.common.UserObject)session.getAttribute("userobject");
    int individualID = userobjectd.getIndividualID();
    MarketingFacade remote = home.create();
    remote.setDataSource(dataSource);
    Vector literaturelist = remote.getAllLiterature();
    String searchStr = request.getParameter("searchTextBox");
    if (searchStr != null && !searchStr.equals("")){
      if (literaturelist != null){
View Full Code Here

    String FORWARD_final = ".view.marketing.newlistmanager";
    HttpSession session = request.getSession(true);

    try
    {
      MarketingFacadeHome aa = (MarketingFacadeHome)CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome", "MarketingFacade");
      MarketingFacade remote = (MarketingFacade)aa.create();
      remote.setDataSource(dataSource);
      String rowStringId = null;
      String existingListName = null;
      boolean addToList = false;
View Full Code Here

  public void updateList(ActionForm form, int individualID) throws CommunicationException, NamingException
  {
    DynaActionForm dynaform = (DynaActionForm) form;
    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
  MarketingFacadeHome aa = (MarketingFacadeHome) CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome", "MarketingFacade");   
  try
    {

      MarketingFacade remote = (MarketingFacade) aa.create();
      remote.setDataSource(dataSource);
      ListVO listVO = new ListVO();
      listVO.setTitle((String)dynaform.get("listname").toString());
      listVO.setDescription((String)dynaform.get("listdescription").toString());
      if(dynaform.get("listid") != null)
View Full Code Here

      int individualId = ((UserObject)session.getAttribute("userobject")).getIndividualID();

      LiteratureForm literatureform = new LiteratureForm();

      MarketingFacadeHome home = (MarketingFacadeHome)CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome", "MarketingFacade");
      MarketingFacade remote = (MarketingFacade)home.create();
      remote.setDataSource(dataSource);
      LiteratureDetails literatureDetails = remote.getLiteratureDetails(activityid,individualId);
      literatureform.setAssignedtoid("" + literatureDetails.getAssignedtoid());
      literatureform.setDeliverymethodid("" + literatureDetails.getDeliveryid());
      literatureform.setEntityid("" + literatureDetails.getEntityid());
View Full Code Here

 
  String resultPage = ".view.marketing.events.list";
  public ActionForward execute(ActionMapping mapping,ActionForm form,HttpServletRequest request,HttpServletResponse responsethrows IOException, ServletException, CommunicationException, NamingException
  {
    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();
    MarketingFacadeHome marketingFacadeHome = (MarketingFacadeHome)CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome","MarketingFacade");
    try
    {
      MarketingFacade remote =( MarketingFacade )marketingFacadeHome.create();
         remote.setDataSource(dataSource);
      int eventid = Integer.parseInt(request.getParameter("eventid").toString());
      remote.deleteEvent(eventid);
    }
    catch(Exception e)
View Full Code Here

      // hash map for add literature
      HashMap literatureHashMap = null;
      // to identify multiple opened window
      String newWindowId = "1";

      MarketingFacadeHome home = (MarketingFacadeHome)CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome", "MarketingFacade");
      MarketingFacade remote = home.create();
      remote.setDataSource(dataSource);
      Vector deliverymethodlist = remote.getAllDeliveryMethod();
      request.setAttribute("deliverymethodlist", deliverymethodlist);

      Vector activitystatuslist = remote.getAllActivityStatus();
View Full Code Here

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

      MarketingFacadeHome home = (MarketingFacadeHome)CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome", "MarketingFacade");
      MarketingFacade remote = home.create();
      remote.setDataSource(dataSource);

      EventDetails eventDetails = (EventDetails)remote.getCustomerEventDetails(eventID);
      boolean isRegistered = remote.hasUserAcceptedEvent(eventID, individualID);
View Full Code Here

        // if event ID is set on the form properly, then set
        // the int representation for use in the code below
        eventID = formEventID.intValue();
      }
     
      MarketingFacadeHome home = (MarketingFacadeHome)CVUtility.getHomeObject("com.centraview.marketing.marketingfacade.MarketingFacadeHome", "MarketingFacade");
      MarketingFacade remote = home.create();
      remote.setDataSource(dataSource);

      Boolean registerAction = (Boolean)eventForm.get("registerAction");
     
      HashMap mapEvent = new HashMap();
View Full Code Here

TOP

Related Classes of com.centraview.marketing.marketingfacade.MarketingFacadeHome

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.