public final class ExecutionContextOnTrigger extends Object
Constructor and Description |
---|
ExecutionContextOnTrigger() |
Modifier and Type | Method and Description |
---|---|
com.orchestranetworks.service.ProcedureContext |
getProcedureContext()
Returns the
ProcedureContext . |
com.orchestranetworks.service.Session |
getSession()
Returns the
Session . |
com.orchestranetworks.instance.ValueContext |
getValueContext()
Returns the
ValueContext . |
com.orchestranetworks.service.ValueContextForUpdate |
getValueContextForUpdate()
Returns the
ValueContextForUpdate or null if
the value context, which is set by method
setValueContext(com.orchestranetworks.instance.ValueContext) , is not a
ValueContextForUpdate instance. |
Hook |
getWhen()
Returns the event from which the rule is executed.
|
void |
setProcedureContext(com.orchestranetworks.service.ProcedureContext pContext)
Defines the
ProcedureContext . |
void |
setSession(com.orchestranetworks.service.Session session)
Defines the
Session . |
void |
setValueContext(com.orchestranetworks.instance.ValueContext valueContext)
Defines the
ValueContext . |
void |
setWhen(Hook when)
Defines the event from which the rule is executed.
|
public com.orchestranetworks.service.ProcedureContext getProcedureContext()
ProcedureContext
.public com.orchestranetworks.instance.ValueContext getValueContext()
ValueContext
.public com.orchestranetworks.service.ValueContextForUpdate getValueContextForUpdate()
ValueContextForUpdate
or null
if
the value context, which is set by method
setValueContext(com.orchestranetworks.instance.ValueContext)
, is not a
ValueContextForUpdate instance.public Hook getWhen()
public void setProcedureContext(com.orchestranetworks.service.ProcedureContext pContext)
ProcedureContext
.public void setValueContext(com.orchestranetworks.instance.ValueContext valueContext)
ValueContext
.public void setWhen(Hook when)
public void setSession(com.orchestranetworks.service.Session session)
Session
.public com.orchestranetworks.service.Session getSession()
Session
. This session is provided for purpose of
getting user information only. It must not be used to create or update
data.