org.apache.directory.server.protocol.shared.store
Interface LdifLoadFilter


public interface LdifLoadFilter

A filter interface for the LDIF loader.

Version:
$Rev: 918774 $, $Date: 2010-03-04 00:33:13 +0100 (Thu, 04 Mar 2010) $
Author:
Apache Directory Project

Method Summary
 boolean filter(java.io.File file, org.apache.directory.shared.ldap.name.DN dn, org.apache.directory.shared.ldap.entry.Entry entry, CoreSession coreSession)
          Filters entries loaded from LDIF files by a LdifFileLoader.
 

Method Detail

filter

boolean filter(java.io.File file,
               org.apache.directory.shared.ldap.name.DN dn,
               org.apache.directory.shared.ldap.entry.Entry entry,
               CoreSession coreSession)
               throws javax.naming.NamingException
Filters entries loaded from LDIF files by a LdifFileLoader.

Parameters:
file - the file being loaded
dn - the distinguished name of the entry being loaded
entry - the entry attributes within the LDIF file
coreSession - session to be used for loading the entry into the DIT
Returns:
true if the entry will be created in the DIT, false if it is to be skipped
Throws:
javax.naming.NamingException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.