org.sakaiproject.tool.assessment.ui.servlet.delivery
Class ShowMediaServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.sakaiproject.tool.assessment.ui.servlet.delivery.ShowMediaServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class ShowMediaServlet
- extends javax.servlet.http.HttpServlet
Title: Samigo
Description: Sakai Assessment Manager
- Version:
- $Id: ShowMediaServlet.java 88077 2011-02-07 19:24:17Z ktsao@stanford.edu $
- Author:
- Ed Smiley
- See Also:
- Serialized Form
|
Method Summary |
boolean |
canGrade(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String agentId,
String currentSiteId)
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
String |
getAgentString(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
boolean |
hasPrivilege(javax.servlet.http.HttpServletRequest req,
String functionKey,
String context)
|
boolean |
isOwner(String agentId,
String ownerId)
|
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShowMediaServlet
public ShowMediaServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
doPost
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
getAgentString
public String getAgentString(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
canGrade
public boolean canGrade(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String agentId,
String currentSiteId)
isOwner
public boolean isOwner(String agentId,
String ownerId)
hasPrivilege
public boolean hasPrivilege(javax.servlet.http.HttpServletRequest req,
String functionKey,
String context)
Copyright © 2005-2012 Sakai Project. All Rights Reserved.