public interface MutableVersionOperationModel extends VersionOperationModel
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(java.util.Collection collection)  | 
void | 
remove(java.util.Collection collection)  | 
void | 
replace(java.util.Collection collection)  | 
void | 
setComplete(boolean complete)
Set whether this model is complete when building asynchronously. 
 | 
void | 
setProperties(int startIndex, java.util.Collection propertyCollection)
Set properties for a contiguous set of items in the model, firing a single event. 
 | 
void | 
setProperties(int itemIndex, java.util.Map properties)
Set the properties for a single item in the model, firing appropriate events. 
 | 
void | 
setProperty(int itemIndex, DisplayProperty property, java.lang.Object value)
Set a single property for an item in the model, firing appropriate events. 
 | 
void | 
update(java.util.Collection collection)  | 
addVersionOperationModelListener, getCategory, getCount, getItem, getItems, getProperties, getPropertyValue, isComplete, removeVersionOperationListenervoid add(java.util.Collection collection)
void remove(java.util.Collection collection)
void update(java.util.Collection collection)
void replace(java.util.Collection collection)
void setComplete(boolean complete)
isComplete - whether the model is fully constructed
void setProperties(int itemIndex,
                 java.util.Map properties)
itemIndex - the index of the item to set properties forproperties - a Map of DisplayProperty keys (which must be in the list of properties for this model), and Object values.
void setProperty(int itemIndex,
               DisplayProperty property,
               java.lang.Object value)
setProperty in interface VersionOperationModelitemIndex - the index of the item to set a property forproperty - the property to setvalue - the value to set it to
void setProperties(int startIndex,
                 java.util.Collection propertyCollection)
startIndex - the first model index whose properties are being setpropertyCollection - a collection of Map instances. Each map is the set of properties for a displayable in the model.