Search in sources :

Example 1 with ResourceVariableAdapter

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

the class PusherFacade method init.

@PostConstruct
public void init() {
    constraintManager = ConstraintManager.getInstance(configurationProducer);
    pusherClient = pusherHelperFacade.getPusherClient();
    permissionAdapter = permissionsChecker.getPermissionAdapter();
    collectionAdapter = new CollectionAdapter(collectionDao, favoriteItemDao, documentDao);
    resourceAdapter = new ResourceAdapter(permissionAdapter, collectionDao, linkTypeDao, viewDao, userDao);
    linkTypeAdapter = new LinkTypeAdapter(linkTypeDao, linkInstanceDao);
    viewAdapter = new ViewAdapter(resourceAdapter, favoriteItemDao);
    resourceVariableAdapter = new ResourceVariableAdapter();
    documentAdapter = new DocumentAdapter(resourceCommentDao, favoriteItemDao);
    linkInstanceAdapter = new LinkInstanceAdapter(resourceCommentDao);
    pusherAdapter = new PusherAdapter(getAppId(), getFacadeAdapter(), resourceAdapter, permissionAdapter, viewDao, linkTypeDao, collectionDao);
}
Also used : LinkInstanceAdapter(io.lumeer.core.adapter.LinkInstanceAdapter) PusherAdapter(io.lumeer.core.adapter.PusherAdapter) ResourceAdapter(io.lumeer.core.adapter.ResourceAdapter) DocumentAdapter(io.lumeer.core.adapter.DocumentAdapter) ResourceVariableAdapter(io.lumeer.core.adapter.ResourceVariableAdapter) CollectionAdapter(io.lumeer.core.adapter.CollectionAdapter) LinkTypeAdapter(io.lumeer.core.adapter.LinkTypeAdapter) ViewAdapter(io.lumeer.core.adapter.ViewAdapter) PostConstruct(javax.annotation.PostConstruct)

Aggregations

CollectionAdapter (io.lumeer.core.adapter.CollectionAdapter)1 DocumentAdapter (io.lumeer.core.adapter.DocumentAdapter)1 LinkInstanceAdapter (io.lumeer.core.adapter.LinkInstanceAdapter)1 LinkTypeAdapter (io.lumeer.core.adapter.LinkTypeAdapter)1 PusherAdapter (io.lumeer.core.adapter.PusherAdapter)1 ResourceAdapter (io.lumeer.core.adapter.ResourceAdapter)1 ResourceVariableAdapter (io.lumeer.core.adapter.ResourceVariableAdapter)1 ViewAdapter (io.lumeer.core.adapter.ViewAdapter)1 PostConstruct (javax.annotation.PostConstruct)1