|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.control.util.PersistentSearchItem
public class PersistentSearchItem
Contains data returned when using the persistent search request control.
| Nested Class Summary | |
|---|---|
static class |
PersistentSearchItem.Entry
Wrapper class that provides easy access to the EntryChangeNotificationControl contained in a search entry. |
| Constructor Summary | |
|---|---|
PersistentSearchItem(AsyncRequest request)
Creates a new persistent search item. |
|
PersistentSearchItem(Exception exception)
Creates a new persistent search item. |
|
PersistentSearchItem(PersistentSearchItem.Entry entry)
Creates a new persistent search item. |
|
PersistentSearchItem(Response response)
Creates a new persistent search item. |
|
| Method Summary | |
|---|---|
AsyncRequest |
getAsyncRequest()
Returns the async request contained in this item or null if this item does not contain an async request. |
PersistentSearchItem.Entry |
getEntry()
Returns the entry contained in this item or null if this item does not contain an entry. |
Exception |
getException()
Returns the exception contained in this item or null if this item does not contain an exception. |
Response |
getResponse()
Returns the response contained in this item or null if this item does not contain a response. |
boolean |
isAsyncRequest()
Returns whether this item represents an async request. |
boolean |
isEntry()
Returns whether this item represents a search entry. |
boolean |
isException()
Returns whether this item represents an exception. |
boolean |
isResponse()
Returns whether this item represents a response. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PersistentSearchItem(AsyncRequest request)
request - that represents this itempublic PersistentSearchItem(PersistentSearchItem.Entry entry)
entry - that represents this itempublic PersistentSearchItem(Response response)
response - that represents this itempublic PersistentSearchItem(Exception exception)
exception - that represents this item| Method Detail |
|---|
public boolean isAsyncRequest()
public AsyncRequest getAsyncRequest()
public boolean isEntry()
public PersistentSearchItem.Entry getEntry()
public boolean isResponse()
public Response getResponse()
public boolean isException()
public Exception getException()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||