Search in sources :

Example 1 with SearchAdapter

use of io.lumeer.core.adapter.SearchAdapter in project engine by Lumeer.

the class SearchFacade method init.

@PostConstruct
public void init() {
    constraintManager = ConstraintManager.getInstance(configurationProducer);
    language = requestDataKeeper.getUserLanguage();
    timezone = requestDataKeeper.getTimezone();
    documentAdapter = new DocumentAdapter(resourceCommentDao, favoriteItemDao);
    linkInstanceAdapter = new LinkInstanceAdapter(resourceCommentDao);
    searchAdapter = new SearchAdapter(permissionsChecker.getPermissionAdapter(), constraintManager, documentDao, dataDao, linkInstanceDao, linkDataDao);
}
Also used : LinkInstanceAdapter(io.lumeer.core.adapter.LinkInstanceAdapter) SearchAdapter(io.lumeer.core.adapter.SearchAdapter) DocumentAdapter(io.lumeer.core.adapter.DocumentAdapter) PostConstruct(javax.annotation.PostConstruct)

Aggregations

DocumentAdapter (io.lumeer.core.adapter.DocumentAdapter)1 LinkInstanceAdapter (io.lumeer.core.adapter.LinkInstanceAdapter)1 SearchAdapter (io.lumeer.core.adapter.SearchAdapter)1 PostConstruct (javax.annotation.PostConstruct)1