Package org.openbravo.reference.ui
Class UIReferenceUtility
- java.lang.Object
-
- org.openbravo.reference.ui.UIReferenceUtility
-
public class UIReferenceUtility extends Object
Utility methods used by UIRefernce classes
-
-
Field Summary
Fields Modifier and Type Field Description static String
INACTIVE_DATA
-
Constructor Summary
Constructors Constructor Description UIReferenceUtility()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkTableTranslation(ComboTableData comboTableData, String tableName, FieldProvider field, String reference)
Checks if the table has a translated table, making the joins to the translated one.
-
-
-
Field Detail
-
INACTIVE_DATA
public static final String INACTIVE_DATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkTableTranslation
public static boolean checkTableTranslation(ComboTableData comboTableData, String tableName, FieldProvider field, String reference) throws Exception
Checks if the table has a translated table, making the joins to the translated one.- Parameters:
comboTableData
-tableName
- Name of the table.field
- Name of the field.reference
- Id of the reference.- Returns:
- Boolean to indicate if the translated table has been found.
- Throws:
Exception
-
-