public interface DeleteContext extends RuleContext
DeleteContext
represents the context used in Deletion-Rule
It contains the BusinessObject
to delete 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 to be deleted. |
<T extends GenericBusinessObject> |
getGenericBusinessObject(java.lang.Class<T> t)
This method returns the
GenericBusinessObject containing the entry-data that has to be deleted. |
boolean |
isLogical()
This method returns wether the deletion is logical or physical
|
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 to be deleted.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 to be deleted.t
- Classtype being a GenericBusinessObject
GenericBusinessObject
extending GenericBusinessObject
BusinessException
boolean isLogical()
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.