public class ImportProcessUtils extends Object
Constructor and Description |
---|
ImportProcessUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getCheckIntProperty(org.apache.log4j.Logger log,
String property,
int defaultValue,
int minValue) |
static String |
getErrorMessage(Throwable e) |
static int |
getIntOpenbravoProperty(String propName,
int defaultValue) |
static String |
getJSONProperty(org.codehaus.jettison.json.JSONObject jsonObject,
String property)
Data send from clients can contain a single data element or be an array.
|
static List<String> |
getOrderedTypesOfData() |
static boolean |
isImportProcessDisabled()
Returns true if the import.disable.process property is set to true, false otherwise
|
static void |
logError(org.apache.log4j.Logger log,
Throwable t) |
public static boolean isImportProcessDisabled()
public static int getCheckIntProperty(org.apache.log4j.Logger log, String property, int defaultValue, int minValue)
public static int getIntOpenbravoProperty(String propName, int defaultValue)
public static void logError(org.apache.log4j.Logger log, Throwable t)
public static String getJSONProperty(org.codehaus.jettison.json.JSONObject jsonObject, String property)