Package app.controller.camp
Class CampRegistrationController
java.lang.Object
app.controller.camp.CampRegistrationController
The
CampRegistrationController class is responsible for handling the
registration and deregistration
of students for camps. This class acts as a app.controller for camp registration
operations, leveraging its
inner class CampRegistrationService for specific actions.
It provides an interface to manage the addition and removal of students as attendees in various camp events.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CampcheckConflict(Camp camp, Student student) Registers a student to a camp by adding them to the camp's list of attendees.static booleancheckJoinedAsCommittee(Student student) static OperationResultderegisterCamp(Camp camp, Student student) Deregisters a student from a camp by removing them from the camp's list of attendees.static OperationResultregisterCamp(Camp camp, Student student) static OperationResultregisterCampAsCommittee(Camp camp, Student student)
-
Method Details
-
checkConflict
-
registerCamp
-
checkJoinedAsCommittee
-
registerCampAsCommittee
-
deregisterCamp
-