-
- All Known Implementing Classes:
EnquiryCommitteeService
public interface IEnquiryCommitteeService
TheIEnquiryCommitteeService
interface 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 boolean
replyToEnquiry(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
ArrayList
ofEnquiry
objects 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
- TheEnquiry
object representing the enquiry to which the reply is made.reply
- The text of the reply to the enquiry.- Returns:
true
if the reply is successfully added,false
otherwise.
-
-