public interface IExecutionContext
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCK_ALL_FIELDS |
Modifier and Type | Method and Description |
---|---|
void |
acquireLock(Handle handle)
This method replaces acquireLock(Handle handle, String name) method
|
void |
acquireLock(Handle handle,
java.lang.String name)
Deprecated.
use acquireLock(Handle handle) instead.
|
int |
getOnBehalfOfUserID()
This method provides ID of the user who has initiated the
procedure execution in a triggered environment.
|
IPlanAPI |
getPlanAPI()
This method provides an interface to invoke all UMO public APIs
|
TriggerEventTypeEnum |
getTriggerEvent()
This method provides a triggered procedure with the Event that caused the trigger
Returns null if not fired from a trigger
|
Handle |
getTriggerHandle()
This method provides a triggered procedure with the object that caused the trigger
Returns null if not fired from a trigger
|
int |
getUserID()
This method provides ID of the user who is invoking the procedure.
|
boolean |
isTriggerContext()
This method notifies user if this invocation is initiated by a trigger
or external API call over web-service.
|
void |
logError(java.lang.String message) |
void |
logError(java.lang.String message,
java.lang.Exception exception) |
void |
logInfo(java.lang.String message) |
void |
logWarning(java.lang.String message) |
void |
logWarning(java.lang.String message,
java.lang.Exception exception) |
void |
releaseAllLocks() |
void |
releaseLock(Handle handle)
This method replaces releaseLock(Handle handle, String name) method
|
void |
releaseLock(Handle handle,
java.lang.String name)
Deprecated.
use releaseLock(Handle handle) instead.
|
static final java.lang.String LOCK_ALL_FIELDS
IPlanAPI getPlanAPI()
int getUserID()
int getOnBehalfOfUserID()
boolean isTriggerContext()
TriggerEventTypeEnum getTriggerEvent()
Handle getTriggerHandle()
void acquireLock(Handle handle, java.lang.String name) throws LockInUseException, InvalidLockException, InvalidHandleException
handle
- name
- LockInUseException
InvalidLockException
InvalidHandleException
void acquireLock(Handle handle) throws LockInUseException, InvalidLockException, InvalidHandleException
handle
- LockInUseException
InvalidLockException
InvalidHandleException
void releaseLock(Handle handle, java.lang.String name) throws InvalidLockException, InvalidHandleException
handle
- name
- InvalidLockException
InvalidHandleException
void releaseLock(Handle handle) throws InvalidLockException, InvalidHandleException
handle
- InvalidLockException
InvalidHandleException
void releaseAllLocks()
void logInfo(java.lang.String message)
void logWarning(java.lang.String message)
void logWarning(java.lang.String message, java.lang.Exception exception)
void logError(java.lang.String message)
void logError(java.lang.String message, java.lang.Exception exception)