Package org.ctan.site.resources.admin
Class CrudLug3Resource
java.lang.Object
org.ctan.site.resources.admin.CrudLug3Resource
The class
CrudLug3Resource contains the CRUD controller for the
LUGs resource.-
Constructor Summary
ConstructorsConstructorDescriptionCrudLug3Resource(@NonNull LugStore store) This is the constructor for the classCrudLug3Resource. -
Method Summary
-
Constructor Details
-
CrudLug3Resource
This is the constructor for the classCrudLug3Resource.- Parameters:
store- the underlying store
-
-
Method Details
-
get
@GET @Path("/lug/{code}") @UnitOfWork("siteDb") public Lug get(@NonNull @PathParam("code") @NonNull String code) The methodretrieveprovides means to retrieve a stop word.- Parameters:
code- the code- Returns:
trueiff 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 methodlistprovides means to retrieve a page of LUGs.- Parameters:
q- the name patternpage- the pagesize- the page sizeorderBy- the orderasc- the indicator for ascending- Returns:
- the page for the LUGs or
null
-