net.sf.imca.services
Class JoinImcaService

java.lang.Object
  extended by net.sf.imca.services.Service
      extended by net.sf.imca.services.JoinImcaService

public class JoinImcaService
extends Service

Service for joining the IMCA use cases.

Author:
dougculnane

Field Summary
 
Fields inherited from class net.sf.imca.services.Service
em
 
Constructor Summary
JoinImcaService()
           
 
Method Summary
 boolean getActiveMember(PersonBO personBO)
           
 java.lang.String[] getAreasForCountry(java.lang.String countryCode)
           
 MembershipBO[] getImcaMemberships(PersonBO personBO)
           
 AssociationBO getJoinableAssociation(java.lang.String countryCode, java.lang.String area)
           
 java.util.List<MembershipTypeEntity> getJoinableMembershipTypes(java.lang.String countryCode, java.lang.String area)
           
 MembershipTypeEntity getMembershipTypeEntity(long membershipTypeId)
           
 boolean makeMembershipRequest(PersonBO person, java.lang.String countryCode, java.lang.String area, long membershipTypeId)
           
 AssociationBO selectAssociation(java.lang.String countryCode, java.lang.String area)
           
 AssociationBO[] selectAssociations(java.lang.String countryCode)
           
 boolean selectMembership(java.lang.String associationId, java.lang.String typeId)
           
 
Methods inherited from class net.sf.imca.services.Service
destroyEntityManager, endTransaction, startTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinImcaService

public JoinImcaService()
Method Detail

selectAssociations

public AssociationBO[] selectAssociations(java.lang.String countryCode)

selectAssociation

public AssociationBO selectAssociation(java.lang.String countryCode,
                                       java.lang.String area)

selectMembership

public boolean selectMembership(java.lang.String associationId,
                                java.lang.String typeId)

getAreasForCountry

public java.lang.String[] getAreasForCountry(java.lang.String countryCode)

getJoinableMembershipTypes

public java.util.List<MembershipTypeEntity> getJoinableMembershipTypes(java.lang.String countryCode,
                                                                       java.lang.String area)

makeMembershipRequest

public boolean makeMembershipRequest(PersonBO person,
                                     java.lang.String countryCode,
                                     java.lang.String area,
                                     long membershipTypeId)

getJoinableAssociation

public AssociationBO getJoinableAssociation(java.lang.String countryCode,
                                            java.lang.String area)

getMembershipTypeEntity

public MembershipTypeEntity getMembershipTypeEntity(long membershipTypeId)

getImcaMemberships

public MembershipBO[] getImcaMemberships(PersonBO personBO)

getActiveMember

public boolean getActiveMember(PersonBO personBO)


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