Decision Center API

ilog.rules.teamserver.model
Class CommitEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.rules.teamserver.model.SessionEvent
          extended by ilog.rules.teamserver.model.CommitEvent
All Implemented Interfaces:
Serializable

public class CommitEvent
extends SessionEvent

Used to notify interested parties that an object has been committed in Decision Center.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CommitEvent(IlrSession session, IlrCommitableObject cobject, IlrElementHandle newHandle)
          Constructs a new commit event.
 
Method Summary
 IlrCommitableObject getCommitableObject()
          Gets the committable object that was just committed.
 IlrElementHandle getNewHandle()
           
 
Methods inherited from class ilog.rules.teamserver.model.SessionEvent
getElement, getSession
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommitEvent

public CommitEvent(IlrSession session,
                   IlrCommitableObject cobject,
                   IlrElementHandle newHandle)
Constructs a new commit event.

Parameters:
session - The session associated with the event.
cobject - The committable object that was just committed.
newHandle - The handle of the new element created/updated by the commit. May be null if the commit operation is not yet completed.
Method Detail

getCommitableObject

public IlrCommitableObject getCommitableObject()
Gets the committable object that was just committed.

Returns:
A committable object. Cannot be null.

getNewHandle

public IlrElementHandle getNewHandle()
Returns:
The handle of the new element created/updated by the commit. May be null if the commit operation is not yet completed.

Decision Center API

© Copyright IBM Corp. 1987, 2013