org.apache.directory.server.core.interceptor
Interface NextInterceptor


public interface NextInterceptor

Represents the next Interceptor in the interceptor chain.

Version:
$Rev: 434579 $, $Date: 2006-08-24 20:19:11 -0400 (Thu, 24 Aug 2006) $
Author:
Apache Directory Project
See Also:
Interceptor, InterceptorChain

Method Summary
 void add(LdapDN normName, javax.naming.directory.Attributes entry)
          Calls the next interceptor's Interceptor#add(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes).
 void addContextPartition(PartitionConfiguration cfg)
          Calls the next interceptor's PartitionNexus.addContextPartition(PartitionConfiguration).
 void bind(LdapDN bindDn, byte[] credentials, java.util.List mechanisms, java.lang.String saslAuthId)
          Calls the next interceptor's {@link Interceptor#bind(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,byte[],java.util.List,String)
 boolean compare(LdapDN name, java.lang.String oid, java.lang.Object value)
          Calls the next interceptor's Interceptor#compare(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,String,Object).
 void delete(LdapDN name)
          Calls the next interceptor's Interceptor#delete(NextInterceptor, org.apache.directory.shared.ldap.name.LdapDN).
 LdapDN getMatchedName(LdapDN name)
          Calls the next interceptor's Interceptor#getMatchedName(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).
 javax.naming.directory.Attributes getRootDSE()
          Calls the next interceptor's Interceptor.getRootDSE(NextInterceptor).
 LdapDN getSuffix(LdapDN name)
          Calls the next interceptor's Interceptor#getSuffix(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).
 boolean hasEntry(LdapDN name)
          Calls the next interceptor's Interceptor#hasEntry(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).
 boolean isSuffix(LdapDN name)
          Calls the next interceptor's Interceptor#isSuffix(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).
 javax.naming.NamingEnumeration list(LdapDN baseName)
          Calls the next interceptor's Interceptor#list(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).
 java.util.Iterator listSuffixes()
          Calls the next interceptor's Interceptor.listSuffixes(NextInterceptor).
 javax.naming.directory.Attributes lookup(LdapDN name)
          Calls the next interceptor's Interceptor#lookup(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).
 javax.naming.directory.Attributes lookup(LdapDN name, java.lang.String[] attrIds)
          Calls the next interceptor's Interceptor#lookup(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,String[]).
 void modify(LdapDN name, int modOp, javax.naming.directory.Attributes attributes)
          Calls the next interceptor's Interceptor#modify(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes).
 void modify(LdapDN name, javax.naming.directory.ModificationItem[] items)
          Calls the next interceptor's Interceptor#modify(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]).
 void modifyRn(LdapDN name, java.lang.String newRn, boolean deleteOldRn)
          Calls the next interceptor's Interceptor#modifyRn(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,String,boolean).
 void move(LdapDN oldName, LdapDN newParentName)
          Calls the next interceptor's Interceptor#move(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN).
 void move(LdapDN oldName, LdapDN newParentName, java.lang.String newRn, boolean deleteOldRn)
          Calls the next interceptor's Interceptor#move(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean).
 void removeContextPartition(LdapDN suffix)
          Calls the next interceptor's PartitionNexus#removeContextPartition(org.apache.directory.shared.ldap.name.LdapDN).
 javax.naming.NamingEnumeration search(LdapDN baseName, java.util.Map environment, ExprNode filter, javax.naming.directory.SearchControls searchControls)
          Calls the next interceptor's Interceptor#search(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,java.util.Map,org.apache.directory.shared.ldap.filter.ExprNode,javax.naming.directory.SearchControls).
 void unbind(LdapDN bindDn)
          Calls the next interceptor's {@link Interceptor#unbind(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN)
 

Method Detail

compare

boolean compare(LdapDN name,
                java.lang.String oid,
                java.lang.Object value)
                throws javax.naming.NamingException
Calls the next interceptor's Interceptor#compare(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,String,Object).

Throws:
javax.naming.NamingException

getRootDSE

javax.naming.directory.Attributes getRootDSE()
                                             throws javax.naming.NamingException
Calls the next interceptor's Interceptor.getRootDSE(NextInterceptor).

Throws:
javax.naming.NamingException

getMatchedName

LdapDN getMatchedName(LdapDN name)
                      throws javax.naming.NamingException
Calls the next interceptor's Interceptor#getMatchedName(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).

Throws:
javax.naming.NamingException

getSuffix

LdapDN getSuffix(LdapDN name)
                 throws javax.naming.NamingException
Calls the next interceptor's Interceptor#getSuffix(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).

Throws:
javax.naming.NamingException

listSuffixes

java.util.Iterator listSuffixes()
                                throws javax.naming.NamingException
Calls the next interceptor's Interceptor.listSuffixes(NextInterceptor).

Throws:
javax.naming.NamingException

addContextPartition

void addContextPartition(PartitionConfiguration cfg)
                         throws javax.naming.NamingException
Calls the next interceptor's PartitionNexus.addContextPartition(PartitionConfiguration).

Throws:
javax.naming.NamingException

removeContextPartition

void removeContextPartition(LdapDN suffix)
                            throws javax.naming.NamingException
Calls the next interceptor's PartitionNexus#removeContextPartition(org.apache.directory.shared.ldap.name.LdapDN).

Throws:
javax.naming.NamingException

delete

void delete(LdapDN name)
            throws javax.naming.NamingException
Calls the next interceptor's Interceptor#delete(NextInterceptor, org.apache.directory.shared.ldap.name.LdapDN).

Throws:
javax.naming.NamingException

add

void add(LdapDN normName,
         javax.naming.directory.Attributes entry)
         throws javax.naming.NamingException
Calls the next interceptor's Interceptor#add(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.Attributes).

Throws:
javax.naming.NamingException

modify

void modify(LdapDN name,
            int modOp,
            javax.naming.directory.Attributes attributes)
            throws javax.naming.NamingException
Calls the next interceptor's Interceptor#modify(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,int,javax.naming.directory.Attributes).

Throws:
javax.naming.NamingException

modify

void modify(LdapDN name,
            javax.naming.directory.ModificationItem[] items)
            throws javax.naming.NamingException
Calls the next interceptor's Interceptor#modify(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,javax.naming.directory.ModificationItem[]).

Throws:
javax.naming.NamingException

list

javax.naming.NamingEnumeration list(LdapDN baseName)
                                    throws javax.naming.NamingException
Calls the next interceptor's Interceptor#list(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).

Throws:
javax.naming.NamingException

search

javax.naming.NamingEnumeration search(LdapDN baseName,
                                      java.util.Map environment,
                                      ExprNode filter,
                                      javax.naming.directory.SearchControls searchControls)
                                      throws javax.naming.NamingException
Calls the next interceptor's Interceptor#search(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,java.util.Map,org.apache.directory.shared.ldap.filter.ExprNode,javax.naming.directory.SearchControls).

Throws:
javax.naming.NamingException

lookup

javax.naming.directory.Attributes lookup(LdapDN name)
                                         throws javax.naming.NamingException
Calls the next interceptor's Interceptor#lookup(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).

Throws:
javax.naming.NamingException

lookup

javax.naming.directory.Attributes lookup(LdapDN name,
                                         java.lang.String[] attrIds)
                                         throws javax.naming.NamingException
Calls the next interceptor's Interceptor#lookup(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,String[]).

Throws:
javax.naming.NamingException

hasEntry

boolean hasEntry(LdapDN name)
                 throws javax.naming.NamingException
Calls the next interceptor's Interceptor#hasEntry(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).

Throws:
javax.naming.NamingException

isSuffix

boolean isSuffix(LdapDN name)
                 throws javax.naming.NamingException
Calls the next interceptor's Interceptor#isSuffix(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN).

Throws:
javax.naming.NamingException

modifyRn

void modifyRn(LdapDN name,
              java.lang.String newRn,
              boolean deleteOldRn)
              throws javax.naming.NamingException
Calls the next interceptor's Interceptor#modifyRn(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,String,boolean).

Throws:
javax.naming.NamingException

move

void move(LdapDN oldName,
          LdapDN newParentName)
          throws javax.naming.NamingException
Calls the next interceptor's Interceptor#move(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN).

Throws:
javax.naming.NamingException

move

void move(LdapDN oldName,
          LdapDN newParentName,
          java.lang.String newRn,
          boolean deleteOldRn)
          throws javax.naming.NamingException
Calls the next interceptor's Interceptor#move(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,org.apache.directory.shared.ldap.name.LdapDN,String,boolean).

Throws:
javax.naming.NamingException

bind

void bind(LdapDN bindDn,
          byte[] credentials,
          java.util.List mechanisms,
          java.lang.String saslAuthId)
          throws javax.naming.NamingException
Calls the next interceptor's {@link Interceptor#bind(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN,byte[],java.util.List,String)

Throws:
javax.naming.NamingException

unbind

void unbind(LdapDN bindDn)
            throws javax.naming.NamingException
Calls the next interceptor's {@link Interceptor#unbind(NextInterceptor,org.apache.directory.shared.ldap.name.LdapDN)

Throws:
javax.naming.NamingException