public class BidiUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
bidiTransformInboundData(byte[] data,
java.lang.String bidiFormat)
Performs the Bidi transformation for the passed data according to the provided Bidi format
|
static byte[] |
bidiTransformInboundData(java.lang.String extSystemName,
byte[] data)
Performs the Bidi transformation for the passed data according to the provided external system's Bidi format
|
static byte[] |
bidiTransformOutboundData(byte[] data,
java.lang.String bidiFormat)
Performs the Bidi transformation for the passed data according to the provided Bidi format
|
static java.lang.String |
getBidiFormat(java.lang.String extSystemName)
Returns the Bidi format from an external system identified by its name
|
public static java.lang.String getBidiFormat(java.lang.String extSystemName) throws MXException
extSystemName
- the external system that posts the data to Maximo platformMXException
- thrown from ExtSystemCache's getInstance()public static byte[] bidiTransformInboundData(java.lang.String extSystemName, byte[] data) throws MXException
data
- the XML document in byte arrayextSystem
- the external system that posts the data to Maximo platformMXException
- any error while transformation process will pass thru to caller to handlepublic static byte[] bidiTransformInboundData(byte[] data, java.lang.String bidiFormat) throws MXException
data
- the XML document in byte arraybidiFormat
- the external system's bidi format to transform the data from.MXException
- any error while transformation process will pass thru to caller to handlepublic static byte[] bidiTransformOutboundData(byte[] data, java.lang.String bidiFormat) throws MXException
data
- the XML document in byte arraybidiFormat
- the external system's bidi format to transform the data to.MXException
- any error while transformation process will pass thru to caller to handle