public class DocumentServlet extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
DocumentServlet() |
Modifier and Type | Method and Description |
---|---|
protected String |
checkIn(Request dsRequest,
Response dsResponse) |
protected void |
checkOut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected List<org.apache.commons.fileupload.FileItem> |
getMultiPartFileItems(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected String |
getParameter(String reqParam,
List<org.apache.commons.fileupload.FileItem> items,
javax.servlet.http.HttpServletRequest request) |
protected String |
getUserId(javax.servlet.http.HttpServletRequest request) |
Request |
identifyDeleteableDocuments(List<String> uuidsList,
String operation)
Identifies which uuids exists in the OLE from the given uuids.
|
protected void |
ingestStringContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
link(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Response |
processDeleteRequest(Request dsRequest)
Deletes documents from docstore and discovery.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public DocumentServlet()
HttpServlet.HttpServlet()
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
HttpServlet.doPost(HttpServletRequest request, HttpServletResponse response)
public Request identifyDeleteableDocuments(List<String> uuidsList, String operation) throws Exception
uuidsList
- operation
- Exception
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void checkOut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
protected void link(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void ingestStringContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
protected Response processDeleteRequest(Request dsRequest) throws IOException
dsRequest
- IOException
protected List<org.apache.commons.fileupload.FileItem> getMultiPartFileItems(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
request
- response
- javax.servlet.ServletException
protected String getParameter(String reqParam, List<org.apache.commons.fileupload.FileItem> items, javax.servlet.http.HttpServletRequest request)
reqParam
- items
- request
- Copyright © 2004–2014 The Kuali Foundation. All rights reserved.