com.ibm.eismocker.rmidriver
Interface IDataObjectStore

All Superinterfaces:
java.rmi.Remote

public interface IDataObjectStore
extends java.rmi.Remote

An interface which extends Remote interface and provides a RMI-based data exchange method between RMIObjectServer and RMIObjectClient.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 void deleteEvent(java.lang.String eventId)
          Delete the specified event
 DataMap getDataMapForEvent(java.lang.String eventId)
          Get the corresponding DataMap for the specified event id
 java.util.ArrayList<EisEvent> getEvents()
          Get a list of the events whose event status is 0
 DataMap sendDataMap(DataMap dataMap, java.lang.String operation)
          Send the DataMap object to the EIS Mocker, and then get the returned DataMap object from EIS Mocker
 void updateEventStatus(java.lang.String eventId, int status)
          Update the status of the specified event with the new status value
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

getEvents

java.util.ArrayList<EisEvent> getEvents()
                                        throws java.rmi.RemoteException
Get a list of the events whose event status is 0

Returns:
ArrayList The list of EisEvent
Throws:
java.rmi.RemoteException

getDataMapForEvent

DataMap getDataMapForEvent(java.lang.String eventId)
                           throws java.rmi.RemoteException
Get the corresponding DataMap for the specified event id

Parameters:
eventId - The event id
Returns:
DataMap
Throws:
java.rmi.RemoteException

updateEventStatus

void updateEventStatus(java.lang.String eventId,
                       int status)
                       throws java.rmi.RemoteException
Update the status of the specified event with the new status value

Parameters:
eventId - The event id
status - New status code.
Throws:
java.rmi.RemoteException

deleteEvent

void deleteEvent(java.lang.String eventId)
                 throws java.rmi.RemoteException
Delete the specified event

Parameters:
eventId - The event id
Throws:
java.rmi.RemoteException

sendDataMap

DataMap sendDataMap(DataMap dataMap,
                    java.lang.String operation)
                    throws java.rmi.RemoteException
Send the DataMap object to the EIS Mocker, and then get the returned DataMap object from EIS Mocker

Parameters:
dataMap - The DataMap data
operation - The corresponding operation type for the DataMap
Returns:
return DataMap
Throws:
java.rmi.RemoteException