-
- All Known Implementing Classes:
EnquiryStaffService
public interface IEnquiryStaffService
TheIEnquiryStaffService
interface 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 boolean
replyToEnquiry(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
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 provided reply message.- Parameters:
enquiry
- TheEnquiry
object to which the reply is being made.reply
- The reply message to be associated with the enquiry.- Returns:
true
if the reply is successful,false
otherwise.
-
-