Package edu.vt.middleware.ldap.handler
Class SearchCriteria
- java.lang.Object
-
- edu.vt.middleware.ldap.handler.SearchCriteria
-
public class SearchCriteria extends java.lang.Object
SearchCriteria
contains the attributes used to perform ldap searches.- Version:
- $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
- Author:
- Middleware Services
-
-
Constructor Summary
Constructors Constructor Description SearchCriteria()
Default constructor.SearchCriteria(java.lang.String s)
Creates a new search criteria with the supplied dn.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDn()
Gets the dn.java.lang.String
getFilter()
Gets the filter.java.lang.Object[]
getFilterArgs()
Gets the filter arguments.javax.naming.directory.Attributes
getMatchAttrs()
Gets the match attributes.java.lang.String[]
getReturnAttrs()
Gets the return attributes.void
setDn(java.lang.String s)
Sets the dn.void
setFilter(java.lang.String s)
Sets the filter.void
setFilterArgs(java.lang.Object[] o)
Sets the filter arguments.void
setMatchAttrs(javax.naming.directory.Attributes a)
Sets the match attributes.void
setReturnAttrs(java.lang.String[] s)
Sets the return attributes.java.lang.String
toString()
This returns a string representation of this search criteria.
-
-
-
Method Detail
-
getDn
public java.lang.String getDn()
Gets the dn.- Returns:
- dn
-
setDn
public void setDn(java.lang.String s)
Sets the dn.- Parameters:
s
- to set dn
-
getFilter
public java.lang.String getFilter()
Gets the filter.- Returns:
- filter
-
setFilter
public void setFilter(java.lang.String s)
Sets the filter.- Parameters:
s
- to set filter
-
getFilterArgs
public java.lang.Object[] getFilterArgs()
Gets the filter arguments.- Returns:
- filter args
-
setFilterArgs
public void setFilterArgs(java.lang.Object[] o)
Sets the filter arguments.- Parameters:
o
- to set filter argumets
-
getReturnAttrs
public java.lang.String[] getReturnAttrs()
Gets the return attributes.- Returns:
- return attributes
-
setReturnAttrs
public void setReturnAttrs(java.lang.String[] s)
Sets the return attributes.- Parameters:
s
- to set return attributes
-
getMatchAttrs
public javax.naming.directory.Attributes getMatchAttrs()
Gets the match attributes.- Returns:
- match attributes
-
setMatchAttrs
public void setMatchAttrs(javax.naming.directory.Attributes a)
Sets the match attributes.- Parameters:
a
- to set match attributes
-
toString
public java.lang.String toString()
This returns a string representation of this search criteria.- Overrides:
toString
in classjava.lang.Object
- Returns:
String
-
-