Class XMLContentLoader
java.lang.Object
org.apache.syncope.core.persistence.common.content.AbstractXMLContentLoader
org.apache.syncope.core.persistence.neo4j.content.XMLContentLoader
- All Implemented Interfaces:
ContentDealer
,ContentLoader
,SyncopeCoreLoader
,Ordered
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DomainHolder
<org.neo4j.driver.Driver> protected final Resource
protected final org.springframework.data.neo4j.core.mapping.Neo4jMappingContext
Fields inherited from class org.apache.syncope.core.persistence.common.content.AbstractXMLContentLoader
env, LOG
Fields inherited from interface org.apache.syncope.core.persistence.api.content.ContentDealer
ROOT_ELEMENT
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionXMLContentLoader
(DomainHolder<org.neo4j.driver.Driver> domainHolder, org.springframework.data.neo4j.core.mapping.Neo4jMappingContext mappingContext, Resource indexesXML, Environment env) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createIndexes
(String domain) protected void
createViews
(String domain) protected boolean
existingData
(String domain) protected void
loadDefaultContent
(String domain, String contentXML) Methods inherited from class org.apache.syncope.core.persistence.common.content.AbstractXMLContentLoader
getOrder, load, saxParser
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.syncope.core.persistence.api.SyncopeCoreLoader
load, unload, unload
-
Field Details
-
domainHolder
-
mappingContext
protected final org.springframework.data.neo4j.core.mapping.Neo4jMappingContext mappingContext -
indexesXML
-
-
Constructor Details
-
XMLContentLoader
public XMLContentLoader(DomainHolder<org.neo4j.driver.Driver> domainHolder, org.springframework.data.neo4j.core.mapping.Neo4jMappingContext mappingContext, Resource indexesXML, Environment env)
-
-
Method Details
-
existingData
- Specified by:
existingData
in classAbstractXMLContentLoader
-
createViews
- Specified by:
createViews
in classAbstractXMLContentLoader
-
createIndexes
- Specified by:
createIndexes
in classAbstractXMLContentLoader
- Throws:
IOException
-
loadDefaultContent
- Specified by:
loadDefaultContent
in classAbstractXMLContentLoader
- Throws:
Exception
-