|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.registry.rest.api.RegistryRestSuper
org.wso2.carbon.registry.rest.api.PaginationCalculation<org.wso2.carbon.registry.core.Tag>
org.wso2.carbon.registry.rest.api.Tags
public class Tags
| Constructor Summary | |
|---|---|
Tags()
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
addTags(String resourcePath,
TagModel tags,
String JWTToken)
This method add array of tags to the specified resource |
protected javax.ws.rs.core.Response |
getPaginatedResults(org.wso2.carbon.registry.core.Tag[] tags,
int start,
int size,
String sortBy,
String sortOrder)
|
javax.ws.rs.core.Response |
getTags(String resourcePath,
int start,
int size,
String JWTToken)
This method tags associated with the given resource |
| Methods inherited from class org.wso2.carbon.registry.rest.api.RegistryRestSuper |
|---|
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tags()
| Method Detail |
|---|
public javax.ws.rs.core.Response getTags(String resourcePath,
int start,
int size,
@HeaderParam(value="X-JWT-Assertion")
String JWTToken)
resourcePath - resource pathstart - starting page numbersize - number of tags to be fetched
public javax.ws.rs.core.Response addTags(String resourcePath,
TagModel tags,
@HeaderParam(value="X-JWT-Assertion")
String JWTToken)
resourcePath - - Resource pathtags - - eg:{"tags":[
protected javax.ws.rs.core.Response getPaginatedResults(org.wso2.carbon.registry.core.Tag[] tags,
int start,
int size,
String sortBy,
String sortOrder)
getPaginatedResults in class PaginationCalculation<org.wso2.carbon.registry.core.Tag>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||