public class Property extends RegistryRestSuper
| Constructor and Description |
|---|
Property() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addProperty(String resourcePath,
String name,
String value,
String JWTToken)
This method add array of JSON property model for the specified resource
|
javax.ws.rs.core.Response |
deleteProperty(String resourcePath,
String name,
String JWTToken)
This method delete the specified property of the resource
|
javax.ws.rs.core.Response |
getProperty(String resourcePath,
String propertyName,
String JWTToken)
Method retrieves the specified property for the given resource
|
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistrypublic javax.ws.rs.core.Response getProperty(String resourcePath, String propertyName, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
resourcePath - - Resource path in the registry spacepropertyName - - Name of the property to be fetchedpublic javax.ws.rs.core.Response addProperty(String resourcePath, String name, String value, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
resourcePath - - resource pathname - - property namevalue - - property valuepublic javax.ws.rs.core.Response deleteProperty(String resourcePath, String name, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
resourcePath - - path of the resourcename - - property name to be deletedCopyright © 2015 WSO2. All rights reserved.