| Constructor and Description |
|---|
RegistryRestSuper() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getBegin() |
protected int |
getEnd() |
protected int |
getPageSize() |
protected String |
getResourcePath(List<javax.ws.rs.core.PathSegment> path)
This method calculates the string literal of the requested path of the
resource.
|
protected String |
getTenantID() |
protected org.wso2.carbon.registry.core.session.UserRegistry |
getUserRegistry() |
protected org.wso2.carbon.registry.core.Registry |
getUserRegistry(String username,
int tenantID)
This method creates the registry instance belongs to the particular user
to isolate from other users among the tenant.
|
protected void |
setBegin(int begin) |
protected void |
setEnd(int end) |
protected void |
setPageSize(int pageSize) |
protected void |
setUserRegistry(org.wso2.carbon.registry.core.session.UserRegistry userRegistry) |
protected org.wso2.carbon.registry.core.Registry getUserRegistry(String username, int tenantID)
username - username of the authorized enduser belongs to the access tokentenantID - tenantID of the authorized enduser belongs to the access tokenprotected String getResourcePath(List<javax.ws.rs.core.PathSegment> path)
path - list of path segment (eg: <_system,governance,sample.xml>protected org.wso2.carbon.registry.core.session.UserRegistry getUserRegistry()
protected void setUserRegistry(org.wso2.carbon.registry.core.session.UserRegistry userRegistry)
protected int getPageSize()
protected void setPageSize(int pageSize)
protected int getBegin()
protected void setBegin(int begin)
protected int getEnd()
protected void setEnd(int end)
protected String getTenantID()
Copyright © 2015 WSO2. All rights reserved.