@Controller @RequestMapping(value="admin/vcs/repository", produces="application/json") public class VCSRepositoryCRUDController extends CRUDController<VCSRepository,String>
Modifier and Type | Class and Description |
---|---|
static class |
VCSRepositoryCRUDController.VCSRepositoryListItemDTO |
Constructor and Description |
---|
VCSRepositoryCRUDController() |
Modifier and Type | Method and Description |
---|---|
protected CRUDService<VCSRepository> |
getCRUDService()
getCRUDService.
|
Iterable<VCSRepository> |
getObjects(int offset,
int limit)
Get a (potentially paginated) list of objects
|
deleteObject, getObject, saveObject, updateObject
protected CRUDService<VCSRepository> getCRUDService()
getCRUDService.
getCRUDService
in class CRUDController<VCSRepository,String>
CRUDService
object.public Iterable<VCSRepository> getObjects(@RequestParam(value="offset",defaultValue="0") int offset, @RequestParam(value="limit",defaultValue="-1") int limit)
getObjects
in class CRUDController<VCSRepository,String>
offset
- the page number to get (0 by default is the first page)limit
- the maximum number of entries in the page of results ( > 0 to activate pagination,
-1 thus everything by default )Copyright © 2011–2016 eXo Platform SAS. All rights reserved.