Decision Center API

ilog.rules.teamserver.model
Interface SessionListener

All Superinterfaces:
EventListener

public interface SessionListener
extends EventListener

Defines an object which listens for session events.


Method Summary
 void elementCommitted(CommitEvent e)
          Invoked when an object is committed in Decision Center.
 void elementDeleted(DeleteEvent e)
          Invoked when an object is deleted in Decision Center.
 void onCommitElement(CommitEvent e)
          Invoked when an object is going to be committed in Decision Center.
 void onDeleteElement(DeleteEvent e)
          Invoked when an object is going to be deleted in Decision Center.
 

Method Detail

elementCommitted

void elementCommitted(CommitEvent e)
                      throws IlrApplicationException
Invoked when an object is committed in Decision Center.

Throws:
IlrObjectNotFoundException - if the CommitEvent object cannot be found in the database.
IlrApplicationException
Parameters:
e - A CommitEvent object.

elementDeleted

void elementDeleted(DeleteEvent e)
                    throws IlrObjectNotFoundException
Invoked when an object is deleted in Decision Center.

Throws:
IlrObjectNotFoundException - if the DeleteEvent object cannot be found in the database.
Parameters:
e - A DeleteEvent object.

onCommitElement

void onCommitElement(CommitEvent e)
                     throws IlrApplicationException
Invoked when an object is going to be committed in Decision Center.

Throws:
IlrApplicationException - For instance, an IlrInvalidElementException is thrown if CommitEvent object is invalid, such as the name of the project element being null.
Parameters:
e - A CommitEvent object.

onDeleteElement

void onDeleteElement(DeleteEvent e)
                     throws IlrApplicationException
Invoked when an object is going to be deleted in Decision Center.

Throws:
IlrApplicationException - for instance, an IlrObjectNotFoundException if the DeleteEvent object cannot be found in the database.
Parameters:
e - A DeleteEvent object.

Decision Center API

© Copyright IBM Corp. 1987, 2013