Package it.eng.spagobi.tools.distributionlist.bo

Examples of it.eng.spagobi.tools.distributionlist.bo.Email


      if (profile!=null) userId=(String)((UserProfile)profile).getUserId();
      //load the dl
      dl = DAOFactory.getDistributionListDAO().loadDistributionListById(new Integer(id));
      //load the user
      Email user = new Email();
      user.setEmail(email);
      user.setUserId(userId);
      //subscribe to the dl
      IDistributionListDAO dao=DAOFactory.getDistributionListDAO();
      dao.setUserProfile(profile);
      dao.subscribeToDistributionList(dl,user);
    }
View Full Code Here


    Iterator i = s.iterator();
    while(i.hasNext()){
      SbiDistributionListUser dls =(SbiDistributionListUser) i.next();
      String userId = dls.getUserId();
      String e_mail = dls.getEMail();
      Email email = new Email();
      email.setUserId(userId);
      email.setEmail(e_mail);
      emails.add(email);     
    }

    dl.setEmails(emails);
   
View Full Code Here

        List emails = new ArrayList();
        emails = dl.getEmails();
        Iterator j = emails.iterator();
        while(j.hasNext()){
          Email e = (Email) j.next();
          String email = e.getEmail();
          String userTemp = e.getUserId();
          IEngUserProfile userProfile = GeneralUtilities.createNewUserProfile(userTemp);       
          if(ObjectsAccessVerifier.canSee(biobj, userProfile))  {       
            if (j.hasNext()) {mailTos = mailTos+email+",";}
            else {mailTos = mailTos+email;}
          }
View Full Code Here

TOP

Related Classes of it.eng.spagobi.tools.distributionlist.bo.Email

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.