Class GameService

java.lang.Object
org.api.mkm.services.GameService

public class GameService
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    GameService()  
  • Method Summary

    Modifier and Type Method Description
    Game getGame​(int id)  
    java.util.List<Category> listCategories()  
    java.util.List<Expansion> listExpansion​(java.lang.Integer id)  
    java.util.List<Expansion> listExpansion​(Game g)  
    java.util.List<Game> listGames()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GameService

      public GameService()
  • Method Details

    • getGame

      public Game getGame​(int id) throws java.io.IOException
      Throws:
      java.io.IOException
    • listGames

      public java.util.List<Game> listGames() throws java.io.IOException
      Throws:
      java.io.IOException
    • listExpansion

      public java.util.List<Expansion> listExpansion​(java.lang.Integer id) throws java.io.IOException
      Throws:
      java.io.IOException
    • listExpansion

      public java.util.List<Expansion> listExpansion​(Game g) throws java.io.IOException
      Throws:
      java.io.IOException
    • listCategories

      public java.util.List<Category> listCategories() throws java.io.IOException
      Throws:
      java.io.IOException