com.ibm.portal.pcm.events
Interface ContextToPayloadMapper
-
public interface ContextToPayloadMapper
Mapper to create the event payload to be send to the next portlet(s) in a dialog flow.
- Since:
- 8.0.0
Method Summary
|
java.io.Serializable |
contextToPayload(DCXData dcxData,
javax.xml.namespace.QName dcxKey,
java.lang.Class<?> targetClass)
Creates the serializable payload to be send to the next portlet in the dialog flow. |
contextToPayload
java.io.Serializable contextToPayload(DCXData dcxData,
javax.xml.namespace.QName dcxKey,
java.lang.Class<?> targetClass)
- Creates the serializable payload to be send to the next portlet in the dialog flow.
- Parameters:
- dcxData - The DCXData of the current dialog instance. Must not be null.
- dcxKey - The DCX key of the object in the DCX data, that should be used for mapping.
- targetClass - The class of the value which is associated with the DCX key in the DCX data.
- Returns:
- The payload for the event send to the next Portlet. May be null.