com.sap.netweaver.bc.uwl.connect
Interface IAlertConnector
- All Superinterfaces:
- IProviderConnector
public interface IAlertConnector
- extends IProviderConnector
The IAlertConnector interface defines methods relevant for subscription of alert categories.
|
Nested Class Summary |
static class |
IAlertConnector.AlertCategory
This class encapsulates the alert category, aggregating the same category for multiple systems |
| Methods inherited from interface com.sap.netweaver.bc.uwl.connect.IProviderConnector |
getActionHandler, getAllActionsForItem, getAttachmentHeaders, getDescription, getId, getItem, getItems, getLogData, getLogData, isActionValidForItem, isItemValid, isLogRetrievalSupported, needsRemoteConnection, populateHollowItem, supportsCacheClearance, supportsItemType |
getAlertCategoriesForSubscription
List getAlertCategoriesForSubscription(UWLContext ctx)
- returns a list of all alert categories available for subscription for the user.
- Parameters:
ctx - - UWLContext for making a backend connections.
- Returns:
- a List of AlertCategory objects.
subscribe
boolean subscribe(UWLContext ctx,
List categories,
boolean subscribe)
- Subscribe/unsubscribe selected alert categories for the user.
- Parameters:
ctx- - UWLContext for making a backend connections.categories - - a List of AlertCategory objects for subscription/unsubscription.subscribe - - a flag indicating if the categories are to be subscribed/unsubscribed.
- Returns:
- - true, if there is no error reported.
Copyright 2009 SAP AG Complete Copyright Notice