Interface IDfContext


public interface IDfContext
Context for filters.
This interface is not intended to be implemented by filters. It is implemented by the system.
  • Method Details

    • getSources

      Iterable<String> getSources()
      A filter is applied once for all External sources and once for each Docbase source. For External sources, the returned value is the list of all external sources to which the filter is being applied. For a Docbase source, the returned value is a list with only one element, the docbase to which the filter is being applied.
    • getSessionManager

      IDfSessionManager getSessionManager()
      Get a session manager containing the credentials for all the sources.
    • sendEvent

      void sendEvent(String message)
      Send an event that can be retrieved in the query status. The event will be of type INTERNAL/DEFAULT
      Parameters:
      message - the message which is sent as the payload of the error.
    • getGenerationContext

      IDfGenerationContext getGenerationContext()
      Returns:
      information about how the query will be generated