|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAlertSubscriptions
This interface exposes information about the subscription of principals (users and groups) to events.
This interface can either be obtained from the event or from the principals subscribed to the event.
Depending on how this interface was obtained, the IDs used by these methods either represent the
SI_ID property of the events or the SI_ID property of the principals subscribed an event.
If this interface was obtained from an event, the IDs represent the
SI_ID properties of the principals subscribed to the event.
If the interface was obtained from principal,
the IDs represent the SI_ID properties of events that the principal is subscribed to.
Use IEventBase.getAlertSubscriptions()
to retrieve this interface from an event.
Use ISystemPrincipal.getAlertSubscriptions() or
com.crystaldecisions.sdk.plugin.desktop.user.IUserGroup#getAlertSubscriptions
to retrieve this interface from a principal.
| Method Summary | |
|---|---|
IAlertSubscription |
add(int objID)
Creates a subscription or returns the existing subscription. |
IAlertSubscription |
get(int objID)
Returns a subscription. |
java.util.Set |
getAlertSubscriptionIDs()
Returns the IDs associated with the alert subscription. |
java.util.Iterator |
iterator()
Returns an iterator for this collection. |
boolean |
remove(int objID)
Removes a subscription. |
int |
size()
Returns the number of subscriptions in this collection. |
| Method Detail |
|---|
java.util.Set getAlertSubscriptionIDs()
IAlertSubscription add(int objID)
objID - The SI_ID property of the event or principal.
IAlertSubscription object that represents the subscription.IAlertSubscriptions.getAlertSubscriptionIDs()IAlertSubscription get(int objID)
objID - The ID of the event or principal.
IAlertSubscription object that represents the subscription of the principal to the event.IAlertSubscriptions.getAlertSubscriptionIDs()boolean remove(int objID)
objID - The ID of the event or principal.
true if the subscription was removed successfully, false otherwise.IAlertSubscriptions.getAlertSubscriptionIDs()java.util.Iterator iterator()
iterator in interface java.lang.IterableIterator that is used to retrieve IAlertSubscription objects.int size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||