@Component(value="core_FetchPlanLoader")
public class FetchPlanLoader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FetchPlanLoader.FetchPlanInfo |
Modifier and Type | Field and Description |
---|---|
protected FetchPlans |
fetchPlans |
protected Metadata |
metadata |
Constructor and Description |
---|
FetchPlanLoader() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkDuplicates(org.dom4j.Element rootElem) |
FetchPlanBuilder |
getFetchPlanBuilder(FetchPlanLoader.FetchPlanInfo fetchPlanInfo,
java.util.function.Function<java.lang.String,FetchPlan> ancestorFetchPlanResolver) |
java.util.List<org.dom4j.Element> |
getFetchPlanElements(org.dom4j.Element element) |
FetchPlanLoader.FetchPlanInfo |
getFetchPlanInfo(org.dom4j.Element fetchPlanElement) |
FetchPlanLoader.FetchPlanInfo |
getFetchPlanInfo(org.dom4j.Element fetchPlanElement,
MetaClass providedMetaClass) |
protected java.lang.String |
getFetchPlanName(org.dom4j.Element fetchPlanElem) |
protected MetaClass |
getMetaClass(org.dom4j.Element fetchPlanElem) |
protected MetaClass |
getMetaClass(org.dom4j.Element propElem,
Range range) |
protected MetaClass |
getMetaClass(java.lang.String entityName,
java.lang.String entityClass) |
void |
loadFetchPlanProperties(org.dom4j.Element fetchPlanElem,
FetchPlanBuilder fetchPlanBuilder,
boolean systemProperties,
java.util.function.BiFunction<MetaClass,java.lang.String,FetchPlan> refFetchPlanResolver) |
void |
setMetadata(Metadata metadata) |
protected java.util.List<java.lang.String> |
splitExtends(java.lang.String extend) |
protected Metadata metadata
@Autowired protected FetchPlans fetchPlans
@Autowired public void setMetadata(Metadata metadata)
public java.util.List<org.dom4j.Element> getFetchPlanElements(org.dom4j.Element element)
public FetchPlanLoader.FetchPlanInfo getFetchPlanInfo(org.dom4j.Element fetchPlanElement)
public FetchPlanLoader.FetchPlanInfo getFetchPlanInfo(org.dom4j.Element fetchPlanElement, @Nullable MetaClass providedMetaClass)
public FetchPlanBuilder getFetchPlanBuilder(FetchPlanLoader.FetchPlanInfo fetchPlanInfo, java.util.function.Function<java.lang.String,FetchPlan> ancestorFetchPlanResolver)
public void loadFetchPlanProperties(org.dom4j.Element fetchPlanElem, FetchPlanBuilder fetchPlanBuilder, boolean systemProperties, java.util.function.BiFunction<MetaClass,java.lang.String,FetchPlan> refFetchPlanResolver)
protected java.lang.String getFetchPlanName(org.dom4j.Element fetchPlanElem)
protected MetaClass getMetaClass(org.dom4j.Element fetchPlanElem)
protected MetaClass getMetaClass(java.lang.String entityName, java.lang.String entityClass)
protected void checkDuplicates(org.dom4j.Element rootElem)
protected java.util.List<java.lang.String> splitExtends(java.lang.String extend)