public class ProviderChangeSupport
extends Object
| Constructor and Description | 
|---|
| ProviderChangeSupport(Object source)Constructs a  ProviderChangeSupportobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| ProviderChangeListener[] | accessDataChangeListeners()Intentionally not using 'get' semantics here, to prevent conflicts with the
 JSON serialization of this method. | 
| void | addProviderChangeListener(ProviderChangeListener listener)Add a ProviderChangeListener to the listener list. | 
| void | fireProviderChange(ProviderChangeEvent evt)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String providerKey,
                  byte currentRowKey,
                  Object newValue)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String providerKey,
                  char currentRowKey,
                  Object newValue)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String providerKey,
                  int currentRowKey,
                  Object newValue)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String providerKey,
                  long currentRowKey,
                  Object newValue)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String providerKey,
                  Object currentRowKey,
                  Object newValue)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String providerKey,
                  short currentRowKey,
                  Object newValue)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String operation,
                  String providerKey,
                  Object currentRowKey,
                  Object newValue)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String operation,
                  String providerKey,
                  Object currentRowKey,
                  Object newValue,
                  long timestamp)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String operation,
                  String providerKey,
                  String columnAttributeName,
                  String columnAttributeProperty,
                  Object newValue)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderChange(String operation,
                  String providerKey,
                  String columnAttributeName,
                  String columnAttributeProperty,
                  Object newValue,
                  long timestamp)Fire an existing ProviderChangeEvent to any registered listeners. | 
| void | fireProviderCreate(String providerKey,
                  byte newRowKey,
                  Object newValue)Convenience method to notify registered provider listeners that
 a child element is being added from the provider. | 
| void | fireProviderCreate(String providerKey,
                  char newRowKey,
                  Object newValue)Convenience method to notify registered provider listeners that
 a child element is being added from the provider. | 
| void | fireProviderCreate(String providerKey,
                  int newRowKey,
                  Object newValue)Convenience method to notify registered provider listeners that
 a child element is being added from the provider. | 
| void | fireProviderCreate(String providerKey,
                  long newRowKey,
                  Object newValue)Convenience method to notify registered provider listeners that
 a child element is being added from the provider. | 
| void | fireProviderCreate(String providerKey,
                  Object newRowKey,
                  Object newValue)Convenience method to notify registered provider listeners that
 a child element is being added from the provider. | 
| void | fireProviderCreate(String providerKey,
                  short newRowKey,
                  Object newValue)Convenience method to notify registered provider listeners that
 a child element is being added from the provider. | 
| void | fireProviderDelete(String providerKey,
                  byte oldRowKey)Convenience method to notify registered provider listeners that
 a child element is being removed from the provider. | 
| void | fireProviderDelete(String providerKey,
                  char oldRowKey)Convenience method to notify registered provider listeners that
 a child element is being removed from the provider. | 
| void | fireProviderDelete(String providerKey,
                  int oldRowKey)Convenience method to notify registered provider listeners that
 a child element is being removed from the provider. | 
| void | fireProviderDelete(String providerKey,
                  long oldRowKey)Convenience method to notify registered provider listeners that
 a child element is being removed from the provider. | 
| void | fireProviderDelete(String providerKey,
                  Object oldRowKey)Convenience method to notify registered provider listeners that
 a child element is being removed from the provider. | 
| void | fireProviderDelete(String providerKey,
                  short oldRowKey)Convenience method to notify registered provider listeners that
 a child element is being removed from the provider. | 
| void | fireProviderRefresh(String providerKey)Convenience method to notify registered provider listeners that
 a the providers have changed enough that it would be best to simply
 purge the children from their caches and re-fetch on the query. | 
| ProviderChangeListener[] | getProviderChangeListeners()Get the registered provider change listeners | 
| boolean | hasListeners()Return true if there are any registered data change listeners | 
| void | removeProviderChangeListener(ProviderChangeListener listener)Remove a ProviderChangeListener from the listener list. | 
public ProviderChangeSupport(Object source)
ProviderChangeSupport object.source - The collection to be given as the source for any events.public ProviderChangeListener[] accessDataChangeListeners()
public void addProviderChangeListener(ProviderChangeListener listener)
listener - The ProviderChangeListener to be addedpublic void fireProviderChange(ProviderChangeEvent evt)
evt - The ProviderChangeEvent object.public void fireProviderChange(String providerKey,
                               byte currentRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.currentRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderChange(String providerKey,
                               char currentRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.currentRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderChange(String providerKey,
                               int currentRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.currentRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderChange(String providerKey,
                               long currentRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.currentRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderChange(String providerKey,
                               Object currentRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.currentRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderChange(String providerKey,
                               short currentRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.currentRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderChange(String operation,
                               String providerKey,
                               Object currentRowKey,
                               Object newValue)
operation - associated ProviderChangeEvent operationproviderKey - The programmatic name of the provider that was changed.currentRowKey - The unique key to access the changed providernewValue - The new value for the providerProviderChangeEvent.OPERATION_CREATE, 
ProviderChangeEvent.OPERATION_DELETE, 
ProviderChangeEvent.OPERATION_UPDATEpublic void fireProviderChange(String operation,
                               String providerKey,
                               Object currentRowKey,
                               Object newValue,
                               long timestamp)
operation - associated ProviderChangeEvent operationproviderKey - The programmatic name of the provider that was changed.currentRowKey - The unique key to access the changed providernewValue - The new value for the providertimestamp - The timestamp associated with the changeProviderChangeEvent.OPERATION_CREATE, 
ProviderChangeEvent.OPERATION_DELETE, 
ProviderChangeEvent.OPERATION_UPDATEpublic void fireProviderChange(String operation,
                               String providerKey,
                               String columnAttributeName,
                               String columnAttributeProperty,
                               Object newValue)
operation - associated ProviderChangeEvent operationproviderKey - The programmatic name of the provider that was changed.columnAttributeName - The programmatic attribute name of the attribute that changedcolumnAttributeProperty - The programmatic attribute property name of the attribute that changednewValue - The new value for the providerProviderChangeEvent.OPERATION_CREATE, 
ProviderChangeEvent.OPERATION_DELETE, 
ProviderChangeEvent.OPERATION_UPDATEpublic void fireProviderChange(String operation,
                               String providerKey,
                               String columnAttributeName,
                               String columnAttributeProperty,
                               Object newValue,
                               long timestamp)
operation - associated ProviderChangeEvent operationproviderKey - The programmatic name of the provider that was changed.columnAttributeName - The programmatic attribute name of the attribute that changedcolumnAttributeProperty - The programmatic attribute property name of the attribute that changednewValue - The new value for the providertimestamp - The timestamp associated with the changeProviderChangeEvent.OPERATION_CREATE, 
ProviderChangeEvent.OPERATION_DELETE, 
ProviderChangeEvent.OPERATION_UPDATEpublic void fireProviderCreate(String providerKey,
                               byte newRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.newRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderCreate(String providerKey,
                               char newRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.newRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderCreate(String providerKey,
                               int newRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.newRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderCreate(String providerKey,
                               long newRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.newRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderCreate(String providerKey,
                               Object newRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.newRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderCreate(String providerKey,
                               short newRowKey,
                               Object newValue)
providerKey - The programmatic name of the provider that was changed.newRowKey - The unique key to access the changed providernewValue - The new value for the providerpublic void fireProviderDelete(String providerKey,
                               byte oldRowKey)
providerKey - The programmatic name of the provider that was changed.oldRowKey - The old value for the providerpublic void fireProviderDelete(String providerKey,
                               char oldRowKey)
providerKey - The programmatic name of the provider that was changed.oldRowKey - The old value for the providerpublic void fireProviderDelete(String providerKey,
                               int oldRowKey)
providerKey - The programmatic name of the provider that was changed.oldRowKey - The old value for the providerpublic void fireProviderDelete(String providerKey,
                               long oldRowKey)
providerKey - The programmatic name of the provider that was changed.oldRowKey - The old value for the providerpublic void fireProviderDelete(String providerKey,
                               Object oldRowKey)
providerKey - The programmatic name of the provider that was changed.oldRowKey - The old value for the providerpublic void fireProviderDelete(String providerKey,
                               short oldRowKey)
providerKey - The programmatic name of the provider that was changed.oldRowKey - The old value for the providerpublic void fireProviderRefresh(String providerKey)
providerKey - The programmatic name of the provider that was changed.public ProviderChangeListener[] getProviderChangeListeners()
public boolean hasListeners()
public void removeProviderChangeListener(ProviderChangeListener listener)
listener - The ProviderChangeListener to be removed