LDAP Classes
Implements Java LDAP

com.novell.ldap.extensions
Class SetReplicationFilterRequest

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

public class SetReplicationFilterRequest
extends LDAPExtendedOperation

Sets the Replication filter for all replicas on the server.

The filter specified is a an array of classnames-attribute names pairs.

To set the filter for all replicas on the connected server, you must create an instance of this class and then call the extendedOperation method with this object as the required LDAPExtendedOperation parameter.

The SetReplicationFilterRequest extension uses the following OID:
   2.16.840.1.113719.1.27.100.35

The requestValue has the following format:
requestValue ::=
     serverName    LDAPDN

     SEQUENCE of SEQUENCE {

         classname    OCTET STRING

         SEQUENCE of ATTRIBUTES

    }

    where

    ATTRIBUTES:: OCTET STRING

See Also:
Serialized Form

Constructor Summary
SetReplicationFilterRequest(java.lang.String serverDN, java.lang.String[][] replicationFilter)
          Constructs an extended operations object which contains the ber encoded replication filter.
 
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

SetReplicationFilterRequest

public SetReplicationFilterRequest(java.lang.String serverDN,
                                   java.lang.String[][] replicationFilter)
                            throws LDAPException
Constructs an extended operations object which contains the ber encoded replication filter.

Parameters:
serverDN - The server on which the replication filter needs to be set

replicationFilter - An array of String Arrays. Each array starting with a class name followed by the attribute names for that class that should comprise the replication filter.

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