public class JpaContentManager extends java.lang.Object implements ContentManager
Constructor and Description |
---|
JpaContentManager(io.reactivex.subjects.Subject<TemplateEvent> topic,
GitRepository repository,
javax.persistence.EntityManager entityManager,
Template template,
GraphSerializationContext graphContext,
org.springframework.transaction.PlatformTransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
close(io.sunshower.persistence.core.DistributableEntity entity) |
void |
close(io.sunshower.common.Identifier id) |
ContentHandler |
contentFor(io.sunshower.persistence.core.DistributableEntity e) |
ContentHandler |
contentFor(io.sunshower.common.Identifier id,
java.lang.Class<?> type) |
ContentHandler |
graphContent() |
public JpaContentManager(io.reactivex.subjects.Subject<TemplateEvent> topic, GitRepository repository, javax.persistence.EntityManager entityManager, Template template, GraphSerializationContext graphContext, org.springframework.transaction.PlatformTransactionManager transactionManager)
public void close(io.sunshower.persistence.core.DistributableEntity entity)
close
in interface ContentManager
public void close(io.sunshower.common.Identifier id)
close
in interface ContentManager
public void close()
close
in interface ContentManager
close
in interface java.lang.AutoCloseable
public ContentHandler graphContent()
graphContent
in interface ContentManager
public ContentHandler contentFor(io.sunshower.persistence.core.DistributableEntity e)
contentFor
in interface ContentManager
public ContentHandler contentFor(io.sunshower.common.Identifier id, java.lang.Class<?> type)
contentFor
in interface ContentManager