-
- All Known Implementing Classes:
SuggestionStaffService
public interface ISuggestionStaffServiceTheISuggestionStaffServiceinterface defines a contract for classes that provide methods to manage suggestions submitted by students, specifically for staff members.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanapproveSuggestion(Suggestion suggestion, java.lang.String reply, boolean approve)Approves or rejects the specified suggestion with an reply.java.util.ArrayList<Suggestion>viewEnquiries(Camp camp)Retrieves a list of suggestions associated with the specified camp.
-
-
-
Method Detail
-
viewEnquiries
java.util.ArrayList<Suggestion> viewEnquiries(Camp camp)
Retrieves a list of suggestions associated with the specified camp.- Parameters:
camp- TheCampobject for which to retrieve suggestions.- Returns:
- An
ArrayListofSuggestionobjects 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- TheSuggestionobject to be approved or rejected.reply- A reply to the suggestion.approve-trueif the suggestion is approved,falseif rejected.- Returns:
trueif the approval or rejection is successful,falseotherwise.
-
-