public class CustomUIServiceClient extends Object
Constructor and Description |
---|
CustomUIServiceClient(javax.servlet.ServletConfig config,
javax.servlet.http.HttpSession session) |
CustomUIServiceClient(String cookie,
String backendServerURL,
org.apache.axis2.context.ConfigurationContext configContext) |
Modifier and Type | Method and Description |
---|---|
void |
addTextContent(String parentPath,
String resourceName,
String mediaType,
String description,
String content) |
String |
getTextContent(String path) |
boolean |
isAuthorized(String path,
String action)
Checks whether the currently logged in user is authorized to perform the given action on the
given path.
|
void |
updateTextContent(String path,
String content) |
public CustomUIServiceClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configContext) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public CustomUIServiceClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public void updateTextContent(String path, String content) throws Exception
Exception
public void addTextContent(String parentPath, String resourceName, String mediaType, String description, String content) throws Exception
Exception
public boolean isAuthorized(String path, String action) throws Exception
path
- Path of the resource or collectionaction
- Action to check the authorizationException
Copyright © 2015 WSO2. All rights reserved.