public class BusinessObjectFieldConverter extends Object
| Constructor and Description |
|---|
BusinessObjectFieldConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Map |
convertFromTransactionFieldValues(Map fieldValues)
This method converts the field values from GL transaction to normal GL business objects
|
static String |
convertFromTransactionPropertyName(String propertyName)
This method converts the property name of a normal business object from GL transaction
|
static List |
convertToTransactionFields(List fields)
This method converts the field values from normal GL business objects to GL transaction
|
static Map |
convertToTransactionFieldValues(Map fieldValues)
This method converts the field values from normal GL business objects to GL transaction
|
static String |
convertToTransactionPropertyName(String propertyName)
This method converts the property name of a normal business object to GL transaction
|
static void |
escapeSingleQuote(Map fieldValues)
Escapes any single quotes in map name/property values
|
static void |
escapeSpecialCharacter(Map fieldValues,
String specialCharacter,
String replacement)
Escapes any special characters in map name/property values
|
public BusinessObjectFieldConverter()
public static List convertToTransactionFields(List fields)
fields - list of fields in GL business objectpublic static Map convertToTransactionFieldValues(Map fieldValues)
fieldValues - the map of field values for normal GL business objectspublic static String convertToTransactionPropertyName(String propertyName)
propertyName - the property name of a normal business objectpublic static String convertFromTransactionPropertyName(String propertyName)
propertyName - the property name of GL transactionpublic static Map convertFromTransactionFieldValues(Map fieldValues)
fieldValues - the map of field values for GL transactionpublic static void escapeSpecialCharacter(Map fieldValues, String specialCharacter, String replacement)
fieldValues - map of field keys and their valuesspecialCharacter - special characters to replacereplacement - value to replace special characters withpublic static void escapeSingleQuote(Map fieldValues)
fieldValues - Copyright © 2004–2014 The Kuali Foundation. All rights reserved.