-
- All Known Implementing Classes:
EnquiryStaffService
public interface IEnquiryStaffServiceTheIEnquiryStaffServiceinterface defines the contract for services related to handling enquiries for camp staff. Implementing classes are expected to provide functionality for viewing enquiries associated with a specific camp and replying 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 provided reply message.java.util.ArrayList<Enquiry>viewEnquiries(Camp camp)Retrieves a list of enquiries associated with a specific camp.
-
-
-
Method Detail
-
viewEnquiries
java.util.ArrayList<Enquiry> viewEnquiries(Camp camp)
Retrieves a list of enquiries associated with a specific camp.- Parameters:
camp- The camp for which enquiries are to be retrieved.- 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 provided reply message.- Parameters:
enquiry- TheEnquiryobject to which the reply is being made.reply- The reply message to be associated with the enquiry.- Returns:
trueif the reply is successful,falseotherwise.
-
-