@Unstable
public interface LiveDataPropertyResource
Modifier and Type | Method and Description |
---|---|
void |
deleteProperty(String sourceId,
String namespace,
String propertyId)
Deletes a live data property.
|
PropertyDescriptor |
getProperty(String sourceId,
String namespace,
String propertyId)
Provides information about a live data property.
|
javax.ws.rs.core.Response |
updateProperty(String sourceId,
String namespace,
String propertyId,
PropertyDescriptor propertyDescriptor)
Updates the descriptor of a live data property.
|
PropertyDescriptor getProperty(String sourceId, String namespace, String propertyId) throws Exception
sourceId
- indicates the LiveDataSource
component implementationnamespace
- the component manager name-space where to look for LiveDataSource
implementations; if
not specified then the context / current name-space is usedpropertyId
- identifies the live data propertyException
- if retrieving the property failsjavax.ws.rs.core.Response updateProperty(String sourceId, String namespace, String propertyId, PropertyDescriptor propertyDescriptor) throws Exception
sourceId
- indicates the LiveDataSource
component implementationnamespace
- the component manager name-space where to look for LiveDataSource
implementations; if
not specified then the context / current name-space is usedpropertyId
- identifies the live data property to updatepropertyDescriptor
- the updated descriptor of the specified propertyException
- if updating the property failsvoid deleteProperty(String sourceId, String namespace, String propertyId) throws Exception
sourceId
- indicates the LiveDataSource
component implementationnamespace
- the component manager name-space where to look for LiveDataSource
implementations; if
not specified then the context / current name-space is usedpropertyId
- identifies the live data property to deleteException
- if deleting the specified property failsCopyright © 2004–2022 XWiki. All rights reserved.