-
- All Known Implementing Classes:
SuggestionStaffService
public interface ISuggestionStaffService
TheISuggestionStaffService
interface 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 boolean
approveSuggestion(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
- TheCamp
object for which to retrieve suggestions.- Returns:
- An
ArrayList
ofSuggestion
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
- TheSuggestion
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.
-
-