|
||||||||||
| 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,RetentionBean>
Provides functionality to manage resource properties.
| Method Summary | |
|---|---|
PropertiesBean |
getProperties(String path,
String viewProps)
Method to return all the properties of a given resource. |
RetentionBean |
getRetentionProperties(String path)
Method to get resource retention 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. |
boolean |
setRetentionProperties(String path,
RetentionBean bean)
Method to set resource retention properties of a resource |
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.
RetentionBean getRetentionProperties(String path)
throws org.wso2.carbon.registry.core.exceptions.RegistryException
path - path of the resource
org.wso2.carbon.registry.core.exceptions.RegistryException
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.
boolean setRetentionProperties(String path,
RetentionBean bean)
throws org.wso2.carbon.registry.core.exceptions.RegistryException
path - Path of the resourcebean - RetentionBean which encapsulates retention properties
org.wso2.carbon.registry.core.exceptions.RegistryException
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 | |||||||||