Interface IDfOperationContext


public interface IDfOperationContext
Provides a mechanism for specifying additional contextual information for instantiating a context aware operation. Currently, only the "domain" key is supported. A domain represents an application domain such as "com.emc.hr" or "com.emc.finance". This allows individual departments in a company to define separate rules for importing a document using a separate operation definition.
Since:
7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String key)
    Returns a corresponding value, if set, or null.
    void
    set(String key, String value)
    Allows setting contextual information in the form of key, value pair.
  • Method Details

    • get

      String get(String key)
      Returns a corresponding value, if set, or null.
      Parameters:
      key - an additional form of distinguishing information for instantiating a context aware operation
      Returns:
      a corresponding value, if previously assigned using set(), or null.
    • set

      void set(String key, String value) throws DfException
      Allows setting contextual information in the form of key, value pair.
      Parameters:
      key - an additional form of distinguishing information. Currently, the only supported key is "domain"
      value - Corresponding value
      Throws:
      DfException