LDAP Classes
Implements Java LDAP

com.novell.ldap.extensions
Class PartitionEntryCountRequest

java.lang.Object
  extended bycom.novell.ldap.LDAPExtendedOperation
      extended bycom.novell.ldap.extensions.PartitionEntryCountRequest
All Implemented Interfaces:
java.lang.Cloneable, java.io.Externalizable, java.io.Serializable

public class PartitionEntryCountRequest
extends LDAPExtendedOperation

Returns a count of the number of entries (objects) in the specified partition.

To obtain the count of entries, you must create an instance of this class and then call the extendedOperation method with this object as the required LDAPExtendedOperation parameter.

The returned LDAPExtendedResponse object can then be converted to a PartitionEntryCountResponse object. This class contains methods for retrieving the returned count.

The PartitionEntryCountRequest extension uses the following OID:
   2.16.840.1.113719.1.27.100.13

The requestValue has the following format:
requestValue ::=

     dn     LDAPDN

See Also:
Serialized Form

Constructor Summary
PartitionEntryCountRequest(java.lang.String dn)
          Constructs an extended operation object for counting entries in a naming context.
 
Methods inherited from class com.novell.ldap.LDAPExtendedOperation
clone, getID, getValue, readDSML, readExternal, setID, setValue, toString, writeDSML, writeExternal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartitionEntryCountRequest

public PartitionEntryCountRequest(java.lang.String dn)
                           throws LDAPException
Constructs an extended operation object for counting entries in a naming context.

Parameters:
dn - The distinguished name of the partition.
Throws:
LDAPException - A general exception which includes an error message and an LDAP error code.

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000