Decision Center API

ilog.rules.teamserver.web.components.property
Class IlrEventContextDefinition

java.lang.Object
  extended by ilog.rules.teamserver.web.components.property.IlrEventContextDefinition

public class IlrEventContextDefinition
extends Object

Represents an Event Context Definition, also known as an Event Flow.


Method Summary
 boolean add(com.ibm.wbe.model.RepRule rule)
          When a Rule is added, the triggering Events plus any Actions are added as well.
protected  String getBody()
           
protected static IlrBrmPackage getBrmPackage()
           
protected static com.ibm.wbe.model.AsAssetContainer getContainer()
           
protected  IlrEventFlow getElementDetails()
           
 String getId()
           
protected  com.ibm.wbe.model.RepProcess getRepObject()
           
protected static ilog.rules.teamserver.model.IlrSessionEx getSession()
           
protected static Locale getUserLocale()
           
 boolean remove(com.ibm.wbe.model.RepRule rule)
          Remove a rule so it's no longer processed as part of this Context Definition.
 String repObjectToString()
           
static String repObjectToString(com.ibm.wbe.model.RepObject asset)
           
 void setBody(com.ibm.wbe.model.RepProcess asset)
           
 void setBody(String body)
           
protected  void setElementDetails(String uuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRepObject

protected com.ibm.wbe.model.RepProcess getRepObject()

getBody

protected String getBody()

setBody

public void setBody(com.ibm.wbe.model.RepProcess asset)

setBody

public void setBody(String body)

getElementDetails

protected IlrEventFlow getElementDetails()

setElementDetails

protected void setElementDetails(String uuid)
                          throws IlrApplicationException
Throws:
IlrApplicationException

getId

public String getId()

add

public boolean add(com.ibm.wbe.model.RepRule rule)
When a Rule is added, the triggering Events plus any Actions are added as well.

Parameters:
rule - What to reference.
Returns:
true if changes were made.

remove

public boolean remove(com.ibm.wbe.model.RepRule rule)
Remove a rule so it's no longer processed as part of this Context Definition. This method can be called for refactoring, when a rule is removed from the context or deleted. Note that you must delete the rule from the project or remove the work-flow reference from the rule, or other methods may automatically re-added the rule to this Context Definition.

Parameters:
rule - The rule to remove.
Returns:
true if the rule was successfully removed.

getUserLocale

protected static Locale getUserLocale()

getContainer

protected static com.ibm.wbe.model.AsAssetContainer getContainer()
                                                          throws IlrApplicationException
Throws:
IlrApplicationException

getBrmPackage

protected static IlrBrmPackage getBrmPackage()

getSession

protected static ilog.rules.teamserver.model.IlrSessionEx getSession()

repObjectToString

public String repObjectToString()

repObjectToString

public static String repObjectToString(com.ibm.wbe.model.RepObject asset)

Decision Center API

© Copyright IBM Corp. 1987, 2013