org.duraspace.fcrepo.cloudsync.service.rest
Class ObjectSetResource
java.lang.Object
org.duraspace.fcrepo.cloudsync.service.rest.ObjectSetResource
public class ObjectSetResource
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECTSET_JSON
public static final String OBJECTSET_JSON
- See Also:
- Constant Field Values
OBJECTSET_XML
public static final String OBJECTSET_XML
- See Also:
- Constant Field Values
OBJECTSETS_JSON
public static final String OBJECTSETS_JSON
- See Also:
- Constant Field Values
OBJECTSETS_XML
public static final String OBJECTSETS_XML
- See Also:
- Constant Field Values
JSON
protected static final String JSON
- See Also:
- Constant Field Values
TEXT
protected static final String TEXT
- See Also:
- Constant Field Values
XML
protected static final String XML
- See Also:
- Constant Field Values
STATUS_200_OK
protected static final String STATUS_200_OK
- See Also:
- Constant Field Values
STATUS_201_CREATED
protected static final String STATUS_201_CREATED
- See Also:
- Constant Field Values
STATUS_204_NO_CONTENT
protected static final String STATUS_204_NO_CONTENT
- See Also:
- Constant Field Values
service
protected final CloudSyncService service
ObjectSetResource
public ObjectSetResource(CloudSyncService service)
createObjectSet
public javax.ws.rs.core.Response createObjectSet(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest req,
ObjectSet objectSet)
updateObjectSet
public ObjectSet updateObjectSet(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest req,
String id,
ObjectSet objectSet)
listObjectSets
public List<ObjectSet> listObjectSets(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest req)
getObjectSet
public ObjectSet getObjectSet(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest req,
String id)
deleteObjectSet
public void deleteObjectSet(String id)
Copyright © 2012 DuraSpace. All Rights Reserved.