ilog.ds
Interface IlListDataSourceEditor
- All Superinterfaces:
- IlDataSourceEditor
- All Known Implementing Classes:
- IlsListDataSource
- public interface IlListDataSourceEditor
- extends IlDataSourceEditor
List data source Note that the dereferencing is missing.
isElementEditable
public boolean isElementEditable(Object element)
- Returns
false
if the element is read-only.
- Parameters:
element
- The element to test.
dsAddElement
public Object dsAddElement(Map properties)
- Creates a new element in the list.
- Parameters:
properties
- The properties of the element to create- Returns:
- the created element (to be used only as a key). Note that this
method may return
null
if the element takes a long
time to be created.
dsRemoveElement
public void dsRemoveElement(Object element)
- Removes a element from the list.
- Parameters:
element
- The element to be removed
dsUpdateElement
public void dsUpdateElement(Object element,
String propertyName,
Object propertyValue)
- Updates a property of a element.
- Parameters:
element
- The element to updatepropertyName
- The name of the property to be updatedpropertyValue
- The new value of the property