Package services

Class SuggestionStaffService

    • Constructor Detail

    • Method Detail

      • approveSuggestion

        public boolean approveSuggestion​(Suggestion suggestion,
                                         java.lang.String reply,
                                         boolean approve)
        Description copied from interface: ISuggestionStaffService
        Approves or rejects the specified suggestion with an reply.
        Specified by:
        approveSuggestion in interface ISuggestionStaffService
        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.