1 package org.collectionspace.hello.client;
3 import javax.ws.rs.Consumes;
4 import javax.ws.rs.GET;
5 import javax.ws.rs.POST;
6 import javax.ws.rs.PUT;
7 import javax.ws.rs.Path;
8 import javax.ws.rs.PathParam;
9 import javax.ws.rs.Produces;
10 import javax.ws.rs.core.Response;
12 import org.collectionspace.hello.Person;
13 import org.jboss.resteasy.client.ClientResponse;
16 * @version $Revision:$
19 @Produces({"application/xml"})
20 @Consumes({"application/xml"})
21 public interface PersonProxy {
31 ClientResponse<Person> getPerson(@PathParam("id") Long id);
34 ClientResponse<Response> createPerson(Person so);
38 ClientResponse<Person> updatePerson(@PathParam("id") Long id, Person so);