com.sap.netweaver.bc.uwl.connect

Class IAlertConnector.AlertCategory

java.lang.Object
  extended by com.sap.netweaver.bc.uwl.connect.IAlertConnector.AlertCategory
Enclosing interface:
IAlertConnector

public static class IAlertConnector.AlertCategory
extends Object

This class encapsulates the alert category, aggregating the same category for multiple systems


Constructor Summary
IAlertConnector.AlertCategory(String categoryId, String category, String classification, String classificationText, boolean subscribed, String systemId)
           
 
Method Summary
 void addSystem(String systemId)
          adds a system alias if the same alert category exists on more than one system
 boolean equals(Object obj)
          compares alert categories to determine if the same category is available for more than one system.
 String getCategory()
           
 String getCategoryId()
           
 String getClassification()
           
 String getClassificationText()
           
 List getSystemsId()
           
 boolean isPartiallySubscribed()
           
 boolean isSubscribed()
           
 void setPartiallySubscribed(boolean b)
          Sets the flag indicating that the alert category is subscribed only on some of the registered systems.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IAlertConnector.AlertCategory

public IAlertConnector.AlertCategory(String categoryId,
                                     String category,
                                     String classification,
                                     String classificationText,
                                     boolean subscribed,
                                     String systemId)
Method Detail

addSystem

public void addSystem(String systemId)
adds a system alias if the same alert category exists on more than one system

Parameters:
systemId - - system alias where the same alert category is found

getCategory

public String getCategory()
Returns:
alert category description

getCategoryId

public String getCategoryId()
Returns:
alert category id

getClassification

public String getClassification()
Returns:
alert category classification id

isSubscribed

public boolean isSubscribed()
Returns:
flag indicating that the alert category is subscribed on all the systems

getSystemsId

public List getSystemsId()
Returns:
a list of system aliases where this alert category for subscription exists

getClassificationText

public String getClassificationText()
Returns:
alert category classification description

equals

public boolean equals(Object obj)
compares alert categories to determine if the same category is available for more than one system. Two alert categories are considered the same if they have the same category id and classification id.

Overrides:
equals in class Object

isPartiallySubscribed

public boolean isPartiallySubscribed()
Returns:
a flag indicating that the alert category is subscribed only on some of the registered systems.

setPartiallySubscribed

public void setPartiallySubscribed(boolean b)
Sets the flag indicating that the alert category is subscribed only on some of the registered systems.

Parameters:
b - true if the alert category is subscribed only on some of the registered systems.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] UWLJWF [sap.com] tc/kmc/bc.uwl/api default EP-BC-UWL
[sap.com] UWLJWF [sap.com] tc/kmc/bc.uwl/api - EP-BC-UWL


Copyright 2011 SAP AG Complete Copyright Notice