@Path(value="xml/products") public class XMLBasedProducts extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
XMLBasedProducts() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createProduct(String logicalIdentifier,
String ver,
String title,
String type,
String altId) |
javax.ws.rs.core.Response |
defaultProducts() |
javax.ws.rs.core.Response |
products(String type) |
javax.ws.rs.core.Response |
products(String insRef,
String invRef) |
javax.ws.rs.core.Response |
updateSubmissionStatus(String logicalIdentifier,
String ver,
String title,
String type,
String altId) |
@GET @Produces(value="application/xml") public javax.ws.rs.core.Response defaultProducts()
@Path(value="type/{Type}") @GET @Produces(value="application/xml") public javax.ws.rs.core.Response products(@PathParam(value="Type") String type)
@Path(value="{instRef : (.+)?}/{investRef : (.+)?}") @GET @Produces(value="application/xml") public javax.ws.rs.core.Response products(@PathParam(value="instRef") String insRef, @PathParam(value="investRef") String invRef)
@POST @Path(value="/add") @Produces(value="application/xml") @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response createProduct(@FormParam(value="LogicalIdentifier") String logicalIdentifier, @FormParam(value="Version") String ver, @FormParam(value="Title") String title, @FormParam(value="Type") String type, @FormParam(value="AlternateId") String altId) throws IOException
IOException
@POST @Path(value="/update") @Produces(value="application/xml") @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response updateSubmissionStatus(@FormParam(value="LogicalIdentifier") String logicalIdentifier, @FormParam(value="Version") String ver, @FormParam(value="Title") String title, @FormParam(value="Type") String type, @FormParam(value="AlternateId") String altId) throws IOException
IOException
Copyright © 2019. All rights reserved.