|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.businessobject.lookup.BusinessObjectFieldConverter
public class BusinessObjectFieldConverter
This class converts field values from G/L Business Objects to G?L transactions
Constructor Summary | |
---|---|
BusinessObjectFieldConverter()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BusinessObjectFieldConverter()
Method Detail |
---|
public static List convertToTransactionFields(List fields)
fields
- list of fields in GL business object
public static Map convertToTransactionFieldValues(Map fieldValues)
fieldValues
- the map of field values for normal GL business objects
public static String convertToTransactionPropertyName(String propertyName)
propertyName
- the property name of a normal business object
public static String convertFromTransactionPropertyName(String propertyName)
propertyName
- the property name of GL transaction
public static Map convertFromTransactionFieldValues(Map fieldValues)
fieldValues
- the map of field values for GL transaction
public 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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |