Class CrudLug3Resource

java.lang.Object
org.ctan.site.resources.admin.CrudLug3Resource

@Path("/3.0/admin") @Produces("application/json") public class CrudLug3Resource extends Object
The class CrudLug3Resource contains the CRUD controller for the LUGs resource.
  • Constructor Details

    • CrudLug3Resource

      public CrudLug3Resource(@NonNull @NonNull LugStore store)
      This is the constructor for the class CrudLug3Resource.
      Parameters:
      store - the underlying store
  • Method Details

    • get

      @GET @Path("/lug/{code}") @UnitOfWork("siteDb") public Lug get(@NonNull @PathParam("code") @NonNull String code)
      The method retrieve provides means to retrieve a stop word.
      Parameters:
      code - the code
      Returns:
      true iff the user exists
    • list

      @GET @Path("/lugs") @UnitOfWork("siteDb") public GeneralPage list(@QueryParam("q") String q, @QueryParam("page") int page, @QueryParam("size") int size, @QueryParam("order") String orderBy, @QueryParam("asc") boolean asc)
      The method list provides means to retrieve a page of LUGs.
      Parameters:
      q - the name pattern
      page - the page
      size - the page size
      orderBy - the order
      asc - the indicator for ascending
      Returns:
      the page for the LUGs or null