Interface NotifyPatternToTriggerService

All Known Implementing Classes:
NotifyPatternToTriggerImpl

public interface NotifyPatternToTriggerService
Service interface class for the NotifyPatternToTrigger object.
Author:
Mohamed Eskander (mohamed.eskander at 4science.com)
  • Method Details

    • findAll

      List<NotifyPatternToTrigger> findAll(Context context) throws SQLException
      find all notify patterns to be triggered
      Parameters:
      context - the context
      Returns:
      all notify patterns to be trigger
      Throws:
      SQLException - if database error
    • findByItem

      List<NotifyPatternToTrigger> findByItem(Context context, Item item) throws SQLException
      find list of Notify Patterns To be Triggered by item
      Parameters:
      context - the context
      item - the item of NotifyPatternToTrigger
      Returns:
      the matched NotifyPatternToTrigger list by item
      Throws:
      SQLException - if database error
    • findByItemAndPattern

      List<NotifyPatternToTrigger> findByItemAndPattern(Context context, Item item, String pattern) throws SQLException
      find list of Notify Patterns To be Triggered by item and pattern
      Parameters:
      context - the context
      item - the item of NotifyPatternToTrigger
      pattern - the pattern of NotifyPatternToTrigger
      Returns:
      the matched NotifyPatternToTrigger list by item and pattern
      Throws:
      SQLException - if database error
    • create

      create new notifyPatternToTrigger
      Parameters:
      context - the context
      Returns:
      the created NotifyPatternToTrigger
      Throws:
      SQLException - if database error
    • update

      void update(Context context, NotifyPatternToTrigger notifyPatternToTrigger) throws SQLException
      update the provided notifyPatternToTrigger
      Parameters:
      context - the context
      notifyPatternToTrigger - the notifyPatternToTrigger
      Throws:
      SQLException - if database error
    • delete

      void delete(Context context, NotifyPatternToTrigger notifyPatternToTrigger) throws SQLException
      delete the provided notifyPatternToTrigger
      Parameters:
      context - the context
      notifyPatternToTrigger - the notifyPatternToTrigger
      Throws:
      SQLException - if database error