|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectoracle.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 String |
OPERATION_BATCH
|
static String |
OPERATION_CREATE
Create the provider |
static String |
OPERATION_DELETE
Delete the provider |
static String |
OPERATION_DIRTY
Flush the provider from the cache due to ambiguous update |
static String |
OPERATION_PROPAGATED_UPDATE
Update the provider as a result of event propagation |
static String |
OPERATION_UPDATE
Update the provider |
Constructor Summary | |
---|---|
ProviderChangeEvent(String operation,
String providerKey,
byte currentRowKey,
Object newValue)
Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(String operation,
String providerKey,
char currentRowKey,
Object newValue)
Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(String operation,
String providerKey,
int currentRowKey,
Object newValue)
Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(String operation,
String providerKey,
long currentRowKey,
Object newValue)
Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(String operation,
String providerKey,
Object currentRowKey,
Object newValue)
Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(String operation,
String providerKey,
Object currentRowKey,
Object newValue,
long timestamp)
Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(String operation,
String providerKey,
short currentRowKey,
Object newValue)
Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(String operation,
String providerKey,
String columnAttributeName,
String columnAttributeProperty,
Object newValue)
Constructs a new ProviderChangeEvent . |
|
ProviderChangeEvent(String operation,
String providerKey,
String columnAttributeName,
String columnAttributeProperty,
Object newValue,
long timestamp)
Constructs a new ProviderChangeEvent . |
Method Summary | |
---|---|
int |
compareTo(Object o)
Compare the current provider change event with the one passed in |
String |
getColumnAttribute()
Get the event's column attribute |
Object |
getCurrentRowKey()
Get the event's current row key |
Object |
getNewValue()
Get the event's new value |
String |
getOperation()
Get the provider change operation |
String |
getProviderKey()
Get the provider key |
long |
getTimestamp()
Get the event's timestamp |
boolean |
isFullRefresh()
if this is an update with a null row key and not a column attribute change, interpret it as a full refresh |
String |
toString()
Get a simple string representation of the event. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String OPERATION_CREATE
public static final String OPERATION_DELETE
public static final String OPERATION_UPDATE
public static final String OPERATION_PROPAGATED_UPDATE
public static final String OPERATION_DIRTY
public static final String OPERATION_BATCH
Constructor Detail |
---|
public ProviderChangeEvent(String operation, String providerKey, char currentRowKey, 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 providerOPERATION_CREATE
,
OPERATION_DELETE
,
OPERATION_UPDATE
public ProviderChangeEvent(String operation, String providerKey, byte currentRowKey, 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 providerOPERATION_CREATE
,
OPERATION_DELETE
,
OPERATION_UPDATE
public ProviderChangeEvent(String operation, String providerKey, int currentRowKey, 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 providerOPERATION_CREATE
,
OPERATION_DELETE
,
OPERATION_UPDATE
public ProviderChangeEvent(String operation, String providerKey, long currentRowKey, 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 providerOPERATION_CREATE
,
OPERATION_DELETE
,
OPERATION_UPDATE
public ProviderChangeEvent(String operation, String providerKey, short currentRowKey, 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 providerOPERATION_CREATE
,
OPERATION_DELETE
,
OPERATION_UPDATE
public ProviderChangeEvent(String operation, String providerKey, Object currentRowKey, 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 providerOPERATION_CREATE
,
OPERATION_DELETE
,
OPERATION_UPDATE
public ProviderChangeEvent(String operation, String providerKey, Object currentRowKey, 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 changeOPERATION_CREATE
,
OPERATION_DELETE
,
OPERATION_UPDATE
public ProviderChangeEvent(String operation, String providerKey, String columnAttributeName, String columnAttributeProperty, Object newValue)
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 providerOPERATION_CREATE
,
OPERATION_DELETE
,
OPERATION_UPDATE
public ProviderChangeEvent(String operation, String providerKey, String columnAttributeName, String columnAttributeProperty, 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 changeOPERATION_CREATE
,
OPERATION_DELETE
,
OPERATION_UPDATE
Method Detail |
---|
public int compareTo(Object o)
compareTo
in interface Comparable
public String getOperation()
public String getProviderKey()
public String getColumnAttribute()
public Object getCurrentRowKey()
public Object getNewValue()
public long getTimestamp()
public String toString()
toString
in class Object
public boolean isFullRefresh()
|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |