public class CitationListAccessServlet extends Object implements org.sakaiproject.entity.api.HttpAccess
| Modifier and Type | Field and Description |
|---|---|
static String |
LIST_TEMPLATE |
protected static org.sakaiproject.util.ResourceLoader |
rb
Messages, for the http access.
|
| Constructor and Description |
|---|
CitationListAccessServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleAccess(HttpServletRequest req,
HttpServletResponse res,
org.sakaiproject.entity.api.Reference ref,
Collection copyrightAcceptedRefs)
Handle an HTTP request for access.
|
protected void |
handleExportRequest(HttpServletRequest req,
HttpServletResponse res,
org.sakaiproject.entity.api.Reference ref,
String format,
String subtype) |
protected void |
handleViewRequest(HttpServletRequest req,
HttpServletResponse res,
org.sakaiproject.entity.api.Reference ref) |
public static final String LIST_TEMPLATE
protected static org.sakaiproject.util.ResourceLoader rb
public void handleAccess(HttpServletRequest req, HttpServletResponse res, org.sakaiproject.entity.api.Reference ref, Collection copyrightAcceptedRefs) throws org.sakaiproject.entity.api.EntityPermissionException, org.sakaiproject.entity.api.EntityNotDefinedException, org.sakaiproject.entity.api.EntityAccessOverloadException, org.sakaiproject.entity.api.EntityCopyrightException
handleAccess in interface org.sakaiproject.entity.api.HttpAccessreq - The request object.res - The response object.ref - The entity referencecopyrightAcceptedRefs - The collection (entity reference String) of entities that the end user in this session have already accepted the copyright for.org.sakaiproject.entity.api.EntityPermissionException - Throw this if the current user does not have permission for the access.org.sakaiproject.entity.api.EntityNotDefinedException - Throw this if the ref is not supported or the entity is not available for access in any way.org.sakaiproject.entity.api.EntityAccessOverloadException - Throw this if you are rejecting an otherwise valid request because of some sort of server resource shortage or limit.org.sakaiproject.entity.api.EntityCopyrightException - Throw this if you are rejecting an otherwise valid request because the user needs to agree to the copyright and has not yet done so.protected void handleExportRequest(HttpServletRequest req, HttpServletResponse res, org.sakaiproject.entity.api.Reference ref, String format, String subtype) throws org.sakaiproject.entity.api.EntityNotDefinedException, org.sakaiproject.entity.api.EntityAccessOverloadException, org.sakaiproject.entity.api.EntityPermissionException
org.sakaiproject.entity.api.EntityNotDefinedExceptionorg.sakaiproject.entity.api.EntityAccessOverloadExceptionorg.sakaiproject.entity.api.EntityPermissionExceptionprotected void handleViewRequest(HttpServletRequest req, HttpServletResponse res, org.sakaiproject.entity.api.Reference ref) throws org.sakaiproject.entity.api.EntityPermissionException, org.sakaiproject.entity.api.EntityAccessOverloadException, org.sakaiproject.entity.api.EntityNotDefinedException
org.sakaiproject.entity.api.EntityPermissionExceptionorg.sakaiproject.entity.api.EntityAccessOverloadExceptionorg.sakaiproject.entity.api.EntityNotDefinedExceptionCopyright © 2003-2014 The Sakai Foundation. All Rights Reserved.