class SessionVote {

    @GET
    @Path("/ratingsBySession")
    @Produces(APPLICATION_JSON)
    @Consumes(APPLICATION_JSON)
    public Collection<SessionRating> allSessionVotes(@QueryParam("sessionId") String sessionId) {
        return selectedSessionRatingDAO.getRatingsBySession(sessionId);
    }

}