Interface NotifyService

All Known Implementing Classes:
NotifyServiceImpl

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

    • findAll

      List<NotifyServiceEntity> findAll(Context context) throws SQLException
      find all notify service entities
      Parameters:
      context - the context
      Returns:
      all notify service entities
      Throws:
      SQLException - if database error
    • find

      NotifyServiceEntity find(Context context, Integer id) throws SQLException
      find one NotifyServiceEntity by id
      Parameters:
      context - the context
      id - the id of NotifyServiceEntity
      Returns:
      the matched NotifyServiceEntity by id
      Throws:
      SQLException - if database error
    • create

      NotifyServiceEntity create(Context context, String name) throws SQLException
      create new notifyServiceEntity
      Parameters:
      context - the context
      name - name of the service
      Returns:
      the created NotifyServiceEntity
      Throws:
      SQLException - if database error
    • update

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

      void delete(Context context, NotifyServiceEntity notifyServiceEntity) throws SQLException
      delete the provided notifyServiceEntity
      Parameters:
      context - the context
      notifyServiceEntity - the notifyServiceEntity
      Throws:
      SQLException - if database error
    • findByLdnUrl

      NotifyServiceEntity findByLdnUrl(Context context, String ldnUrl) throws SQLException
      find the NotifyServiceEntity matched with the provided ldnUrl
      Parameters:
      context - the context
      ldnUrl - the ldnUrl
      Returns:
      the NotifyServiceEntity matched the provided ldnUrl
      Throws:
      SQLException - if database error
    • findManualServicesByInboundPattern

      List<NotifyServiceEntity> findManualServicesByInboundPattern(Context context, String pattern) throws SQLException
      find all NotifyServiceEntity matched the provided inbound pattern from its related notifyServiceInboundPatterns also with 'automatic' equals to false
      Parameters:
      context - the context
      pattern - the ldnUrl
      Returns:
      all NotifyServiceEntity matched the provided pattern
      Throws:
      SQLException - if database error