edu.vt.middleware.ldap.handler
public class SearchCriteria extends java.lang.Object
SearchCriteria
contains the attributes used to perform ldap
searches.Constructor and Description |
---|
SearchCriteria()
Default constructor.
|
SearchCriteria(java.lang.String s)
Creates a new search criteria with the supplied dn.
|
Modifier and Type | Method and 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.
|
public SearchCriteria()
public SearchCriteria(java.lang.String s)
s
- to set dnpublic java.lang.String getDn()
public void setDn(java.lang.String s)
s
- to set dnpublic java.lang.String getFilter()
public void setFilter(java.lang.String s)
s
- to set filterpublic java.lang.Object[] getFilterArgs()
public void setFilterArgs(java.lang.Object[] o)
o
- to set filter argumetspublic java.lang.String[] getReturnAttrs()
public void setReturnAttrs(java.lang.String[] s)
s
- to set return attributespublic javax.naming.directory.Attributes getMatchAttrs()
public void setMatchAttrs(javax.naming.directory.Attributes a)
a
- to set match attributespublic java.lang.String toString()
toString
in class java.lang.Object
String
Copyright © 2014. All Rights Reserved.