Examples of deleteIndividual()


Examples of com.centraview.contact.contactfacade.ContactFacade.deleteIndividual()

    ContactFacadeHome contactFacadeHome = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome","ContactFacade");
    try
    {
      ContactFacade remote =(ContactFacade)contactFacadeHome.create();
      remote.setDataSource(this.dataSource);
      remote.deleteIndividual( elementID,indvID);
      ListGenerator lg = ListGenerator.getListGenerator(dataSource);
      lg.makeListDirty("Individual");
      lg.makeListDirty("Group");

    }
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacade.deleteIndividual()

        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
          try{
            if (!remote.isIndividualAUser(elementID))
            {
              remote.deleteIndividual( elementID,individualID);
            }
            else
            {
              IndividualVO individualVO = remote.getIndividual(elementID);
              this.individualUsers.add(individualVO.getFirstName() + " "
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacade.deleteIndividual()

      else
      {
        //delete the individual

        //Argument individualID is added - pravink
        contactFacade.deleteIndividual(Integer.parseInt(individualStringID),indvID);
      } //end of else statement (individualStringID == null ...
    } //end of try block
    catch (Exception e)
    {
    logger.error("[Exception] MarketingListMemberList.deleteElement( int indvID, String key ) ", e);
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacade.deleteIndividual()

          } //end of if statement (individualStringID == null ...
          else
          {
            //delete the individual
            //Argument individualID is added - pravink
            contactFacade.deleteIndividual(Integer.parseInt(individualStringID),individualID);
          } //end of else statement (individualStringID == null ...
          }//end of try block
          catch(AuthorizationFailedException ae){
            String errorMessage = ae.getExceptionDescription();
            resultDeleteLog.add(errorMessage);
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacade.deleteIndividual()

      ContactFacade remote = (ContactFacade)cfh.create();
      remote.setDataSource(dataSource);

      // deleteIndividual() returns void
      // I guess, if no exception is thrown, then everything is good
      remote.deleteIndividual(contactID, individualID);
     
      ListGenerator lg = ListGenerator.getListGenerator(dataSource);
      lg.makeListDirty("Individual");

      writer.print(contactID);
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacade.deleteIndividual()

      remote.setDataSource(dataSource);
      for (int i = 0; i < rowId.length; i++) {
        if (rowId[i] != null && !rowId[i].equals("")) {
          int elementID = Integer.parseInt(rowId[i]);
          try {
            remote.deleteIndividual(elementID, individualId);
          } catch (AuthorizationFailedException ae) {
            String errorMessage = ae.getExceptionDescription();
            deleteLog.add(errorMessage);
          } catch (RemoveException re) {
            if (re instanceof UserLoginAssociationException) {
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacade.deleteIndividual()

    try {
      ContactFacade remote = cfh.create();
      remote.setDataSource(dataSource);
      if (rowId != null) {
        for (int i = 0; i < rowId.length; i++) {
          remote.deleteIndividual(Integer.parseInt(rowId[i]), indvID);
        }// end of for (int i = 0; i < rowId.length; i++)
      }// end of if (rowId != null)
    }// end of try block
    catch (Exception e) {
      logger.error("[Exception] DeleteIndividualHandler.Execute Handler ", e);
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacade.deleteIndividual()

    }
   
    for (int i = 0; i < deletedIndividuals.size(); i++) {
      int currentId = ((Integer)deletedIndividuals.get(i)).intValue();
      try {
        remoteContactFacade.deleteIndividual(currentId, individualId);
      } catch (RemoteException re) {
        logger.error("[Exception] IndividualMerge.Execute Handler ", re);
      } catch (AuthorizationFailedException afe) {
        logger.error("[Exception] IndividualMerge.Execute Handler ", afe);
      } catch (RemoveException rme) {
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacadeLocal.deleteIndividual()

      InitialContext ic = CVUtility.getInitialContext();
      ContactFacadeLocalHome contactHome = (ContactFacadeLocalHome)ic.lookup("local/ContactFacade");
      ContactFacadeLocal contactLocal = contactHome.create();
      contactLocal.setDataSource(this.dataSource);
      contactLocal.deleteEntity(listID);
      contactLocal.deleteIndividual(listID);
     
      AuthorizationLocalHome authorizationHome = (AuthorizationLocalHome)ic.lookup("local/Authorization");
      AuthorizationLocal authorizationLocal = authorizationHome.create();
      authorizationLocal.setDataSource(this.dataSource);
      authorizationLocal.deleteMarketingMemberPublicRecords(listID);
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacadeLocal.deleteIndividual()

           while(it.hasNext())
           {
             ivo = (IndividualVO)it.next();
             extId = ivo.getExternalID();
             intId = this.getCVidForExtid(modulename,extId);
             helperL.deleteIndividual(indId, intId);
             logger.info("Individual " + intId + " object deleted");
           }

         }catch(Exception e)
         {
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.