Package com.netscape.jndi.ldap
Class SearchResultWithControls
java.lang.Object
javax.naming.NameClassPair
javax.naming.Binding
javax.naming.directory.SearchResult
com.netscape.jndi.ldap.SearchResultWithControls
- All Implemented Interfaces:
Serializable
,HasControls
An extension of SearchResult that allows access to controls sent
back with the results of a search
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSearchResultWithControls
(String name, Object obj, Attributes attrs) Enable constructorsSearchResultWithControls
(String name, Object obj, Attributes attrs, boolean isRelative) SearchResultWithControls
(String name, String className, Object obj, Attributes attrs) SearchResultWithControls
(String name, String className, Object obj, Attributes attrs, boolean isRelative) -
Method Summary
Modifier and TypeMethodDescriptionControl[]
Implements HasControls interfacevoid
setControls
(Control[] ctrls) Set controls arrayMethods inherited from class javax.naming.directory.SearchResult
getAttributes, setAttributes, toString
Methods inherited from class javax.naming.Binding
getClassName, getObject, setObject
Methods inherited from class javax.naming.NameClassPair
getName, getNameInNamespace, isRelative, setClassName, setName, setNameInNamespace, setRelative
-
Field Details
-
m_ctrls
Control[] m_ctrls
-
-
Constructor Details
-
SearchResultWithControls
Enable constructors -
SearchResultWithControls
-
SearchResultWithControls
-
SearchResultWithControls
public SearchResultWithControls(String name, String className, Object obj, Attributes attrs, boolean isRelative)
-
-
Method Details
-
getControls
Implements HasControls interface- Specified by:
getControls
in interfaceHasControls
-
setControls
Set controls array
-