Examples of deleteAddress()


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

    {
      //call to EJB server
      int elementID = Integer.parseInt(key);
      ContactFacade remote =(ContactFacade)cfh.create();
      remote.setDataSource(this.dataSource);
      remote.deleteAddress(elementID, this.contactId, indvID);
    }//end of try block
    catch(AuthorizationFailedException ae){
      logger.error("[Exception] AddressList.deleteElement( int indvID, String key ) ", ae);
    }//end of catch block
    catch( CreateException e )
View Full Code Here

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

      for (int i=0; i<recordID.length; i++)
      {
        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
          try{
            remote.deleteAddress(elementID, this.contactId, individualID);
          }//end of try block
          catch(AuthorizationFailedException ae){
            String errorMessage = ae.getExceptionDescription();
            resultDeleteLog.add(errorMessage);
          }//end of catch block
View Full Code Here

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

   
    for (int i = 0; i < addressVOs.size(); i++) {
      int currentId = ((AddressVO)addressVOs.get(i)).getAddressID();
      if (! addressCheckList.contains(currentId+"")) {
        try {
          remoteContactFacade.deleteAddress(currentId, contactID, individualId);
        } catch (RemoteException re) {
          logger.error("[Exception] IndividualMerge.Execute Handler ", re);
        } catch (AuthorizationFailedException afe) {
          logger.error("[Exception] IndividualMerge.Execute Handler ", afe);
        }
View Full Code Here

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

    // thats what all the following convoluted code does
    for (int i = 0; i < addressVOs.size(); i++) {
      int currentId = ((AddressVO)addressVOs.get(i)).getAddressID();
      if (!addressCheckList.contains(currentId+"")) {
        try {
          remoteContactFacade.deleteAddress(currentId, entityId, individualId);
        } catch (RemoteException re) {
          logger.error("[Exception] EntityMerge.Execute Handler ", re);
        } catch (AuthorizationFailedException afe) {
          logger.error("[Exception] EntityMerge.Execute Handler ", afe);
        }
View Full Code Here

Examples of com.centraview.contact.helper.ContactHelperLocal.deleteAddress()

    try{
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      remote.deleteAddress(addressId,  contactId,  userId,true);
      remote.updateModified("address", contactId, userId, addressId);
    }catch(NamingException re){
      throw new EJBException(re);
    }catch(CreateException ce){
      throw new EJBException(ce);
View Full Code Here

Examples of com.centraview.contact.helper.ContactHelperLocal.deleteAddress()

        // delete Address
        AddressVO addVO = this.indVo.getPrimaryAddress();
        if (addVO != null) {
          //We are passing the Extra boolean value to the method. if the
          // boolean value is false then we wil not update the individual table
          remote.deleteAddress(addVO.getAddressID(), this.indVo.getContactID(), this.operationIndividualId, false);
        }

        // All Method od Contact is to deleted.
        Iterator mi = this.indVo.getMOC().iterator();
        while (mi.hasNext()) {
View Full Code Here

Examples of com.centraview.contact.helper.ContactHelperLocal.deleteAddress()

      if (addVO != null)
      {
        // The boolean value false tells the ContactHelperEJB to NOT
        // update the 'entity.Modified' field, since we are already
        // updating that record at this time.
        remote.deleteAddress(addVO.getAddressID(), this.envo.getContactID(), 1, false);
      }

      // All Method of Contact is to deleted.
      Iterator mi = this.envo.getMOC().iterator();
      while (mi.hasNext())
View Full Code Here

Examples of com.dotmarketing.business.UserAPI.deleteAddress()

    HttpServletRequest request = ctx.getHttpServletRequest();

    Address ad;
    try {
      ad = uAPI.loadAddressById(addressId, uWebAPI.getLoggedInUser(request), !uWebAPI.isLoggedToBackend(request));
      uAPI.deleteAddress(ad, uWebAPI.getLoggedInUser(request), !uWebAPI.isLoggedToBackend(request));
    } catch (DotRuntimeException e) {
      Logger.error(this, e.getMessage(), e);
      throw new DotDataException(e.getMessage(), e);
    } catch (PortalException e) {
      Logger.error(this, e.getMessage(), 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.