|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IManageServicesService
This provides functionality to manage services stored on the repository. The content of the
service managed, depends on the configuration of the service user interface which can be defined
through IConfigureServiceUIService
.
Statistics:
Method Summary | |
---|---|
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 |
Method Detail |
---|
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 config
org.wso2.carbon.registry.core.exceptions.RegistryException
- if the operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |