-
- All Implemented Interfaces:
-
edu.wgu.osmt.keyword.KeywordRepository
@Repository()@Transactional() public final class KeywordRepositoryImpl implements KeywordRepository
-
-
Field Summary
Fields Modifier and Type Field Description private KeywordEsRepokeywordEsRepoprivate final KeywordDao.Companiondaoprivate final KeywordTabletableprivate final AppConfigappConfig
-
Constructor Summary
Constructors Constructor Description KeywordRepositoryImpl(AppConfig appConfig)
-
Method Summary
Modifier and Type Method Description final KeywordEsRepogetKeywordEsRepo()final UnitsetKeywordEsRepo(@Autowired() @Lazy() KeywordEsRepo keywordEsRepo)KeywordDao.CompaniongetDao()KeywordTablegetTable()final AppConfiggetAppConfig()SizedIterable<KeywordDao>findAll()KeywordDaofindById(Long id)SizedIterable<KeywordDao>findByType(KeywordTypeEnum type)KeywordDaogetDefaultAuthor()KeywordDaofindOrCreate(KeywordTypeEnum type, String value, String uri, String framework)KeywordDaofindByValueOrUri(KeywordTypeEnum type, String value, String uri, String framework)KeywordDaocreate(KeywordTypeEnum type, String value, String uri, String framework)-
-
Constructor Detail
-
KeywordRepositoryImpl
KeywordRepositoryImpl(AppConfig appConfig)
-
-
Method Detail
-
getKeywordEsRepo
final KeywordEsRepo getKeywordEsRepo()
-
setKeywordEsRepo
final Unit setKeywordEsRepo(@Autowired() @Lazy() KeywordEsRepo keywordEsRepo)
-
getDao
KeywordDao.Companion getDao()
-
getTable
KeywordTable getTable()
-
getAppConfig
final AppConfig getAppConfig()
-
findAll
SizedIterable<KeywordDao> findAll()
-
findById
KeywordDao findById(Long id)
-
findByType
SizedIterable<KeywordDao> findByType(KeywordTypeEnum type)
-
getDefaultAuthor
KeywordDao getDefaultAuthor()
-
findOrCreate
KeywordDao findOrCreate(KeywordTypeEnum type, String value, String uri, String framework)
-
findByValueOrUri
KeywordDao findByValueOrUri(KeywordTypeEnum type, String value, String uri, String framework)
-
create
KeywordDao create(KeywordTypeEnum type, String value, String uri, String framework)
-
-
-
-