Package interfaces

Interface ISuggestionStaffService

  • All Known Implementing Classes:
    SuggestionStaffService

    public interface ISuggestionStaffService
    The ISuggestionStaffService interface defines a contract for classes that provide methods to manage suggestions submitted by students, specifically for staff members.
    • Method Detail

      • viewEnquiries

        java.util.ArrayList<Suggestion> viewEnquiries​(Camp camp)
        Retrieves a list of suggestions associated with the specified camp.
        Parameters:
        camp - The Camp object for which to retrieve suggestions.
        Returns:
        An ArrayList of Suggestion objects representing suggestions for the camp.
      • approveSuggestion

        boolean approveSuggestion​(Suggestion suggestion,
                                  java.lang.String reply,
                                  boolean approve)
        Approves or rejects the specified suggestion with an reply.
        Parameters:
        suggestion - The Suggestion object to be approved or rejected.
        reply - A reply to the suggestion.
        approve - true if the suggestion is approved, false if rejected.
        Returns:
        true if the approval or rejection is successful, false otherwise.