1 package org.collectionspace.hello.client;
3 import javax.ws.rs.Consumes;
4 import javax.ws.rs.DELETE;
5 import javax.ws.rs.GET;
6 import javax.ws.rs.POST;
7 import javax.ws.rs.PUT;
8 import javax.ws.rs.Path;
9 import javax.ws.rs.PathParam;
10 import javax.ws.rs.Produces;
11 import javax.ws.rs.core.Response;
13 import org.collectionspace.hello.PersonNuxeo;
14 import org.collectionspace.hello.People;
15 import org.jboss.resteasy.client.ClientResponse;
18 * @version $Revision:$
21 @Produces({"application/xml"})
22 @Consumes({"application/xml"})
23 public interface PersonNuxeoProxy {
26 ClientResponse<People> getPeople();
30 ClientResponse<PersonNuxeo> getPerson(@PathParam("id") String id);
33 ClientResponse<Response> createPerson(PersonNuxeo so);
37 ClientResponse<PersonNuxeo> updatePerson(@PathParam("id") String id, PersonNuxeo so);
41 ClientResponse<Response> deletePerson(@PathParam("id") String id);