@Controller @RequestMapping(value="admin/credential", produces="application/json") public class CredentialCRUDController extends CRUDController<Credential,String>
Modifier and Type | Class and Description |
---|---|
static class |
CredentialCRUDController.CredentialListItemDTO |
Constructor and Description |
---|
CredentialCRUDController() |
Modifier and Type | Method and Description |
---|---|
protected CRUDService<Credential> |
getCRUDService()
getCRUDService.
|
Iterable<Credential> |
getObjects(int offset,
int limit)
Get a (potentially paginated) list of objects
|
deleteObject, getObject, saveObject, updateObject
protected CRUDService<Credential> getCRUDService()
getCRUDService.
getCRUDService
in class CRUDController<Credential,String>
CRUDService
object.public Iterable<Credential> getObjects(@RequestParam(value="offset",defaultValue="0") int offset, @RequestParam(value="limit",defaultValue="-1") int limit)
getObjects
in class CRUDController<Credential,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.