|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PropertiesBean
- This bean contains a list of properties, for a given resource.public interface IPropertiesAdminService<PropertiesBean>
Provides functionality to search inside resource content.
Method Summary | |
---|---|
PropertiesBean |
getProperties(String path,
String viewProps)
Method to return all the properties of a given resource. |
void |
removeProperty(String path,
String name)
Method to remove property. |
void |
setProperty(String path,
String name,
String value)
Method to add a property, if there already exist a property with the same name, this will add the value to the existing property name. |
void |
updateProperty(String path,
String name,
String value,
String oldName)
Method to update a property (This removes the old property with the oldName) |
Method Detail |
---|
PropertiesBean getProperties(String path, String viewProps) throws org.wso2.carbon.registry.core.exceptions.RegistryException
path
- path of the resource.viewProps
- currently supported values "true", "false". if "true" show system
properties.
org.wso2.carbon.registry.core.exceptions.RegistryException
- throws if there is an error.void setProperty(String path, String name, String value) throws org.wso2.carbon.registry.core.exceptions.RegistryException
path
- path of the resource.name
- property name.value
- property value.
org.wso2.carbon.registry.core.exceptions.RegistryException
- throws if there is an error.void updateProperty(String path, String name, String value, String oldName) throws org.wso2.carbon.registry.core.exceptions.RegistryException
path
- path of the resource.name
- property name.value
- property value.oldName
- old name of the property.
org.wso2.carbon.registry.core.exceptions.RegistryException
- throws if there is an error.void removeProperty(String path, String name) throws org.wso2.carbon.registry.core.exceptions.RegistryException
path
- path of the resource.name
- property name.
org.wso2.carbon.registry.core.exceptions.RegistryException
- throws if there is an error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |