Package org.apache.ofbiz.entity.util
Class EntityDataLoader
java.lang.Object
org.apache.ofbiz.entity.util.EntityDataLoader
Some utility routines for loading seed data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
generateData
(Delegator delegator, List<Object> errorMessages) static String
getPathsString
(String helperName) getUrlByComponentList
(String helperName, List<String> components) getUrlList
(String helperName) getUrlList
(String helperName, String componentName) getUrlList
(String helperName, String componentName, List<E> readerNames) getUrlList
(String helperName, List<E> readerNames) static int
static int
loadData
(URL dataUrl, String helperName, Delegator delegator, List<Object> errorMessages, int txTimeout) static int
loadData
(URL dataUrl, String helperName, Delegator delegator, List<Object> errorMessages, int txTimeout, boolean dummyFks, boolean maintainTxs, boolean tryInsert) static int
loadData
(URL dataUrl, String helperName, Delegator delegator, List<Object> errorMessages, int txTimeout, boolean dummyFks, boolean maintainTxs, boolean tryInsert, boolean continueOnFail)
-
Constructor Details
-
EntityDataLoader
public EntityDataLoader()
-
-
Method Details
-
getPathsString
-
getUrlList
-
getUrlList
-
getUrlList
-
getUrlList
-
getUrlByComponentList
-
getUrlByComponentList
-
loadData
public static int loadData(URL dataUrl, String helperName, Delegator delegator, List<Object> errorMessages) throws GenericEntityException - Throws:
GenericEntityException
-
loadData
public static int loadData(URL dataUrl, String helperName, Delegator delegator, List<Object> errorMessages, int txTimeout) throws GenericEntityException - Throws:
GenericEntityException
-
loadData
public static int loadData(URL dataUrl, String helperName, Delegator delegator, List<Object> errorMessages, int txTimeout, boolean dummyFks, boolean maintainTxs, boolean tryInsert) throws GenericEntityException - Throws:
GenericEntityException
-
loadData
public static int loadData(URL dataUrl, String helperName, Delegator delegator, List<Object> errorMessages, int txTimeout, boolean dummyFks, boolean maintainTxs, boolean tryInsert, boolean continueOnFail) throws GenericEntityException - Throws:
GenericEntityException
-
generateData
public static int generateData(Delegator delegator, List<Object> errorMessages) throws GenericEntityException - Throws:
GenericEntityException
-