Search in sources :

Example 1 with GetPerspectiveLayoutResult

use of edu.stanford.bmir.protege.web.shared.perspective.GetPerspectiveLayoutResult in project webprotege by protegeproject.

the class GetPerspectiveLayoutActionHandler method execute.

@Nonnull
@Override
public GetPerspectiveLayoutResult execute(@Nonnull GetPerspectiveLayoutAction action, @Nonnull ExecutionContext executionContext) {
    PerspectiveId perspectiveId = action.getPerspectiveId();
    ProjectId projectId = action.getProjectId();
    UserId userId = action.getUserId();
    PerspectiveLayout perspectiveLayout = perspectiveLayoutStore.getPerspectiveLayout(projectId, userId, perspectiveId);
    return new GetPerspectiveLayoutResult(perspectiveLayout);
}
Also used : UserId(edu.stanford.bmir.protege.web.shared.user.UserId) ProjectId(edu.stanford.bmir.protege.web.shared.project.ProjectId) PerspectiveId(edu.stanford.bmir.protege.web.shared.perspective.PerspectiveId) PerspectiveLayout(edu.stanford.bmir.protege.web.shared.perspective.PerspectiveLayout) GetPerspectiveLayoutResult(edu.stanford.bmir.protege.web.shared.perspective.GetPerspectiveLayoutResult) Nonnull(javax.annotation.Nonnull)

Aggregations

GetPerspectiveLayoutResult (edu.stanford.bmir.protege.web.shared.perspective.GetPerspectiveLayoutResult)1 PerspectiveId (edu.stanford.bmir.protege.web.shared.perspective.PerspectiveId)1 PerspectiveLayout (edu.stanford.bmir.protege.web.shared.perspective.PerspectiveLayout)1 ProjectId (edu.stanford.bmir.protege.web.shared.project.ProjectId)1 UserId (edu.stanford.bmir.protege.web.shared.user.UserId)1 Nonnull (javax.annotation.Nonnull)1