Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

NotificationTypes::EventTypeRepository Interface Reference

An interface for EventTypeRepository objects. More...

import "NotificationTypes.idl";

Inherits NotificationTypes::EventTypeRepositoryClass.

List of all members.

Public Methods

StringSet supported_domains () raises (Reflective::SemanticError)
 Return an array of the domains supported by this repository. More...

EventType lookup (in string name, in string domain) raises (InvalidName, TypeNotFound, UnknownDomain, Reflective::SemanticError)
 Lookup an event type in the repository. More...

EventTypeUList events_in_domain (in string domain) raises (UnknownDomain, Reflective::SemanticError)
 Returns all the events within a domain. More...


Detailed Description

An interface for EventTypeRepository objects.

This is used to query the singleton repository.


Member Function Documentation

EventTypeUList NotificationTypes::EventTypeRepository::events_in_domain in string    domain raises (UnknownDomain, Reflective::SemanticError)
 

Returns all the events within a domain.

m <code>domain</code> - The domain to search.
@raises UnknownDomain If domain is not supported by this repository. @raises SemanticError Not used by this implementation.

EventType NotificationTypes::EventTypeRepository::lookup in string    name,
in string    domain
raises (InvalidName, TypeNotFound, UnknownDomain, Reflective::SemanticError)
 

Lookup an event type in the repository.

Since the name is unique within each domain, a maximum of one event type with a given name and domain will exist.

m <code>name</code> - The name of the event type.
m <code>domain</code> - The domain of the event type.
@raises InvalidName If the name has zero length. @raises TypeNotFound If the event type was not found. @raises UnknownDomain If domain is not supported by this repository. @raises SemanticError Not used by this implementation.

StringSet NotificationTypes::EventTypeRepository::supported_domains   raises (Reflective::SemanticError)
 

Return an array of the domains supported by this repository.

Returns:
String array of domains. @raises SemanticError Not used by this implementation.