LDAP Classes
Implements Java LDAP

com.novell.ldap.extensions
Class GetReplicationFilterResponse

java.lang.Object
  extended bycom.novell.ldap.LDAPMessage
      extended bycom.novell.ldap.LDAPResponse
          extended bycom.novell.ldap.LDAPExtendedResponse
              extended bycom.novell.ldap.extensions.GetReplicationFilterResponse
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class GetReplicationFilterResponse
extends LDAPExtendedResponse

This object represent the filter returned fom a GetReplicationFilterRequest.

An object in this class is generated from an ExtendedResponse object using the ExtendedResponseFactory class.

The GetReplicationFilterResponse extension uses the following OID:
   2.16.840.1.113719.1.27.100.38

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.novell.ldap.LDAPMessage
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, INTERMEDIATE_RESPONSE, message, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST
 
Constructor Summary
GetReplicationFilterResponse(com.novell.ldap.rfc2251.RfcLDAPMessage rfcMessage)
          Constructs an object from the responseValue which contains the replication filter.
 
Method Summary
 java.lang.String[][] getReplicationFilter()
          Returns the replicationFilter as an array of classname-attribute name pairs
 
Methods inherited from class com.novell.ldap.LDAPExtendedResponse
getID, getRegisteredResponses, getValue, register, setDeserializedValues
 
Methods inherited from class com.novell.ldap.LDAPResponse
chkResultCode, getControls, getErrorMessage, getMatchedDN, getMessageID, getReferrals, getResultCode, getType
 
Methods inherited from class com.novell.ldap.LDAPMessage
getTag, isRequest, readDSML, readExternal, setTag, toString, writeDSML, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetReplicationFilterResponse

public GetReplicationFilterResponse(com.novell.ldap.rfc2251.RfcLDAPMessage rfcMessage)
                             throws java.io.IOException
Constructs an object from the responseValue which contains the replication filter.

The constructor parses the responseValue which has the following format:
responseValue ::=
     SEQUENCE of SEQUENCE {

         classname    OCTET STRING

         SEQUENCE of ATTRIBUTES

    }

    where

    ATTRIBUTES:: OCTET STRING

Throws:
java.io.IOException - The responseValue could not be decoded.
Method Detail

getReplicationFilter

public java.lang.String[][] getReplicationFilter()
Returns the replicationFilter as an array of classname-attribute name pairs

Returns:
String array contining a two dimensional array of strings. The first element of each array is the class name the others are the attribute names

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