Show TOC Start of Content Area

Example Class Structure: Event Helper  Locate the document in its SAP Library structure

The class EventHelper is provided by the CAF runtime to decompose data that is provided in a framework event sent via a JMS message. The class is initialized with the JMS message. This class can be used to access data using a number of methods. An example is as follows.

Example

public class EventHelper implements IEventMessageProps {

public EventHelper(ObjectMessage jmsMsg) throws JMSException {…}

public Object getOldValue(String propName) {…}

public Object getNewValue(String propName) {…}

public Object getOldDynamicValue(String propName) {…}

public Object getNewDynamicValue(String propName) {..}

public Map getProperties() {…}

public String getEntityName() throws JMSException {…}

public String getEntityKey() throws JMSException {…}

public String getOperation() throws JMSException {…}

public boolean getTACommitted() throws JMSException {…}

public String getOriginator() throws JMSException {…}

public String toString() {…}

}

 

End of Content Area