package com.kobylynskyi.graphql.interfaces; public interface QueryResolver extends graphql.kickstart.tools.GraphQLQueryResolver { /** * Version of the application. */ @javax.validation.constraints.NotNull String version() throws Exception; /** * List of events of a specified category. */ @javax.validation.constraints.NotNull java.util.Collection eventsByCategoryAndStatus(String categoryId, EventStatusTO status) throws Exception; /** * Single event by ID. */ @javax.validation.constraints.NotNull EventTO eventById(String id) throws Exception; /** * Events by IDs. */ @javax.validation.constraints.NotNull java.util.Collection eventsByIds(java.util.Collection ids) throws Exception; }