public interface IManageServicesService
IConfigureServiceUIService.
| Modifier and Type | Method and Description |
|---|---|
String |
addService(String info)
Method to add a new service to the repository.
|
boolean |
canChange(String path)
Method to determine whether the given user can make changes to a service at the given
resource path.
|
String |
editService(String name)
Method to obtain the content of the service by the given name for editing.
|
String |
getServiceConfiguration()
Method to obtain the service configuration.
|
String |
getServicePath()
Method to obtain the path at which services are stored on the repository.
|
boolean |
saveServiceConfiguration(String content)
Method to update the service configuration of a service
|
boolean canChange(String path) throws Exception
path - the resource path.Exception - if the operation failed due to an unexpected error.String addService(String info) throws org.wso2.carbon.registry.core.exceptions.RegistryException
info - the service details that will be added.org.wso2.carbon.registry.core.exceptions.RegistryException - if the operation failed due to an unexpected error.String editService(String name) throws org.wso2.carbon.registry.core.exceptions.RegistryException
name - the name of the service to edit.org.wso2.carbon.registry.core.exceptions.RegistryException - if the operation failed.String getServicePath() throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException - if the operation failed.String getServiceConfiguration() throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException - if the operation failed.boolean saveServiceConfiguration(String content) throws org.wso2.carbon.registry.core.exceptions.RegistryException
content - the content of the configorg.wso2.carbon.registry.core.exceptions.RegistryException - if the operation failed.Copyright © 2020 WSO2. All Rights Reserved.