

Public Member Functions | |
| GetAllDeputiesRequestHandler (CopaSystemContext context) | |
| AbstractResponse | handleRequest (AbstractRequest request, int userID) throws PermissionException, RequestNotPracticableException, InternalErrorException |
| Execute the request of the user. More... | |
Public Member Functions inherited from unicopa.copa.server.com.requestHandler.RequestHandler | |
| RequestHandler (CopaSystemContext context) | |
| CopaSystemContext | getContext () |
| void | checkEventPermission (int userID, int eventID, UserRole requiredRole) throws RequestNotPracticableException, PermissionException |
| Check whether a user holds a specific role for a specific event. More... | |
| void | checkPermission (int userID, UserRole requiredRole) throws PermissionException, RequestNotPracticableException |
|
virtual |
Execute the request of the user.
When this method is called, it is guaranteed that the user satisfies
| request | the request to be processed |
| userID | the ID of the user who sent the request |
| PermissionException | |
| RequestNotPracticableException | |
| InternalErrorException |
Implements unicopa.copa.server.com.requestHandler.RequestHandler.
1.8.4