Package com.documentum.fc.client.search.filter

# 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 Summary

  Modifier and Type
  Method
  Description
  `IDfGenerationContext`
  `getGenerationContext()`
  `IDfSessionManager`
  `getSessionManager()`
  Get a session manager containing the credentials for all the sources.
  `Iterable<String>`
  `getSources()`
  A filter is applied once for all External sources and once for each Docbase source.
  `void`
  `sendEvent(String message)`
  Send an event that can be retrieved in the query status.

- ## 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