public class Revisions extends PaginationCalculation<String>
| Constructor and Description |
|---|
Revisions() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response |
getPaginatedResults(String[] paths,
int start,
int size,
String sortBy,
String sortOrder) |
javax.ws.rs.core.Response |
getRevisions(String path,
int start,
int size,
String JWTToken)
This method get revisions on the requested resource.
|
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistrypublic javax.ws.rs.core.Response getRevisions(String path, int start, int size, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
path - - Path of the resource in the registrystart - - Starting page numbersize - - Number of records to be retrievedprotected javax.ws.rs.core.Response getPaginatedResults(String[] paths, int start, int size, String sortBy, String sortOrder)
getPaginatedResults in class PaginationCalculation<String>Copyright © 2015 WSO2. All rights reserved.