|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile 11g Release 2 (11.1.2.3.0) E27204-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adfmf.java.beans.ProviderChangeEvent
public class ProviderChangeEvent
A "ProviderChange" event allow collection developers to emit events when a provider is created, updated, or deleted. Please note the convenience methods, but more importantly the absences of primitive types like; boolean, float, and double since those are not conducive to being good keys. Boolean due to the only T/F possible states, float and double because of their inherent precision idiosyncrasies (0.0001 vs 0.00011 vs 1.00E-3 vs 1.10E-3, ..)
Field Summary | |
---|---|
static java.lang.String |
OPERATION_CREATE Create the provider |
static java.lang.String |
OPERATION_DELETE Delete the provider |
static java.lang.String |
OPERATION_PROPAGATED_UPDATE Update the provider as a result of event propagation |
static java.lang.String |
OPERATION_UPDATE Update the provider |
Constructor Summary | |
---|---|
ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, byte currentRowKey, java.lang.Object newValue) Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, char currentRowKey, java.lang.Object newValue) Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, int currentRowKey, java.lang.Object newValue) Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, long currentRowKey, java.lang.Object newValue) Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, java.lang.Object currentRowKey, java.lang.Object newValue) Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, java.lang.Object currentRowKey, java.lang.Object newValue, long timestamp) Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, short currentRowKey, java.lang.Object newValue) Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, java.lang.String columnAttributeName, java.lang.String columnAttributeProperty, java.lang.Object newValue) Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, java.lang.String columnAttributeName, java.lang.String columnAttributeProperty, java.lang.Object newValue, long timestamp) Constructs a new ProviderChangeEvent . |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o) Compare the current provider change event with the one passed in |
java.lang.String |
getColumnAttribute() Get the event's column attribute |
java.lang.Object |
getCurrentRowKey() Get the event's current row key |
java.lang.Object |
getNewValue() Get the event's new value |
java.lang.String |
getOperation() Get the provider change operation |
java.lang.String |
getProviderKey() Get the provider key |
long |
getTimestamp() Get the event's timestamp |
java.lang.String |
toString() Get a simple string representation of the event. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OPERATION_CREATE
public static final java.lang.String OPERATION_DELETE
public static final java.lang.String OPERATION_UPDATE
public static final java.lang.String OPERATION_PROPAGATED_UPDATE
Constructor Detail |
---|
public ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, char currentRowKey, java.lang.Object newValue)
ProviderChangeEvent
.
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_UPDATE
public ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, byte currentRowKey, java.lang.Object newValue)
ProviderChangeEvent
.
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_UPDATE
public ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, int currentRowKey, java.lang.Object newValue)
ProviderChangeEvent
.
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_UPDATE
public ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, long currentRowKey, java.lang.Object newValue)
ProviderChangeEvent
.
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_UPDATE
public ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, short currentRowKey, java.lang.Object newValue)
ProviderChangeEvent
.
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_UPDATE
public ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, java.lang.Object currentRowKey, java.lang.Object newValue)
ProviderChangeEvent
.
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_UPDATE
public ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, java.lang.Object currentRowKey, java.lang.Object newValue, long timestamp)
ProviderChangeEvent
.
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_UPDATE
public ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, java.lang.String columnAttributeName, java.lang.String columnAttributeProperty, java.lang.Object newValue)
ProviderChangeEvent
.
operation
-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_UPDATE
public ProviderChangeEvent(java.lang.String operation, java.lang.String providerKey, java.lang.String columnAttributeName, java.lang.String columnAttributeProperty, java.lang.Object newValue, long timestamp)
ProviderChangeEvent
.
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_UPDATE
Method Detail |
---|
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String getOperation()
public java.lang.String getProviderKey()
public java.lang.String getColumnAttribute()
public java.lang.Object getCurrentRowKey()
public java.lang.Object getNewValue()
public long getTimestamp()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile 11g Release 2 (11.1.2.3.0) E27204-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |