package org.jboss.resteasy.links.test;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

import org.jboss.resteasy.links.AddLinks;
import org.jboss.resteasy.links.LinkResource;

@Produces("application/xml")
@Path("/")
public interface IDServiceTest {
	@GET
	@AddLinks
	@LinkResource
	@Path("jpa-id/book/{name}")
	public JpaIdBook getJpaIdBook(@PathParam("name") String name);

	@GET
	@AddLinks
	@LinkResource
	@Path("xml-id/book/{name}")
	public XmlIdBook getXmlIdBook(@PathParam("name")String name);


	@GET
	@AddLinks
	@LinkResource
	@Path("resource-id/book/{name}")
	public ResourceIdBook getResourceIdBook(@PathParam("name")String name);


	@GET
	@AddLinks
	@LinkResource
	@Path("resource-ids/book/{namea}/{nameb}")
	public ResourceIdsBook getResourceIdsBook(@PathParam("namea")String namea, @PathParam("nameb")String nameb);

	@GET
	@AddLinks
	@LinkResource
	@Path("resource-id-method/book/{name}")
	public ResourceIdMethodBook getResourceIdMethodBook(@PathParam("name")String name);


	@GET
	@AddLinks
	@LinkResource
	@Path("resource-ids-method/book/{namea}/{nameb}")
	public ResourceIdsMethodBook getResourceIdsMethodBook(@PathParam("namea")String namea, @PathParam("nameb")String nameb);

}
