/*
  $Id: ExtendedAttributeHandler.java 1330 2010-05-23 22:10:53Z dfisher $

  Copyright (C) 2003-2010 Virginia Tech.
  All rights reserved.

  SEE LICENSE FOR MORE INFORMATION

  Author:  Middleware Services
  Email:   middleware@vt.edu
  Version: $Revision: 1330 $
  Updated: $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
*/
package edu.vt.middleware.ldap.handler;

import edu.vt.middleware.ldap.Ldap;

/**
 * Provides an interface for attribute handlers that require the use of the
 * <code>Ldap</code> object that was used to perform the original search.
 *
 * @author  Middleware Services
 * @version  $Revision: 1330 $
 */
public interface ExtendedAttributeHandler extends AttributeHandler
{


  /**
   * Gets the <code>Ldap</code> used by the search operation invoking this
   * handler.
   *
   * @return  <code>Ldap</code>
   */
  Ldap getSearchResultLdap();


  /**
   * Sets the <code>Ldap</code> used by the search operation invoking this
   * handler.
   *
   * @param  l  <code>Ldap</code>
   */
  void setSearchResultLdap(final Ldap l);
}
