Search in sources :

Example 1 with AuditAdapter

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

the class AuditFacade method init.

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

Aggregations

AuditAdapter (io.lumeer.core.adapter.AuditAdapter)1 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 PermissionAdapter (io.lumeer.core.adapter.PermissionAdapter)1 PusherAdapter (io.lumeer.core.adapter.PusherAdapter)1 ResourceAdapter (io.lumeer.core.adapter.ResourceAdapter)1 PostConstruct (javax.annotation.PostConstruct)1