Package com.centraview.contact.contactfacade

Examples of com.centraview.contact.contactfacade.ContactFacadeHome.create()


        vecSend = emailVecSend;
        vecAll = (Vector)hm.get(Constants.VIEWSENDEMAIL);
      }

      ContactFacadeHome facadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade cfremote = (ContactFacade) facadeHome.create();
      cfremote.setDataSource(dataSource);

      // get the records from the database
      Collection sqlResults = cfremote.getEmployeeListCollection(individualId);
View Full Code Here


    try
    {
       //System.out.println("Trying to  HOME IN HANDLER"+groupVO.getGroupName());
       ContactFacadeHome cfh = (ContactFacadeHome) CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome",
           "ContactFacade");
       ContactFacade remote = (ContactFacade) cfh.create();
       remote.setDataSource(dataSource);
       //System.out.println("GOT HOME IN HANDLER");
      // listid = remote.updateList( userID , form );
      ListGenerator lg = ListGenerator.getListGenerator(dataSource);
      lg.makeListDirty("Marketing");
View Full Code Here

        individualVO.setMOC(syncUtils.createNewPhoneMoc(mobilePhone, mobilePhoneExt, "Mobile" , Constants.MOC_MOBILE));
      }

      // might as well create the EJB connections now...
      ContactFacadeHome cfh = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome","ContactFacade");
      ContactFacade cfremote = (ContactFacade)cfh.create();
      cfremote.setDataSource(dataSource);
     
      SyncFacadeHome syncHome = (SyncFacadeHome)CVUtility.getHomeObject("com.centraview.syncfacade.SyncFacadeHome", "SyncFacade");
      com.centraview.syncfacade.SyncFacade sfremote = (com.centraview.syncfacade.SyncFacade)syncHome.create();
      sfremote.setDataSource(dataSource);
View Full Code Here

  private GlobalMasterLists(String dataSource) {
    this.dataSource = dataSource;
    try {
      ContactFacadeHome cfh = (ContactFacadeHome)CVUtility.getHomeObject(
          "com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remote = cfh.create();
      remote.setDataSource(this.dataSource);

      Vector stateColl = remote.getStates();
      Vector countColl = remote.getCountry();
      Vector mocColl = remote.getMOCType();
View Full Code Here

      IndividualVO individualVO;
      AddressVO addressVO = null;

      ContactFacadeHome cfh = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remote = (ContactFacade)cfh.create();
      remote.setDataSource(dataSource);

      session.setAttribute("highlightmodule", "preferences");
      individualVO = remote.getIndividual(individualID);
      individualVO.populateFormBean(dynaForm);     
View Full Code Here

  {
    String entityName = "ENTITYNAME";
    HashMap names = new HashMap();
    try {
      ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade contactFacade = (ContactFacade)contactFacadeHome.create();
      contactFacade.setDataSource(dataSource);
      EntityVO entityVO = contactFacade.getEntity(1);
      entityName = entityVO.getName();
      IndividualVO individualVO = entityVO.getIndividualVO();
      StringBuffer individualName = new StringBuffer();
View Full Code Here

        } catch (Exception e) {
          e.printStackTrace();
        }
      }
      ContactFacadeHome cfh = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remote = (ContactFacade)cfh.create();
      remote.setDataSource(dataSource);
      IndividualVO individualVO = new IndividualVOX(form, request, dataSource);

      if (typeOfSave.equals("save"))
      {
View Full Code Here

        request.setAttribute("isPublic","Yes");
      }


      ContactFacadeHome facadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade cfremote = (ContactFacade)facadeHome.create();
      cfremote.setDataSource(dataSource);

      // get the records from the database
      Collection sqlResults = cfremote.getUserListCollection(uid);
View Full Code Here

    // TODO Remove this once the lookup controller is done.
    // This is for the marketinglist drop down.
    try {
      ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remote = contactFacadeHome.create();
      remote.setDataSource(dataSource);
      Vector marketingLists = remote.getDBList(individualId);
      request.setAttribute("marketingLists", marketingLists);
      request.setAttribute("AllDBList", marketingLists);
    } catch (CreateException ce) {
View Full Code Here

  public PrintTemplateField IndividualValues(int individualId, String dataSource)
  {
    PrintTemplateField printTemplateField = new PrintTemplateField();
    try {
      ContactFacadeHome aa = (ContactFacadeHome) CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remote = aa.create();
      remote.setDataSource(dataSource);
      IndividualVO individualVOReference = remote.getIndividual(individualId);
      printTemplateField.setIndividualID(String.valueOf(individualId));
      printTemplateField.setEntityID(String.valueOf(individualVOReference.getEntityID()));
      int entityId = individualVOReference.getEntityID();
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.