Class RefEntityResource

java.lang.Object
com.atlassian.jira.dev.reference.plugin.ao.RefEntityResource

@Path("refentity") @Consumes({"application/xml","application/json"}) @Produces("application/json") public class RefEntityResource extends Object
Resource for testing Transactions in AO
Since:
v7.0
  • Constructor Details

    • RefEntityResource

      @Inject public RefEntityResource(RefEntityService refEntityService)
  • Method Details

    • getAll

      @GET public jakarta.ws.rs.core.Response getAll()
    • deleteAll

      @DELETE public jakarta.ws.rs.core.Response deleteAll()
    • add

      @POST public jakarta.ws.rs.core.Response add(@QueryParam("description") String description)
    • addInTransaction

      @POST @Path("withTransaction") public jakarta.ws.rs.core.Response addInTransaction(@QueryParam("description") String description)
    • addInExternalTransaction

      @POST @Path("withExternalTransaction") public jakarta.ws.rs.core.Response addInExternalTransaction(@QueryParam("description") String description, @QueryParam("description2") String description2)
    • addButRollbackExternal

      @POST @Path("butRollbackExternal") public jakarta.ws.rs.core.Response addButRollbackExternal(@QueryParam("description") String description)