Package services

Class EnquiryCommitteeService

    • Constructor Detail

    • Method Detail

      • viewEnquiries

        public java.util.ArrayList<Enquiry> viewEnquiries​(Camp camp)
        Description copied from interface: IEnquiryCommitteeService
        Retrieves a list of enquiries associated with the provided camp.
        Specified by:
        viewEnquiries in interface IEnquiryCommitteeService
        Parameters:
        camp - The camp for which enquiries are to be viewed.
        Returns:
        An ArrayList of Enquiry objects representing the enquiries for the specified camp.
      • replyToEnquiry

        public boolean replyToEnquiry​(Enquiry enquiry,
                                      java.lang.String reply)
        Description copied from interface: IEnquiryCommitteeService
        Replies to a specific enquiry with the given reply text.
        Specified by:
        replyToEnquiry in interface IEnquiryCommitteeService
        Parameters:
        enquiry - The Enquiry 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.