- java.lang.Object
-
- services.EnquiryCommitteeService
-
- All Implemented Interfaces:
IEnquiryCommitteeService
public class EnquiryCommitteeService extends java.lang.Object implements IEnquiryCommitteeService
EnquiryCommitteeServiceimplementsIEnquiryCommitteeServiceinterface and provide enquiry related functions for a committee user for selected camp
-
-
Constructor Summary
Constructors Constructor Description EnquiryCommitteeService()Construct an instance ofEnquiryCommitteeService
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanreplyToEnquiry(Enquiry enquiry, java.lang.String reply)Replies to a specific enquiry with the given reply text.java.util.ArrayList<Enquiry>viewEnquiries(Camp camp)Retrieves a list of enquiries associated with the provided camp.
-
-
-
Constructor Detail
-
EnquiryCommitteeService
public EnquiryCommitteeService()
Construct an instance ofEnquiryCommitteeService
-
-
Method Detail
-
viewEnquiries
public java.util.ArrayList<Enquiry> viewEnquiries(Camp camp)
Description copied from interface:IEnquiryCommitteeServiceRetrieves a list of enquiries associated with the provided camp.- Specified by:
viewEnquiriesin interfaceIEnquiryCommitteeService- Parameters:
camp- The camp for which enquiries are to be viewed.- Returns:
- An
ArrayListofEnquiryobjects representing the enquiries for the specified camp.
-
replyToEnquiry
public boolean replyToEnquiry(Enquiry enquiry, java.lang.String reply)
Description copied from interface:IEnquiryCommitteeServiceReplies to a specific enquiry with the given reply text.- Specified by:
replyToEnquiryin interfaceIEnquiryCommitteeService- Parameters:
enquiry- TheEnquiryobject representing the enquiry to which the reply is made.reply- The text of the reply to the enquiry.- Returns:
trueif the reply is successfully added,falseotherwise.
-
-