use of edu.stanford.bmir.protege.web.shared.issues.GetEntityDiscussionThreadsResult in project webprotege by protegeproject.
the class GetEntityDiscussionThreadsHandler method execute.
@Nonnull
@Override
public GetEntityDiscussionThreadsResult execute(@Nonnull GetEntityDiscussionThreadsAction action, @Nonnull ExecutionContext executionContext) {
List<EntityDiscussionThread> threads = repository.findThreads(action.getProjectId(), action.getEntity());
OWLEntityData entityData = renderingManager.getRendering(action.getEntity());
return new GetEntityDiscussionThreadsResult(entityData, ImmutableList.copyOf(threads));
}
Aggregations