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

Public Member Functions

 TestRequestHandler (CopaSystemContext context)
 
AbstractResponse handleRequest (AbstractRequest request, int userID) throws RequestNotPracticableException, InternalErrorException, PermissionException
 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.TestRequestHandler.handleRequest ( AbstractRequest  request,
int  userID 
) throws RequestNotPracticableException, InternalErrorException, PermissionException
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: