com.sap.mdm.notification
Interface MdmEventRegistrationSet

All Known Implementing Classes:
AbstractEventRegistrationSet

public interface MdmEventRegistrationSet

Generic interface representing a set of notification groups (or event types) that can be registered on the MDM server


Method Summary
 void addEventType(int eventType)
          Add event type to the set
 void addEventTypes(MdmEventRegistrationSet otherSet)
          Add all event types defined in the other set to this set
 void clear()
          Clear this registration set
 boolean containsAllEventTypes(MdmEventRegistrationSet otherSet)
          Check if all event types defined in the specified registration set are contained in this registration set
 boolean containsAnyEventType(MdmEventRegistrationSet otherSet)
          Check if any of event types defined in the specified registration set is contained in this registration set
 boolean containsEventType(int eventType)
          Check if the specified event type is contained in this registration set
 MdmEventRegistrationSet getRegisterDifference(MdmEventRegistrationSet otherSet)
          Returns differential set for registration that includes event types defined in the other set but not defined in this set
 MdmEventRegistrationSet getUnregisterDifference(MdmEventRegistrationSet otherSet)
          Returns differential set for un-registration that includes event types defined in the other set and also defined in this set
 boolean isEmpty()
          Check if this registration set is empty
 void removeEventType(int eventType)
          Remove event type from the set
 void removeEventTypes(MdmEventRegistrationSet otherSet)
          Remove all event types defined in the other set from this set
 

Method Detail

addEventType

public void addEventType(int eventType)
Add event type to the set

Parameters:
eventType - the event type for adding (see constants in the implementation class)

addEventTypes

public void addEventTypes(MdmEventRegistrationSet otherSet)
Add all event types defined in the other set to this set

Parameters:
otherSet - the other registration set

removeEventType

public void removeEventType(int eventType)
Remove event type from the set

Parameters:
eventType - the event type for removing (see constants in the implementation class)

removeEventTypes

public void removeEventTypes(MdmEventRegistrationSet otherSet)
Remove all event types defined in the other set from this set

Parameters:
otherSet - the other registration set

containsEventType

public boolean containsEventType(int eventType)
Check if the specified event type is contained in this registration set

Parameters:
eventType - the event type (see constants in the implementation class)
Returns:
true if the specified event type is part of this set, otherwise false

containsAnyEventType

public boolean containsAnyEventType(MdmEventRegistrationSet otherSet)
Check if any of event types defined in the specified registration set is contained in this registration set

Parameters:
otherSet - the other registration set
Returns:
true if any event type of the specified set is part of this set, otherwise false

containsAllEventTypes

public boolean containsAllEventTypes(MdmEventRegistrationSet otherSet)
Check if all event types defined in the specified registration set are contained in this registration set

Parameters:
otherSet - the other registration set
Returns:
true if all event types of the specified set are part of this set, otherwise false

getRegisterDifference

public MdmEventRegistrationSet getRegisterDifference(MdmEventRegistrationSet otherSet)
Returns differential set for registration that includes event types defined in the other set but not defined in this set

Parameters:
otherSet - the other registration set
Returns:
instance of registration set

getUnregisterDifference

public MdmEventRegistrationSet getUnregisterDifference(MdmEventRegistrationSet otherSet)
Returns differential set for un-registration that includes event types defined in the other set and also defined in this set

Parameters:
otherSet - the other set for un-registration
Returns:
instance of registration set

isEmpty

public boolean isEmpty()
Check if this registration set is empty

Returns:
true if this registration set is empty, otherwise false

clear

public void clear()
Clear this registration set



Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.