@Path(value="xml/submissionstatus") public class XMLBasedSubmissionAndStatus extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
XMLBasedSubmissionAndStatus() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createSubmissionAndStatus(int id,
String status,
String email,
String comment) |
javax.ws.rs.core.Response |
createSubmissionAndStatus(int id,
String submissionDate,
String status,
String email,
String comment) |
javax.ws.rs.core.Response |
defaultSubmissionstatus() |
javax.ws.rs.core.Response |
getsubmissionstatus(String id) |
javax.ws.rs.core.Response |
updateSubmissionStatus(int id,
String submissionDate,
String statusDate,
String status,
String email,
String comment) |
@GET @Produces(value="application/xml") public javax.ws.rs.core.Response defaultSubmissionstatus()
@Path(value="{id}") @GET @Produces(value="application/xml") public javax.ws.rs.core.Response getsubmissionstatus(@PathParam(value="id") String id)
@POST @Path(value="/add") @Produces(value="application/xml") @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response createSubmissionAndStatus(@FormParam(value="Delivery_ID") int id, @FormParam(value="Status") String status, @FormParam(value="Email") String email, @FormParam(value="Comment") String comment) throws IOException
IOException
@POST @Path(value="/addstatus") @Produces(value="application/xml") @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response createSubmissionAndStatus(@FormParam(value="Delivery_ID") int id, @FormParam(value="SubmissionDate") String submissionDate, @FormParam(value="Status") String status, @FormParam(value="Email") String email, @FormParam(value="Comment") String comment) 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="Delivery_ID") int id, @FormParam(value="SubmissionDate") String submissionDate, @FormParam(value="StatusnDate") String statusDate, @FormParam(value="Status") String status, @FormParam(value="Email") String email, @FormParam(value="Comment") String comment) throws IOException
IOException
Copyright © 2019. All rights reserved.