-
- All Known Implementing Classes:
EnquiryCommitteeService
public interface IEnquiryCommitteeServiceTheIEnquiryCommitteeServiceinterface defines the contract for services related to camp enquiries for committee members. It provides methods to view enquiries for a specific camp and reply to those enquiries.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
viewEnquiries
java.util.ArrayList<Enquiry> viewEnquiries(Camp camp)
Retrieves a list of enquiries associated with the provided camp.- Parameters:
camp- The camp for which enquiries are to be viewed.- Returns:
- An
ArrayListofEnquiryobjects representing the enquiries for the specified camp.
-
replyToEnquiry
boolean replyToEnquiry(Enquiry enquiry, java.lang.String reply)
Replies to a specific enquiry with the given reply text.- 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.
-
-