Package com.bookstore.service.workflow

Examples of com.bookstore.service.workflow.BookActivity.deleteBook()


  @DELETE
  @Produces({MediaType.APPLICATION_JSON})
  @Path("/{id}")
  public Response deleteBook(@PathParam("id") String id) {
    BookActivity bookActivity = new BookActivity();
    String res = bookActivity.deleteBook(id);
    if (res.equals("OK")) {
      return Response.status(Status.OK).build();
    }
    return null;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.