Package com.centraview.contact.helper

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


    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      remote.updateAddress(addressDet, contactId, 1,true);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.updateAddress] Exception Thrown: "+e);
    }
  }   // end  updateAddress() method
View Full Code Here


          int addID = adr.getAddressID();
          if (addID > 0) {
            // 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.updateAddress(this.envo.getPrimaryAddress(), entId, modBy, false);
          } else {
            // don't update Modified field
            remote.addAddress(this.envo.getPrimaryAddress(), entId, cntType, modBy, false);
          }
        }
View Full Code Here

            remote.addAddress(av, indVo.getContactID(), 2, 1, false);
          } else {
            //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.updateAddress(this.indVo.getPrimaryAddress(), indVo.getContactID(), indVo.getModifiedBy(), false);
          }
        }
        Iterator mi = this.indVo.getMOC().iterator();
        while (mi.hasNext()) {
          MethodOfContactVO mocObj = (MethodOfContactVO)mi.next();
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.