public class LSNRParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.Hashtable<java.lang.String,java.lang.String> |
msgHash |
Constructor and Description |
---|
LSNRParser() |
Modifier and Type | Method and Description |
---|---|
int |
emailFormatMode(MboRemote inboundComm)
Method to return format mode for the message body.
|
java.lang.String |
getActionName(MboRemote inboundComm,
int formatMode)
Returns the action name specified in message body
|
java.util.Hashtable |
getAttributeValues(MboRemote inboundComm,
int formatMode)
Returns a hashtable of mbo attribute name and value specified in message body
|
java.lang.String |
getObjectName(MboRemote inboundComm,
int formatMode)
Get the object name for the formatted name
|
java.lang.String[] |
getPrimaryKeyCols(MboRemote inboundComm)
Gets the array of key columns for the object specified in message body
|
java.lang.String |
getResultColumnsForQuery(MboRemote inboundComm,
int formatMode)
Returns a string containing all result columns for query action
separated by comma.
|
java.lang.String |
getWhereClauseForQuery(MboRemote inboundComm,
int formatMode)
Returns the where condition specified in message body
|
boolean |
isPrimaryKeyProvided(MboRemote inboundComm,
java.lang.String objectName,
java.util.Hashtable has)
Checks if primary keys are provided for the object secified in message body
|
java.util.Hashtable |
readFormattedMessageToHashtable(MboRemote inboundComm,
int formatMode)
Parse the message body and puts attribute and value into hashtable.
|
public int emailFormatMode(MboRemote inboundComm) throws LSNRParseException
InboundCommMbo
- LSNRParseException
public java.lang.String getObjectName(MboRemote inboundComm, int formatMode) throws LSNRParseException
inboundComm
- formatMode
- 1 for attribute-value or 2 for XMLLSNRParseException
emailFormatMode
public java.lang.String getActionName(MboRemote inboundComm, int formatMode) throws LSNRParseException
inboundComm
- formatMode
- 1 for attribute-value or 2 for XMLLSNRParseException
emailFormatMode
public boolean isPrimaryKeyProvided(MboRemote inboundComm, java.lang.String objectName, java.util.Hashtable has) throws LSNRParseException
inboundComm
- objectName
- hash
- table without listener key wordsLSNRParseException
getAttributeValues
public java.lang.String[] getPrimaryKeyCols(MboRemote inboundComm) throws LSNRParseException
inboundComm
- LSNRParseException
public java.util.Hashtable getAttributeValues(MboRemote inboundComm, int formatMode) throws LSNRParseException
inboundComm
- formatMode
- 1 for attribute-value or 2 for XMLLSNRParseException
emailFormatMode
public java.util.Hashtable readFormattedMessageToHashtable(MboRemote inboundComm, int formatMode) throws LSNRParseException
inboundComm
- formatMode
- 1 for attribute-value or 2 for XMLLSNRParseException
emailFormatMode
public java.lang.String getWhereClauseForQuery(MboRemote inboundComm, int formatMode) throws LSNRParseException
inboundComm
- formatMode
- 1 for attribute-value or 2 for XMLLSNRParseException
emailFormatMode
public java.lang.String getResultColumnsForQuery(MboRemote inboundComm, int formatMode) throws LSNRParseException
inboundComm
- formatMode
- 1 for attribute-value or 2 for XMLLSNRParseException
emailFormatMode