public class SearchCriteria extends Object
SearchCriteria contains the attributes used to perform ldap
searches.| Constructor and Description |
|---|
SearchCriteria()
Default constructor.
|
SearchCriteria(String s)
Creates a new search criteria with the supplied dn.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDn()
Gets the dn.
|
String |
getFilter()
Gets the filter.
|
Object[] |
getFilterArgs()
Gets the filter arguments.
|
Attributes |
getMatchAttrs()
Gets the match attributes.
|
String[] |
getReturnAttrs()
Gets the return attributes.
|
void |
setDn(String s)
Sets the dn.
|
void |
setFilter(String s)
Sets the filter.
|
void |
setFilterArgs(Object[] o)
Sets the filter arguments.
|
void |
setMatchAttrs(Attributes a)
Sets the match attributes.
|
void |
setReturnAttrs(String[] s)
Sets the return attributes.
|
String |
toString()
This returns a string representation of this search criteria.
|
public SearchCriteria()
public SearchCriteria(String s)
s - to set dnpublic String getDn()
public void setDn(String s)
s - to set dnpublic String getFilter()
public void setFilter(String s)
s - to set filterpublic Object[] getFilterArgs()
public void setFilterArgs(Object[] o)
o - to set filter argumetspublic String[] getReturnAttrs()
public void setReturnAttrs(String[] s)
s - to set return attributespublic Attributes getMatchAttrs()
public void setMatchAttrs(Attributes a)
a - to set match attributesCopyright © 2014. All rights reserved.