public class SearchResultReferenceDsml extends AbstractResponseDsml<SearchResultReference> implements SearchResultReference
| Constructor and Description |
|---|
SearchResultReferenceDsml(LdapApiService codec)
Creates a new getDecoratedMessage() of SearchResultReferenceDsml.
|
SearchResultReferenceDsml(LdapApiService codec,
SearchResultReference ldapMessage)
Creates a new getDecoratedMessage() of SearchResultReferenceDsml.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSearchResultReference(LdapUrl searchResultReference)
Add a new reference to the list.
|
Referral |
getReferral()
Gets the sequence of LdapUrls as a Referral instance.
|
Collection<String> |
getSearchResultReferences()
Get the list of references
|
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message.
|
void |
setReferral(Referral referral)
Sets the sequence of LdapUrls as a Referral instance.
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Converts the request/reponse to its XML representation in the DSMLv2 format
|
addAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, put, removeControl, setMessageIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAllControls, addControl, get, getControl, getControls, getMessageId, hasControl, put, removeControl, setMessageIdpublic SearchResultReferenceDsml(LdapApiService codec)
public SearchResultReferenceDsml(LdapApiService codec, SearchResultReference ldapMessage)
ldapMessage - the message to decoratepublic MessageTypeEnum getType()
getType in interface MessagegetType in class AbstractDsmlMessageDecorator<SearchResultReference>public org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml in interface DsmlDecorator<SearchResultReference>root - the root dom4j Elementpublic void addSearchResultReference(LdapUrl searchResultReference)
searchResultReference - The search result referencepublic Collection<String> getSearchResultReferences()
public Referral getReferral()
getReferral in interface SearchResultReferencepublic void setReferral(Referral referral)
setReferral in interface SearchResultReferencereferral - the sequence of LdapUrlsCopyright © 2021. All rights reserved.