public interface DocumentRepositoryProducer
Repository| Modifier and Type | Method and Description |
|---|---|
<E,ID,T extends Repository<E,ID>> |
get(Class<T> repositoryClass,
org.jnosql.diana.api.document.DocumentCollectionManager manager)
Produces a Repository class from repository class and
DocumentCollectionManager |
<E,ID,T extends Repository<E,ID>> |
get(Class<T> repositoryClass,
DocumentTemplate template)
Produces a Repository class from repository class and
DocumentTemplate |
<E,ID,T extends Repository<E,ID>> T get(Class<T> repositoryClass, org.jnosql.diana.api.document.DocumentCollectionManager manager)
DocumentCollectionManagerE - the entity of repositoryID - the ID of the entityT - the repository typerepositoryClass - the repository classmanager - the managerRepository interfaceNullPointerException - when there is null parameter<E,ID,T extends Repository<E,ID>> T get(Class<T> repositoryClass, DocumentTemplate template)
DocumentTemplateE - the entity of repositoryID - the ID of the entityT - the repository typerepositoryClass - the repository classtemplate - the templateRepository interfaceNullPointerException - when there is null parameterCopyright © 2018. All rights reserved.