]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
ca42255959969c44938f9d6241fa740907e8bdae
[tmp/jakarta-migration.git] /
1 package org.collectionspace.hello.client;
2
3 import javax.ws.rs.Consumes;
4 import javax.ws.rs.GET;
5 import javax.ws.rs.POST;
6 import javax.ws.rs.Path;
7 import javax.ws.rs.PathParam;
8 import javax.ws.rs.Produces;
9 import javax.ws.rs.core.Response;
10
11 import org.collectionspace.hello.DomainIdentifier;
12 import org.jboss.resteasy.client.ClientResponse;
13
14 /**
15  * @version $Revision:$
16  */
17 @Path("/domainidentifiers/")
18 @Produces({"application/xml"})
19 @Consumes({"application/xml"})
20 public interface DomainIdentifierProxy {
21
22     /**
23      * @param id
24      * @return
25      */
26     @GET
27     @Path("/{id}")
28     ClientResponse<DomainIdentifier> getIdentifier(@PathParam("id") String id);
29
30     @POST
31     ClientResponse<Response> createIdentifier(DomainIdentifier so);
32 }