|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.ad.control.util.NotificationClient.NotificationItem
public static class NotificationClient.NotificationItem
Contains data returned when using the notification control.
| Constructor Summary | |
|---|---|
NotificationClient.NotificationItem(AsyncRequest request)
Creates a new notification item. |
|
NotificationClient.NotificationItem(Exception exception)
Creates a new notification item. |
|
NotificationClient.NotificationItem(Response response)
Creates a new notification item. |
|
NotificationClient.NotificationItem(SearchEntry entry)
Creates a new notification item. |
|
| Method Summary | |
|---|---|
AsyncRequest |
getAsyncRequest()
Returns the async request contained in this item or null if this item does not contain an async request. |
SearchEntry |
getEntry()
Returns the search entry contained in this item or null if this item does not contain a search 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. |
boolean |
isSearchEntry()
Deprecated. use isEntry() instead |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationClient.NotificationItem(AsyncRequest request)
request - that represents this itempublic NotificationClient.NotificationItem(SearchEntry entry)
entry - that represents this itempublic NotificationClient.NotificationItem(Response response)
response - that represents this itempublic NotificationClient.NotificationItem(Exception exception)
exception - that represents this item| Method Detail |
|---|
public boolean isAsyncRequest()
public AsyncRequest getAsyncRequest()
public boolean isEntry()
@Deprecated public boolean isSearchEntry()
isEntry() instead
public SearchEntry 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 | |||||||||