public interface UpdateContext extends RuleContext
UpdateContext
represents the context used in an Update-Rule, Update and UpdateFinal
It contains the BusinessObject
that has been changed at runtime and several functions like caching
RuleContext
Modifier and Type | Method and Description |
---|---|
<T extends BusinessObject> |
getBusinessObject(java.lang.Class<T> t)
This method returns the
BusinessObject containing the entry-data that has been changed
during runtime. |
<T extends GenericBusinessObject> |
getGenericBusinessObject(java.lang.Class<T> t)
This method returns the
GenericBusinessObject containing the entry-data that has been changed
during runtime. |
boolean |
isCollectiveProcessing()
Returns true if update is called from a collective process ("Sammelbearbeitung").
|
void |
notify(java.lang.String message)
Creates a message with a
Priority . |
void |
notify(java.lang.String message,
Priority prio)
Creates a message with a
Priority . |
addContextCacheValue, getContextCacheValue, getLanguage, getUser, removeContextCacheValue
log, logError, logWarn
<T extends BusinessObject> T getBusinessObject(java.lang.Class<T> t)
BusinessObject
containing the entry-data that has been changed
during runtime.t
- Classtype being a BusinessObject
BusinessObject
<T extends GenericBusinessObject> T getGenericBusinessObject(java.lang.Class<T> t) throws BusinessException
GenericBusinessObject
containing the entry-data that has been changed
during runtime.t
- Classtype being a GenericBusinessObject
GenericBusinessObject
extending GenericBusinessObject
BusinessException
boolean isCollectiveProcessing()
void notify(java.lang.String message, Priority prio)
Priority
. The message is displayed
in the notification dialog in nuclos. Please check class Priority to get more
information about the priority-handling.message
- prio
- void notify(java.lang.String message)
Priority
. The message is displayed
in the notification dialog in nuclos as a message with priority 'normal'. Please check class Priority to get more
information about the priority-handling.message
- Copyright © 2024. All rights reserved.