Package org.domain.model.component.interest

Examples of org.domain.model.component.interest.Interests


  public User(IDomainModel domainModel) {
    super(domainModel);
    // internal child neighbors only
    blogs = new Blogs(this);
    interests = new Interests(this);
  }
View Full Code Here


    }
    return allApprovedEntries;
  }

  public Interests getTopicInterests(Topic topic) {
    Interests interests = new Interests(topic);
    try {
      User user;
      for (Iterator x = iterator(); x.hasNext();) {
        user = (User) x.next();
        Interest interest = user.getInterest(topic);
        if (interest != null) {
          interests.add(interest);
        }
      }
    } catch (ActionException e) {
      log.error("Error in Users.getTopicInterests: " + e.getMessage());
    }
View Full Code Here

TOP

Related Classes of org.domain.model.component.interest.Interests

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.