Package org.apache.ofbiz.entity.util
Class EntityDataAssert
- java.lang.Object
-
- org.apache.ofbiz.entity.util.EntityDataAssert
-
public class EntityDataAssert extends java.lang.Object
Some utility routines for loading seed data.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description EntityDataAssert()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
assertData(java.net.URL dataUrl, Delegator delegator, java.util.List<java.lang.Object> errorMessages)
static void
checkSingleValue(GenericValue checkValue, Delegator delegator, java.util.List<java.lang.Object> errorMessages)
static void
checkValueList(java.util.List<GenericValue> valueList, Delegator delegator, java.util.List<java.lang.Object> errorMessages)
-
-
-
Method Detail
-
assertData
public static int assertData(java.net.URL dataUrl, Delegator delegator, java.util.List<java.lang.Object> errorMessages) throws GenericEntityException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
- Throws:
GenericEntityException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
-
checkValueList
public static void checkValueList(java.util.List<GenericValue> valueList, Delegator delegator, java.util.List<java.lang.Object> errorMessages) throws GenericEntityException
- Throws:
GenericEntityException
-
checkSingleValue
public static void checkSingleValue(GenericValue checkValue, Delegator delegator, java.util.List<java.lang.Object> errorMessages) throws GenericEntityException
- Throws:
GenericEntityException
-
-