net.sf.imca.model.entities
Class AssociationDAO

java.lang.Object
  extended by net.sf.imca.model.entities.AssociationDAO

public class AssociationDAO
extends java.lang.Object


Constructor Summary
AssociationDAO()
           
 
Method Summary
 AssociationEntity findAssociation(javax.persistence.EntityManager em, java.lang.String countryCode, java.lang.String area)
           
 java.util.List<CommitteeMemberEntity> findCommitteeMemberships(javax.persistence.EntityManager em, PersonEntity person)
           
 java.util.List<MembershipTypeEntity> findMembershipTypes(javax.persistence.EntityManager em, AssociationEntity association)
           
 java.util.List<AssociationEntity> getAllAssociations(javax.persistence.EntityManager em)
           
 java.util.List<AssociationEntity> getAssociations(javax.persistence.EntityManager em, boolean official)
           
 java.util.List<AssociationEntity> getAssociationsInCountry(javax.persistence.EntityManager em, java.lang.String countryCode)
           
 java.util.List<AssociationEntity> getAssociationsWithWebsites(javax.persistence.EntityManager em)
           
 AssociationBO getWorldAssociation(javax.persistence.EntityManager em)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationDAO

public AssociationDAO()
Method Detail

findAssociation

public AssociationEntity findAssociation(javax.persistence.EntityManager em,
                                         java.lang.String countryCode,
                                         java.lang.String area)

getAssociationsInCountry

public java.util.List<AssociationEntity> getAssociationsInCountry(javax.persistence.EntityManager em,
                                                                  java.lang.String countryCode)

findCommitteeMemberships

public java.util.List<CommitteeMemberEntity> findCommitteeMemberships(javax.persistence.EntityManager em,
                                                                      PersonEntity person)

findMembershipTypes

public java.util.List<MembershipTypeEntity> findMembershipTypes(javax.persistence.EntityManager em,
                                                                AssociationEntity association)

getWorldAssociation

public AssociationBO getWorldAssociation(javax.persistence.EntityManager em)

getAssociations

public java.util.List<AssociationEntity> getAssociations(javax.persistence.EntityManager em,
                                                         boolean official)

getAllAssociations

public java.util.List<AssociationEntity> getAllAssociations(javax.persistence.EntityManager em)

getAssociationsWithWebsites

public java.util.List<AssociationEntity> getAssociationsWithWebsites(javax.persistence.EntityManager em)


Copyright © 2007-2008 The International Moth Class Association (IMCA).. All Rights Reserved.