Package interfaces

Interface IEnquiryStudentService

  • All Known Implementing Classes:
    EnquiryStudentService

    public interface IEnquiryStudentService
    The IEnquiryStudentService interface provides methods for interacting with student enquiries related to camps. Implementing classes should define these methods to handle various aspects of enquiries, such as viewing, submitting, editing, and deleting.
    • Method Detail

      • viewAllEnquiries

        java.util.ArrayList<Enquiry> viewAllEnquiries()
        Retrieves a list of all enquiries made by the student.
        Returns:
        An ArrayList of Enquiry containing all enquiries made by the student.
      • viewProcessingEnquiries

        java.util.ArrayList<Enquiry> viewProcessingEnquiries()
        Retrieves a list of processing enquiries made by the student.
        Returns:
        An ArrayList of Enquiry containing processing enquiries made by the student.
      • submitEnquiry

        boolean submitEnquiry​(Camp camp)
        Submits a new enquiry for a specific camp.
        Parameters:
        camp - The camp for which the enquiry is submitted.
        Returns:
        true if the enquiry is successfully submitted, false otherwise.
      • editEnquiry

        boolean editEnquiry​(Enquiry enquiry,
                            java.lang.String newQuestion)
        Edits the content of an existing enquiry.
        Parameters:
        enquiry - The enquiry to be edited.
        newQuestion - The edited enquiry.
        Returns:
        true if the enquiry is successfully edited, false otherwise.
      • deleteEnquiry

        boolean deleteEnquiry​(Enquiry enquiry)
        Deletes a specific enquiry.
        Parameters:
        enquiry - The enquiry to be deleted.
        Returns:
        true if the enquiry is successfully deleted, false otherwise.