public interface DocumentRepositoryProducer
Repository| Modifier and Type | Method and Description |
|---|---|
<T,K,R extends Repository<T,K>> |
get(Class<R> repositoryClass,
DocumentCollectionManager manager)
Produces a Repository class from repository class and
DocumentCollectionManager |
<T,K,R extends Repository<T,K>> |
get(Class<R> repositoryClass,
DocumentTemplate template)
Produces a Repository class from repository class and
DocumentTemplate |
<T,K,R extends Repository<T,K>> R get(Class<R> repositoryClass, DocumentCollectionManager manager)
DocumentCollectionManagerT - the entity of repositoryK - the K of the entityR - the repository typerepositoryClass - the repository classmanager - the managerRepository interfaceNullPointerException - when there is null parameter<T,K,R extends Repository<T,K>> R get(Class<R> repositoryClass, DocumentTemplate template)
DocumentTemplateT - the entity of repositoryK - the K of the entityR - the repository typerepositoryClass - the repository classtemplate - the templateRepository interfaceNullPointerException - when there is null parameterCopyright © 2017–2021 Eclipse Foundation. All rights reserved.