CopaServer
Change of Plan Application
 All Classes Functions Pages
Public Member Functions | List of all members
unicopa.copa.base.com.request.AddRoleToUserRequest Class Reference

Appoint a role to a user for a specific event. More...

Inheritance diagram for unicopa.copa.base.com.request.AddRoleToUserRequest:
Inheritance graph
Collaboration diagram for unicopa.copa.base.com.request.AddRoleToUserRequest:
Collaboration graph

Public Member Functions

 AddRoleToUserRequest (int eventID, String userEmail, UserRole role)
 Create the request. More...
 
int getEventID ()
 
String getUserEmail ()
 
UserRole getRole ()
 

Additional Inherited Members

- Static Public Member Functions inherited from unicopa.copa.base.com.request.AbstractRequest
static UserRole getRequiredPermissionLevel ()
 
static AbstractRequest deserialize (String json) throws APIException
 
- Static Protected Attributes inherited from unicopa.copa.base.com.request.AbstractRequest
static UserRole requiredPermissionLevel = UserRole.ADMINISTRATOR
 

Detailed Description

Appoint a role to a user for a specific event.

Deputies can appoint rightholders, owners can appoint rightholders and deputies.

Author
Felix Wiemuth

Constructor & Destructor Documentation

unicopa.copa.base.com.request.AddRoleToUserRequest.AddRoleToUserRequest ( int  eventID,
String  userEmail,
UserRole  role 
)

Create the request.

Parameters
eventIDthe ID of the event where a user should get a role
userEmailthe email of the user who should get the role
rolethe role to give to the user

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