Interface FIQLQueryService

All Superinterfaces:
JAXRSService
All Known Implementing Classes:
FIQLQueryServiceImpl

@Path("fiqlQueries") public interface FIQLQueryService extends JAXRSService
REST operations for FIQL queries.
  • Method Details

    • list

      @GET @Produces({"application/json","application/yaml","application/xml"}) List<FIQLQueryTO> list(@QueryParam("target") String target)
      Returns a list of all FIQL queries for the calling user, matching the given target if provided.
      Parameters:
      target - FIQL query target
      Returns:
      list of all FIQL queries for the calling user, matching the given target if provided
    • read

      @GET @Path("{key}") @Produces({"application/json","application/yaml","application/xml"}) FIQLQueryTO read(@NotNull @PathParam("key") @NotNull String key)
      Returns FIQL querywith matching key.
      Parameters:
      key - FIQL querykey to be read
      Returns:
      FIQL querywith matching key
    • create

      @POST @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) Response create(@NotNull @NotNull FIQLQueryTO fiqlQueryTO)
      Creates a new fiqlQuery.
      Parameters:
      fiqlQueryTO - FIQL queryto be created
      Returns:
      Response object featuring Location header of created fiqlQuery
    • update

      @PUT @Path("{key}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void update(@NotNull @NotNull FIQLQueryTO fiqlQueryTO)
      Updates the FIQL querymatching the provided key.
      Parameters:
      fiqlQueryTO - FIQL queryto be stored
    • delete

      @DELETE @Path("{key}") @Produces({"application/json","application/yaml","application/xml"}) void delete(@NotNull @PathParam("key") @NotNull String key)
      Deletes the FIQL querymatching the provided key.
      Parameters:
      key - FIQL querykey to be deleted