Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.2.0)
E17488-03


oracle.adf.view.rich.activedata
Class ActiveDataEventUtil

java.lang.Object
  extended by oracle.adf.view.rich.activedata.ActiveDataEventUtil


public final class ActiveDataEventUtil
extends java.lang.Object

Utility class to convert to an ActiveDataEvent from a raw format.


Method Summary
static ActiveDataExceptionEvent buildActiveDataExceptionEvent(int eventId, ActiveDataExceptionEvent.SeverityType type, java.lang.Throwable exceptionObject)
          builds the ActiveDataExceptionEvent.
static ActiveDataUpdateEvent buildActiveDataUpdateEvent(ActiveDataEntry.ChangeType type, int changeCount, java.lang.Object[] key, java.lang.Object[] insertKey, java.lang.String[] names, java.lang.Object[] values)
          builds the ActiveDataUpdateEvent.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

buildActiveDataUpdateEvent

public static ActiveDataUpdateEvent buildActiveDataUpdateEvent(ActiveDataEntry.ChangeType type,
                                                               int changeCount,
                                                               java.lang.Object[] key,
                                                               java.lang.Object[] insertKey,
                                                               java.lang.String[] names,
                                                               java.lang.Object[] values)
builds the ActiveDataUpdateEvent.
Parameters:
type - the change type of the event, could be UPDATE, INSERT, DELETE, REFRESH, etc
changeCount - the changeCount
key - the key of the row (in the CollectionModel case)
insertKey - the key to indicate the insert position
names - the names of the attributes that have changed
values - the values of the attributes that have changed
Returns:
the ActiveDataUpdateEvent

buildActiveDataExceptionEvent

public static ActiveDataExceptionEvent buildActiveDataExceptionEvent(int eventId,
                                                                     ActiveDataExceptionEvent.SeverityType type,
                                                                     java.lang.Throwable exceptionObject)
builds the ActiveDataExceptionEvent.
Parameters:
eventId - the Id of the event
type - the severity type of the event
exceptionObject - the actual exception object
Returns:
the ActiveDataExceptionEvent

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.2.0)
E17488-03


Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.