|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEventManipulator
A request context that represents input data for the "handleEvents" operation.
Method Summary | |
---|---|
IEventContext |
createEventContext(QName qname)
Create a new EventContext for an event with the specified QName. |
IEventContext |
getEventContext(Event event)
Gets an EventContext object representing the supplied Event, to allow manipulation of the Event's payload, payload encoding or source portlet information. |
List<IEventContext> |
getEventContexts()
Returns a list of IEventContext objects representing the events
in this interceptor context. |
int |
getEventCount()
Returns the number of events in this batch of events. |
List<Event> |
getEvents()
Returns a list of Event s associated with this interceptor context-
being sent to the producer on a RequestContext or received from the producer on
a ResponseContext. |
void |
setEventContexts(List<IEventContext> events)
Sets the supplied list of EventContext objects as the events for this interceptor context. |
void |
setEvents(List<Event> events)
Sets the supplied list of events as events of the current portlet. |
Method Detail |
---|
List<IEventContext> getEventContexts()
IEventContext
objects representing the events
in this interceptor context. The IEventContext objects can be used to manipulate
the payload, payload encoding, and source portlet information before the events
are sent to the producer or distributed on the consumer.
The returned list is modifiable, but is a copy of the list held interally by the
interceptor context, so modifications made to the list will not affect the
interceptor context. To set a new list of events for use in the interceptor context,
use the setEventContexts
method.
void setEventContexts(List<IEventContext> events)
events
- a list of EventContext objectsIEventContext getEventContext(Event event)
event
- the Event to create an EventContext object for.
null
if the specified event cannot be sent over
WSRP.IEventContext createEventContext(QName qname)
qname
- the QName of the event to create an EventContext for.
null
if the specified QName is null,
or is a reserved QName for an event type which cannot be
sent over WSRP. The returned event will have no payload
and no payload origin; see the documentation on
com.bea.wsrp..model.markup.IEventContext
for more information.List<Event> getEvents()
Event
s associated with this interceptor context-
being sent to the producer on a RequestContext or received from the producer on
a ResponseContext.
The returned list is modifiable, but is a copy of the list held interally by the
interceptor context, so modifications made to the list will not affect the
interceptor context. To set a new list of events for use in the context,
use the setEvents
method.
To manipulate an event (change name, payload, payload encoding, etc.) prior
to calling setEvents()
, use the IEventContext
class.
IEventContext
void setEvents(List<Event> events)
events
- a list of events.IEventContext
int getEventCount()
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |