CopaServer
Change of Plan Application
 All Classes Functions Pages
Public Member Functions | List of all members
unicopa.copa.server.com.requestHandler.GetCurrentSingleEventsRequestHandler Class Reference
Inheritance diagram for unicopa.copa.server.com.requestHandler.GetCurrentSingleEventsRequestHandler:
Inheritance graph
Collaboration diagram for unicopa.copa.server.com.requestHandler.GetCurrentSingleEventsRequestHandler:
Collaboration graph

Public Member Functions

 GetCurrentSingleEventsRequestHandler (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
 

Detailed Description

Author
Felix Wiemuth

Member Function Documentation

AbstractResponse unicopa.copa.server.com.requestHandler.GetCurrentSingleEventsRequestHandler.handleRequest ( AbstractRequest  request,
int  userID 
) throws PermissionException, RequestNotPracticableException, InternalErrorException
virtual

Execute the request of the user.

When this method is called, it is guaranteed that the user satisfies

Parameters
requestthe request to be processed
userIDthe ID of the user who sent the request
Returns
Exceptions
PermissionException
RequestNotPracticableException
InternalErrorException

Implements unicopa.copa.server.com.requestHandler.RequestHandler.


The documentation for this class was generated from the following file: