public class SearchResponse extends AbstractResponse
controls| Constructor and Description |
|---|
SearchResponse()
Creates a new instance of SearchResponse.
|
SearchResponse(int messageId)
Creates a new instance of SearchResponse.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSearchResultEntry(SearchResultEntryDsml searchResultEntry)
Adds a Search Result Entry
|
boolean |
addSearchResultReference(SearchResultReferenceDsml searchResultReference)
Adds a Search Result Reference
|
SearchResultEntryDsml |
getCurrentSearchResultEntry()
Gets the Current Search Result Entry
|
SearchResultReferenceDsml |
getCurrentSearchResultReference()
Gets the current Search Result Reference
|
SearchResultDoneDsml |
getSearchResultDone()
Gets the Search Result Entry
|
List<SearchResultEntryDsml> |
getSearchResultEntryList()
Gets the Search Result Entry List
|
List<SearchResultReferenceDsml> |
getSearchResultReferenceList()
Gets the Search Result Reference List
|
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message.
|
boolean |
removeSearchResultEntry(SearchResultEntryDsml searchResultEntry)
Removes a Search Result Entry
|
boolean |
removeSearchResultReference(SearchResultReferenceDsml searchResultReference)
Removes a Search Result Reference
|
void |
setSearchResultDone(SearchResultDoneDsml searchResultDone)
Sets the Search Result Entry
|
addAllControls, addControl, equals, get, getControl, getControls, getMessageId, hasControl, hashCode, put, removeControl, setMessageId, toStringclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddAllControls, addControl, get, getControl, getControls, getMessageId, hasControl, put, removeControl, setMessageIdpublic SearchResponse()
public SearchResponse(int messageId)
messageId - the response eliciting this Requestpublic boolean addSearchResultEntry(SearchResultEntryDsml searchResultEntry)
searchResultEntry - the Search Result Entry to addpublic boolean removeSearchResultEntry(SearchResultEntryDsml searchResultEntry)
searchResultEntry - the Search Result Entry to removepublic SearchResultEntryDsml getCurrentSearchResultEntry()
public List<SearchResultEntryDsml> getSearchResultEntryList()
public boolean addSearchResultReference(SearchResultReferenceDsml searchResultReference)
searchResultReference - the Search Result Reference to addpublic boolean removeSearchResultReference(SearchResultReferenceDsml searchResultReference)
searchResultReference - the Search Result Reference to removepublic SearchResultReferenceDsml getCurrentSearchResultReference()
public List<SearchResultReferenceDsml> getSearchResultReferenceList()
public SearchResultDoneDsml getSearchResultDone()
public void setSearchResultDone(SearchResultDoneDsml searchResultDone)
searchResultDone - the Search Result Entry to setpublic MessageTypeEnum getType()
AbstractMessagegetType in interface MessagegetType in class AbstractMessageCopyright © 2021. All rights reserved.