Class MultiMatchResource
java.lang.Object
dev.getelements.elements.rest.matchmaking.MultiMatchResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMatch(MultiMatch match) voidvoiddeleteMatch(String matchId) getMatches(int offset, int count, String search) voidsetMultiMatchService(MultiMatchService matchService) voidsetValidationHelper(ValidationHelper validationHelper) updateMatch(String matchId, MultiMatch match)
-
Constructor Details
-
MultiMatchResource
public MultiMatchResource()
-
-
Method Details
-
getMatches
@GET @Produces("application/json") public Pagination<MultiMatch> getMatches(@QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("count") @DefaultValue("20") int count, @QueryParam("search") String search) -
getMatch
@GET @Path("{matchId}") @Produces("application/json") public MultiMatch getMatch(@PathParam("matchId") String matchId) -
createMatch
@POST @Consumes("application/json") @Produces("application/json") public MultiMatch createMatch(MultiMatch match) -
updateMatch
@PUT @Path("{matchId}") @Consumes("application/json") @Produces("application/json") public MultiMatch updateMatch(@PathParam("matchId") String matchId, MultiMatch match) -
deleteMatch
@DELETE @Path("{matchId}") @Produces("application/json") public void deleteMatch(@PathParam("matchId") String matchId) -
deleteAllMatches
@DELETE @Produces("application/json") public void deleteAllMatches() -
getMultiMatchService
-
setMultiMatchService
-
getValidationHelper
-
setValidationHelper
-