Package services

Class EnquiryStaffService

    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnquiryStaffService

        public EnquiryStaffService()
        Construct an instance of EnquiryStaffService
    • Method Detail

      • viewEnquiries

        public java.util.ArrayList<Enquiry> viewEnquiries​(Camp camp)
        Description copied from interface: IEnquiryStaffService
        Retrieves a list of enquiries associated with a specific camp.
        Specified by:
        viewEnquiries in interface IEnquiryStaffService
        Parameters:
        camp - The camp for which enquiries are to be retrieved.
        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: IEnquiryStaffService
        Replies to a specific enquiry with the provided reply message.
        Specified by:
        replyToEnquiry in interface IEnquiryStaffService
        Parameters:
        enquiry - The Enquiry 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.