question: public void removeEntry ( SSOToken token , String entryDN , int objectType , boolean recursive , boolean softDelete ) throws AMException , SSOException { if ( debug . messageEnabled ( ) ) { debug . message ( "DirectoryServicesImpl.removeEntry(): Removing: " + entryDN + " & recursive: " + recursive ) ; } if ( recursive ) { removeSubtree ( token , entryDN , softDelete ) ; } else { removeSingleEntry ( token , entryDN , objectType , softDelete ) ; } if ( objectType == AMObject . ORGANIZATION && ServiceManager . isCoexistenceMode ( ) && ServiceManager . isRealmEnabled ( ) ) { try { OrganizationConfigManager ocm = new OrganizationConfigManager ( token , entryDN ) ; ocm . deleteSubOrganization ( null , recursive ) ; } catch ( SMSException smse ) { if ( debug . messageEnabled ( ) ) { debug . message ( "DirectoryServicesImpl::removeEntry " + "unable to delete corresponding realm: " + entryDN ) ; } } } }
target:  Remove an entry from the directory.