Interface DeleteContext

All Superinterfaces:
LogContext, RuleContext

public interface DeleteContext extends RuleContext
DeleteContext represents the context used in Deletion-Rule

It contains the BusinessObject to delete and several functions like caching

Author:
Matthias Reichart
See Also:
  • Method Details

    • getBusinessObject

      <T extends BusinessObject> T getBusinessObject(Class<T> t)
      This method returns the BusinessObject containing the entry-data that has to be deleted.
      Parameters:
      t - Classtype being a BusinessObject
      Returns:
      BusinessObject
    • getGenericBusinessObject

      <T extends GenericBusinessObject> T getGenericBusinessObject(Class<T> t) throws BusinessException
      This method returns the GenericBusinessObject containing the entry-data that has to be deleted.
      Parameters:
      t - Classtype being a GenericBusinessObject
      Returns:
      GenericBusinessObject extending GenericBusinessObject
      Throws:
      BusinessException
    • isLogical

      boolean isLogical()
      This method returns wether the deletion is logical or physical
      Returns:
      true or false
    • notify

      void notify(String message, Priority prio)
      Creates a message with a Priority. The message is displayed in the notification dialog in nuclos. Please check class Priority to get more information about the priority-handling.
      Parameters:
      message -
      prio -
    • notify

      void notify(String message)
      Creates a message with a 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.
      Parameters:
      message -