Package com.centraview.marketing.List

Examples of com.centraview.marketing.List.ListVO


      MarketingFacade remote = (MarketingFacade)aa.create();
      remote.setDataSource(dataSource);
    DynaActionForm dyna = (DynaActionForm)form;
    if (row != null && !row.equals("")){
      int rowID = Integer.parseInt(row);
      ListVO listVO = remote.viewList(rowID);
      dyna.set("listname", listVO.getTitle());
      dyna.set("listdescription", listVO.getDescription());
      dyna.set("listid", listVO.getListID()+"");
      dyna.set("create", listVO.getCreated());
      dyna.set("modify", listVO.getModified());
      dyna.set("owner", listVO.getOwnerID()+"");
      dyna.set("ownername", listVO.getOwnerName());
    }
    request.setAttribute("listFormBean", dyna);
    } //end of try block
    catch (Exception e)
    {
View Full Code Here


    try
    {
      MarketingFacade remote = (MarketingFacade)aa.create();
      remote.setDataSource(dataSource);
  ListMemberForm listMemberForm = (ListMemberForm) form;
  ListVO listVO = new ListVO();
  listVO.setTitle(listMemberForm.getListname());
  listVO.setDescription(listMemberForm.getListdescription());
  if(listMemberForm.getOwner() != null){
    int ownerID = Integer.parseInt(listMemberForm.getOwner());
    listVO.setOwnerID(ownerID);
  }
      listid = remote.addList(userid, listVO);
    }catch (Exception e){
      logger.error("[Exception] AddListHandler.Execute Handler ", e);
    }
View Full Code Here

  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)
      {
    int listID = Integer.parseInt((String) dynaform.get("listid").toString());
    listVO.setListID(listID);
      }
      remote.updateList(individualID, listVO);
    }
    catch (Exception e)
    {
View Full Code Here

    return listid;
  }

  public ListVO viewList(int listid) throws Exception
  {
    ListVO listVO = new ListVO();
    try {
      InitialContext ic = CVUtility.getInitialContext();
      ListLocalHome home = (ListLocalHome)ic.lookup("local/List");
      ListLocal remote = home.create();
      remote.setDataSource(this.dataSource);
View Full Code Here

TOP

Related Classes of com.centraview.marketing.List.ListVO

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.