|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.imca.services.Service net.sf.imca.services.CommitteeService
public class CommitteeService
Service IMCA Committee member use cases.
Field Summary |
---|
Fields inherited from class net.sf.imca.services.Service |
---|
em |
Constructor Summary | |
---|---|
CommitteeService()
|
Method Summary | |
---|---|
boolean |
addMember(long membershipTypeId,
java.lang.String email)
|
boolean |
confirmPaidMembershipEntity(long id)
Set the paid flag to true for the Membership entity with the id. |
boolean |
deleteMembershipEntity(long id)
Delete the Membership entity with the id. |
boolean |
deleteMembershipTypeEntity(long id)
Delete the Membership Type entity with the id. |
AssociationBO[] |
getAllAssociations()
|
AssociationBO |
getAssociation(long associationId)
|
AssociationBO |
getAssociation(java.lang.String countryCode,
java.lang.String area)
|
CommitteeMemberEntity[] |
getAssociationCommittee(java.lang.String landCode,
java.lang.String area)
|
AssociationBO[] |
getAssociations(boolean official)
|
AssociationBO[] |
getCommitteeMemberships(PersonBO person)
|
MembershipTypeBO[] |
getEditableMembershipTypes(PersonBO person)
|
boolean |
getHasLinkedMemberships(long membershipTypeId)
|
CommitteeMemberEntity[] |
getImcaWorldAssociationCommittee()
|
MembershipEntity[] |
getMembershipList(PersonBO person)
Get the Persons membership list on the current date. |
MembershipEntity[] |
getMembershipList(PersonBO person,
java.util.Date refDate)
Get the Persons membership list on the reference date. |
MembershipEntity[] |
getMembershipRequestList(PersonBO person)
|
MembershipTypeBO |
getMembershipType(long membershipTypeId)
|
AssociationBO[] |
getOficialIMCACommitteeMemberships(PersonBO person)
|
boolean |
getOnImcaCommittee(PersonBO person)
|
void |
saveAssociationData(AssociationEntity entity)
|
boolean |
saveAssociationData(long associationId,
java.lang.String paymentExplanation,
java.lang.String url)
|
boolean |
saveMembershipType(long membershipTypeId,
java.lang.String membershipType,
java.lang.String currencyCode,
double fee,
java.util.Date startDate,
java.util.Date endDate)
Save the MembershipType with the following parameters. |
void |
saveNewMembershipType(long associationId,
java.lang.String membershipType,
java.lang.String currencyCode,
double fee,
java.util.Date startDate,
java.util.Date endDate)
|
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 |
---|
public CommitteeService()
Method Detail |
---|
public MembershipEntity[] getMembershipList(PersonBO person)
person
- The person for the membership filter.
public MembershipEntity[] getMembershipList(PersonBO person, java.util.Date refDate)
person
- The person for the membership filter.refDate
- The data for the membership list.
public AssociationBO[] getCommitteeMemberships(PersonBO person)
public AssociationBO[] getOficialIMCACommitteeMemberships(PersonBO person)
public AssociationBO[] getAllAssociations()
public AssociationBO getAssociation(java.lang.String countryCode, java.lang.String area)
public AssociationBO[] getAssociations(boolean official)
public CommitteeMemberEntity[] getImcaWorldAssociationCommittee()
public CommitteeMemberEntity[] getAssociationCommittee(java.lang.String landCode, java.lang.String area)
public boolean getOnImcaCommittee(PersonBO person)
public void saveNewMembershipType(long associationId, java.lang.String membershipType, java.lang.String currencyCode, double fee, java.util.Date startDate, java.util.Date endDate)
public MembershipEntity[] getMembershipRequestList(PersonBO person)
public boolean deleteMembershipEntity(long id)
id
- of membership entity.
public boolean deleteMembershipTypeEntity(long id)
id
- of membership Type entity.
public boolean confirmPaidMembershipEntity(long id)
id
- of membership entity.
public AssociationBO getAssociation(long associationId)
public void saveAssociationData(AssociationEntity entity)
public boolean saveAssociationData(long associationId, java.lang.String paymentExplanation, java.lang.String url)
associationId
- paymentExplanation
- url
-
public MembershipTypeBO getMembershipType(long membershipTypeId)
public MembershipTypeBO[] getEditableMembershipTypes(PersonBO person)
public boolean saveMembershipType(long membershipTypeId, java.lang.String membershipType, java.lang.String currencyCode, double fee, java.util.Date startDate, java.util.Date endDate)
membershipTypeId
- membershipType
- currencyCode
- fee
- startDate
- endDate
-
public boolean getHasLinkedMemberships(long membershipTypeId)
public boolean addMember(long membershipTypeId, java.lang.String email)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |