org.apache.directory.server.ldap.handlers
Class DeleteHandler

java.lang.Object
  extended by org.apache.directory.server.ldap.handlers.LdapRequestHandler<T>
      extended by org.apache.directory.server.ldap.handlers.ReferralAwareRequestHandler<org.apache.directory.shared.ldap.message.DeleteRequest>
          extended by org.apache.directory.server.ldap.handlers.DeleteHandler
All Implemented Interfaces:
org.apache.mina.handler.demux.MessageHandler<org.apache.directory.shared.ldap.message.DeleteRequest>

public class DeleteHandler
extends ReferralAwareRequestHandler<org.apache.directory.shared.ldap.message.DeleteRequest>

A single reply handler for DeleteRequests.

Version:
$Rev: 664302 $
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.server.ldap.handlers.LdapRequestHandler
ldapService
 
Fields inherited from interface org.apache.mina.handler.demux.MessageHandler
NOOP
 
Constructor Summary
DeleteHandler()
           
 
Method Summary
 void handleIgnoringReferrals(LdapSession session, org.apache.directory.shared.ldap.name.LdapDN reqTargetDn, ClonedServerEntry entry, org.apache.directory.shared.ldap.message.DeleteRequest req)
          Handles processing without referral handling in effect: either with the ManageDsaIT control or when the entry or all of it's ancestors are non- referral entries.
 
Methods inherited from class org.apache.directory.server.ldap.handlers.ReferralAwareRequestHandler
getFarthestReferralAncestor, getReferralOnAncestor, getReferralOnAncestorForSearch, handle, handleException, isEntryReferral
 
Methods inherited from class org.apache.directory.server.ldap.handlers.LdapRequestHandler
getLdapServer, isConfidentialityRequirementSatisfied, messageReceived, rejectWithoutConfidentiality, setLdapServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteHandler

public DeleteHandler()
Method Detail

handleIgnoringReferrals

public void handleIgnoringReferrals(LdapSession session,
                                    org.apache.directory.shared.ldap.name.LdapDN reqTargetDn,
                                    ClonedServerEntry entry,
                                    org.apache.directory.shared.ldap.message.DeleteRequest req)
Description copied from class: ReferralAwareRequestHandler
Handles processing without referral handling in effect: either with the ManageDsaIT control or when the entry or all of it's ancestors are non- referral entries. Implementors

Specified by:
handleIgnoringReferrals in class ReferralAwareRequestHandler<org.apache.directory.shared.ldap.message.DeleteRequest>
Parameters:
session - the LDAP session under which processing occurs
reqTargetDn - the target entry DN associated with the request
entry - the target entry if it exists and has been looked up, may be null even if the entry exists, offered in case the entry is looked up to avoid repeat lookups. Implementations should check if the entry is null and attempt a lookup instead of presuming the entry does not exist.
req - the request to be handled


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