|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sapportals.wcm.util.events.AbstractEventMapper
A base class to derive event mapper implementations.
Copyright (c) SAP AG 2001-2002
IEventMapper| Field Summary | |
protected static java.lang.String |
CONFIG_NAME_TAG
|
protected java.lang.String |
m_ID
The system id for this mapper. |
protected java.util.Properties |
m_Properties
The properties for this mapper. |
| Constructor Summary | |
protected |
AbstractEventMapper(java.lang.String id,
java.util.Properties properties)
Create a mapper with a specific id from the given properties. |
| Method Summary | |
java.lang.String |
getDescription()
Get the mapper's displayable name. |
java.lang.String |
getDescription(java.util.Locale locale)
Get the mapper's displayable name for a specific locale. |
IEventList |
getEvents(IEventBroker broker)
Get a list of available mapped events for a given broker. |
java.lang.String |
getID()
Get the mapper's unique system id. |
abstract IEvent |
map(IEvent event)
Map an IEvent to another IEvent .Note : It's a good idea, to pass the original (unmapped) event as the mapped event's parameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.lang.String CONFIG_NAME_TAG
protected java.lang.String m_ID
protected java.util.Properties m_Properties
| Constructor Detail |
protected AbstractEventMapper(java.lang.String id,
java.util.Properties properties)
throws WcmException
id - TBD: Description of the incoming method parameterproperties - TBD: Description of the incoming method parameterWcmException - Exception raised in failure situation| Method Detail |
public java.lang.String getID()
IEventMappergetID in interface IEventMappercom.sapportals.wcm.util.events.IEventMapperString with the mapper's system id.public java.lang.String getDescription()
IEventMappergetDescription in interface IEventMappercom.sapportals.wcm.util.events.IEventMapperString with the mapper's displayable name.public java.lang.String getDescription(java.util.Locale locale)
IEventMappergetDescription in interface IEventMappercom.sapportals.wcm.util.events.IEventMapperlocale - a Locale defining the language to get the name
for.String with the mapper's displayable name in the
given locale.public abstract IEvent map(IEvent event)
IEventMapperIEvent to another IEvent .map in interface IEventMappercom.sapportals.wcm.util.events.IEventMapperevent - the IEvent to map.IEvent corresponding to the given event or
null , if the event is to be ignored (not mapped).public IEventList getEvents(IEventBroker broker)
IEventMappergetEvents in interface IEventMappercom.sapportals.wcm.util.events.IEventMapperbroker - the IEventBroker to get the supported events
for.IEventList with all available mapped events.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||