Package interfaces

Interface ISuggestionCommitteeService

    • Method Detail

      • viewAllSuggestions

        java.util.ArrayList<Suggestion> viewAllSuggestions()
        Retrieves a list of all suggestions.
        Returns:
        An ArrayList of Suggestion objects representing all suggestions.
      • viewProcessingSuggestions

        java.util.ArrayList<Suggestion> viewProcessingSuggestions()
        Retrieves a list of processing suggestions.
        Returns:
        An ArrayList of Suggestion objects representing processing suggestions.
      • submitSuggestions

        boolean submitSuggestions​(Camp camp)
        Submits a suggestion for the specified camp.
        Parameters:
        camp - The Camp object for which the suggestion is submitted.
        Returns:
        true if the suggestion is submitted successfully, false otherwise.
      • editSuggestion

        boolean editSuggestion​(Suggestion suggestion,
                               java.lang.String newQuestion)
        Edits the specified suggestion with a new question.
        Parameters:
        suggestion - The Suggestion object to be edited.
        newQuestion - The edited suggestion.
        Returns:
        true if the suggestion is edited successfully, false otherwise.
      • deleteSuggestion

        boolean deleteSuggestion​(Suggestion suggestion)
        Deletes the specified suggestion.
        Parameters:
        suggestion - The Suggestion object to be deleted.
        Returns:
        true if the suggestion is deleted successfully, false otherwise.