edu.jhu.tmaj.servlet.request.impl
Class UsersSessionsSaveRequest

java.lang.Object
  extended by edu.jhu.tmaj.servlet.request.BaseRequest
      extended by edu.jhu.tmaj.servlet.request.impl.UsersSessionsSaveRequest
All Implemented Interfaces:
CommandRequest, java.io.Serializable

public final class UsersSessionsSaveRequest
extends BaseRequest
implements java.io.Serializable

Sends a request that alters the user permissions for a Session. This Request allows users to share their sessions to others without publishing them. Users may either give read or write access.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
password, username
 
Constructor Summary
UsersSessionsSaveRequest(int sessionID, java.util.List userPermissionsList)
           
 
Method Summary
 CommandResponse processRequest(UserBean userBean)
          This request is executed on the server assuming the username and password returns a valid UserBean.
 java.lang.String toString()
           
 
Methods inherited from class edu.jhu.tmaj.servlet.request.BaseRequest
executeCommand, getPassword, getUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsersSessionsSaveRequest

public UsersSessionsSaveRequest(int sessionID,
                                java.util.List userPermissionsList)
Method Detail

processRequest

public CommandResponse processRequest(UserBean userBean)
                               throws java.sql.SQLException
Description copied from class: BaseRequest
This request is executed on the server assuming the username and password returns a valid UserBean.

Specified by:
processRequest in class BaseRequest
Throws:
java.sql.SQLException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object