|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WatcherInfo
Watcher Info entity represents the information of a Watcher.
| Nested Class Summary | |
|---|---|
static class |
WatcherInfo.Event
|
static class |
WatcherInfo.Status
|
| Method Summary | |
|---|---|
void |
addUserToBlackList()
Arranges the watcher to be added, by administrative means, to the white list of the WatcherInfoSubscriber. |
void |
addUserToWhiteList()
Arranges the watcher to be added, by administrative means, to the white list of the WatcherInfoSubscriber. |
String |
getDisplayName()
Returns the display name of the watcher. |
WatcherInfo.Event |
getEvent()
Returns the event that caused the subscription to change status. |
WatcherInfo.Status |
getStatus()
Returns the status of the watcher subscription. |
String |
getUserId()
Returns the URI of the watcher that is subscribing to the resource. |
| Method Detail |
|---|
String getDisplayName()
String getUserId()
WatcherInfo.Status getStatus()
WatcherInfo.Event getEvent()
void addUserToWhiteList()
IllegalStateException - when the Status of the watcherinfo is not PENDINGvoid addUserToBlackList()
IllegalStateException - when the Status of the watcherinfo is not PENDING
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||