Package com.centraview.contact.contactfacade

Examples of com.centraview.contact.contactfacade.ContactFacadeHome


  }

  //abstract
  public void deleteElement(int indvID, String key) throws CommunicationException,NamingException
  {
  ContactFacadeHome contactFacadeHome = (ContactFacadeHome) CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome",
    "ContactFacade");   
    try
    {
      int elementID = Integer.parseInt(key);
      ContactFacade remote = (ContactFacade) contactFacadeHome.create();
      remote.setDataSource(this.dataSource);
      remote.deleteGroupMember(new Integer(key).intValue(), groupid);
      this.setDirtyFlag(true);

      ListGenerator lg = ListGenerator.getListGenerator(dataSource);
View Full Code Here


  * @return resultDeleteLog A Collection of the Error Message while deleting a particular record.
  */
  public ArrayList deleteElement(int individualID, String recordID[]) throws CommunicationException,NamingException,RemoteException
  {
    ArrayList resultDeleteLog = new ArrayList();
    ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome","ContactFacade");
    try
    {
      //call to EJB server
      ContactFacade remote =(ContactFacade)contactFacadeHome.create();
      remote.setDataSource(this.dataSource);
      for (int i=0; i<recordID.length; i++)
      {
        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
View Full Code Here

   */
  public void  deleteElement(int individualID, String key)throws CommunicationException,NamingException
  {
    int elementID = Integer.parseInt(key);
    ListGenerator lg = ListGenerator.getListGenerator(dataSource);
    ContactFacadeHome contactFacadeHome = (ContactFacadeHome) CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome","ContactFacade");
    try
    {
      ContactFacade remote =(ContactFacade) contactFacadeHome.create();
      remote.setDataSource(this.dataSource);
      remote.deleteEntity(elementID, individualID);
    } //end of try block
    catch(Exception e )
    {
View Full Code Here

    * @return resultDeleteLog A Collection of the Error Message while deleting a particular record.
    */
  public ArrayList deleteElement(int individualID, String recordID[]) throws CommunicationException,NamingException,RemoteException
  {
    ArrayList resultDeleteLog = new ArrayList();
    ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome","ContactFacade");
    try
    {
      //call to EJB server
      ContactFacade remote =(ContactFacade)contactFacadeHome.create();
      remote.setDataSource(this.dataSource);
      for (int i=0; i<recordID.length; i++)
      {
        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
View Full Code Here

    ArrayList methodOfContactCollection = new ArrayList();
    ArrayList addressCollection = new ArrayList();
    ArrayList marketingListCollection = new ArrayList();

  ArrayList rawMarketingList = new ArrayList();
  ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
  try
  {
    ContactFacade remoteContactFacade = contactFacadeHome.create();
    remoteContactFacade.setDataSource(dataSource);
    rawMarketingList = (ArrayList)remoteContactFacade.getAllMarketingList();
  } catch (Exception e) {
    logger.error("[Exception] IndividualMergeDetail.Execute Handler ", e);
    throw new ServletException(e);
View Full Code Here

    ArrayList marketingListCollection = new ArrayList();

    // Get the MarketingLists from the database, so you can set the result.
    ArrayList rawMarketingList = new ArrayList();
    try {
      ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remoteContactFacade = contactFacadeHome.create();
      remoteContactFacade.setDataSource(dataSource);
      rawMarketingList = (ArrayList)remoteContactFacade.getAllMarketingList();
    } catch (Exception e) {
      System.out.println("[Exception][MergeSearch.execute] Exception Thrown: Getting Marketing Lists: "+e);
      throw new ServletException(e);
View Full Code Here

      {
        Individual = "";
      }

      //Setting the Address
      ContactFacadeHome cfHome  = (ContactFacadeHome) CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade cfRemote  = (ContactFacade) cfHome.create();
      cfRemote.setDataSource(dataSource);

      Vector stateList = cfRemote.getStates();
      Vector countryList = cfRemote.getCountry();
View Full Code Here

    int individualID = userObject.getIndividualID();
    int currentPage = 1;
    try
    {

      ContactFacadeHome contactFacadeHome = (ContactFacadeHome) CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remote = contactFacadeHome.create();
      remote.setDataSource(dataSource);
      int listID = 1;

      if (req.getParameter("dbid") != null) {
        listID = Integer.parseInt(req.getParameter("dbid"));
View Full Code Here

    }
   
    // Time to start using the EJB layer
    ContactFacade remoteContactFacade = null;
    try {
      ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      remoteContactFacade = contactFacadeHome.create();
      remoteContactFacade.setDataSource(dataSource);
    } catch (Exception e) {
      logger.error("[Exception] IndividualMerge.Execute Handler ", e);
      throw new ServletException(e);
    }
View Full Code Here

  static public ArrayList getAddressVOs(String [] mergeIds, int contactType, String dataSource)
  {
    ArrayList addressVOs = new ArrayList();
    try
    {
      ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remoteContactFacade = contactFacadeHome.create();
      remoteContactFacade.setDataSource(dataSource);
      for (int i = 0; i < mergeIds.length; i++)
      {
        // Get a collection of all addresses for each
        // add that collection to the addressVOs
View Full Code Here

TOP

Related Classes of com.centraview.contact.contactfacade.ContactFacadeHome

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.