Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.jdeveloper.vcs.vop
Interface MutableVersionOperationModel

All Superinterfaces:
VersionOperationModel

public interface MutableVersionOperationModel
extends VersionOperationModel

A mutable version of the VersionOperationModel interface. This is intended to be used by vcs clients which hook extra properties into the version operation panel.


Method Summary
 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)
           
 
Methods inherited from interface oracle.jdeveloper.vcs.vop.VersionOperationModel
addVersionOperationModelListener, getCategory, getCount, getItem, getItems, getProperties, getPropertyValue, isComplete, removeVersionOperationListener
 

Method Detail

add

void add(java.util.Collection collection)

remove

void remove(java.util.Collection collection)

update

void update(java.util.Collection collection)

replace

void replace(java.util.Collection collection)

setComplete

void setComplete(boolean complete)
Set whether this model is complete when building asynchronously. This method will fire an event to all listeners to indicate that the completeness of the model has changed.

Parameters:
isComplete - whether the model is fully constructed

setProperties

void setProperties(int itemIndex,
                   java.util.Map properties)
Set the properties for a single item in the model, firing appropriate events. N.b. this doesn't "merge" the properties for the item - any existing properties are overwritten for the item.

Parameters:
itemIndex - the index of the item to set properties for
properties - a Map of DisplayProperty keys (which must be in the list of properties for this model), and Object values.

setProperty

void setProperty(int itemIndex,
                 DisplayProperty property,
                 java.lang.Object value)
Set a single property for an item in the model, firing appropriate events.

Specified by:
setProperty in interface VersionOperationModel
Parameters:
itemIndex - the index of the item to set a property for
property - the property to set
value - the value to set it to

setProperties

void setProperties(int startIndex,
                   java.util.Collection propertyCollection)
Set properties for a contiguous set of items in the model, firing a single event.

Parameters:
startIndex - the first model index whose properties are being set
propertyCollection - a collection of Map instances. Each map is the set of properties for a displayable in the model.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.