com.metamatrix.connector.ldap
Class LDAPSearchDetails

java.lang.Object
  extended by com.metamatrix.connector.ldap.LDAPSearchDetails

public class LDAPSearchDetails
extends java.lang.Object

Utility class used to maintain the details of a particular LDAP search, such as the context, the attributes of interest, the filter, and the search scope.


Constructor Summary
LDAPSearchDetails(java.lang.String name, int searchScope, java.lang.String filter, java.util.ArrayList attributeList, javax.naming.ldap.SortKey[] keys, long limit, java.util.ArrayList elementList)
          Constructor
 
Method Summary
 java.util.ArrayList getAttributeList()
          get the attribute list
 java.lang.String getContextFilter()
          get the context filter
 java.lang.String getContextName()
          get the context name
 long getCountLimit()
          get the count limit
 java.util.ArrayList getElementList()
          get the element list
 int getSearchScope()
          get the context name
 javax.naming.ldap.SortKey[] getSortKeys()
          get the sort keys
 void printDetailsToLog(ConnectorLogger logger)
          Print Method for Logging - (Detail level logging)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPSearchDetails

public LDAPSearchDetails(java.lang.String name,
                         int searchScope,
                         java.lang.String filter,
                         java.util.ArrayList attributeList,
                         javax.naming.ldap.SortKey[] keys,
                         long limit,
                         java.util.ArrayList elementList)
Constructor

Parameters:
name - the context name
searchScope - the search scope
filter - the context filter
attributeList - the list of attributes
keys -
limit -
elementList -
Method Detail

getContextName

public java.lang.String getContextName()
get the context name

Returns:
the context name

getSearchScope

public int getSearchScope()
get the context name

Returns:
the context name

getContextFilter

public java.lang.String getContextFilter()
get the context filter

Returns:
the context filter

getAttributeList

public java.util.ArrayList getAttributeList()
get the attribute list

Returns:
the attribute list

getElementList

public java.util.ArrayList getElementList()
get the element list

Returns:
the element list

getSortKeys

public javax.naming.ldap.SortKey[] getSortKeys()
get the sort keys

Returns:
the sort keys

getCountLimit

public long getCountLimit()
get the count limit

Returns:
the count limit

printDetailsToLog

public void printDetailsToLog(ConnectorLogger logger)
                       throws javax.naming.NamingException
Print Method for Logging - (Detail level logging)

Parameters:
logger - the connector logger.
Throws:
javax.naming.NamingException


Copyright © 2009. All Rights Reserved.