org.kuali.ole.docstore.discovery.rest
Class DocumentResources
java.lang.Object
org.kuali.ole.docstore.discovery.rest.DocumentResources
public class DocumentResources
- extends Object
Created with IntelliJ IDEA.
User: Sreekanth
Date: 8/3/12
Time: 3:47 PM
To change this template use File | Settings | File Templates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentResources
public DocumentResources()
findById
public String findById(String id)
throws Exception
- Parameters:
id
-
- Returns:
-
- Throws:
Exception
create
public String create(@PathVariable(value="ingestContent")
String stringContent,
String apiType,
@Context
javax.servlet.http.HttpServletRequest request,
@Context
javax.servlet.http.HttpServletResponse response)
throws IOException
- Parameters:
stringContent
-
- Throws:
IOException
update
public String update(@PathVariable(value="stringContent")
String stringContent)
remove
public String remove(String ids,
String identifierType,
String operation)
throws IOException
- Throws:
IOException
processDeleteRequest
protected Response processDeleteRequest(Request dsRequest)
throws IOException
- Throws:
IOException
checkIn
public String checkIn(Request dsRequest,
Response dsResponse)
checkOut
protected String checkOut(String uuid,
String requestType)
throws IOException
- Throws:
IOException
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.