public class Properties extends PaginationCalculation<PropertyModel>
| Constructor and Description |
|---|
Properties() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addProperties(String resourcePath,
PropertyModel[] addProperty,
String JWTToken)
This method add array of JSON property model for the specified resource
|
protected javax.ws.rs.core.Response |
getPaginatedResults(PropertyModel[] propertyModels,
int start,
int size,
String sortBy,
String sortOrder) |
javax.ws.rs.core.Response |
getProperties(String resourcePath,
int start,
int size,
String JWTToken)
This method get the properties on the requested resource.
|
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistrypublic javax.ws.rs.core.Response getProperties(String resourcePath, int start, int size, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
resourcePath - - Path of the resource in the registry.start - - Starting page number.size - - Number of records to be retrieved.public javax.ws.rs.core.Response addProperties(String resourcePath, PropertyModel[] addProperty, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
resourcePath - - Resource pathaddProperty - - Array of PropertyModel objectsprotected javax.ws.rs.core.Response getPaginatedResults(PropertyModel[] propertyModels, int start, int size, String sortBy, String sortOrder)
getPaginatedResults in class PaginationCalculation<PropertyModel>Copyright © 2015 WSO2. All rights reserved.