org.apache.directory.server.protocol.shared.store
Interface LdifLoadFilter
public interface LdifLoadFilter
A filter interface for the LDIF loader.
- Author:
- Apache Directory Project
|
Method Summary |
boolean |
filter(File file,
org.apache.directory.shared.ldap.model.name.Dn dn,
org.apache.directory.shared.ldap.model.entry.Entry entry,
CoreSession coreSession)
Filters entries loaded from LDIF files by a LdifFileLoader. |
filter
boolean filter(File file,
org.apache.directory.shared.ldap.model.name.Dn dn,
org.apache.directory.shared.ldap.model.entry.Entry entry,
CoreSession coreSession)
throws org.apache.directory.shared.ldap.model.exception.LdapException
- Filters entries loaded from LDIF files by a LdifFileLoader.
- Parameters:
file - the file being loadeddn - the distinguished name of the entry being loadedentry - the entry attributes within the LDIF filecoreSession - 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:
org.apache.directory.shared.ldap.model.exception.LdapException
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.