Package app.controller.camp
Class CampViewController
java.lang.Object
app.controller.camp.CampViewController
The CampViewController class provides methods to retrieve information about
camps.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Camp[]getCamp()Retrieves an array of all available camps.static Camp[]Retrieves an array of camps associated with a staff member.static Camp[]Retrieves an array of camps associated with a student.static Camp[]Retrieves an array of camps filtered by school.
-
Method Details
-
getCamp
Retrieves an array of camps filtered by school.- Parameters:
school- The name of the school to filter camps by.- Returns:
- An array of camps that match the specified school.
-
getCamp
Retrieves an array of all available camps.- Returns:
- An array containing all camps.
-
getCamp
Retrieves an array of camps associated with a staff member.- Parameters:
staff- The staff member for whom camps are to be retrieved.- Returns:
- An array of camps associated with the specified staff member.
-
getCamp
Retrieves an array of camps associated with a student.- Parameters:
student- The student for whom camps are to be retrieved.- Returns:
- An array of camps associated with the specified student.
-