org.mule.examples.leagues
Class LeagueAPI

java.lang.Object
  extended by org.mule.examples.leagues.LeagueAPI

public class LeagueAPI
extends Object


Constructor Summary
LeagueAPI()
           
 
Method Summary
 String addTeam(Team team)
           
 void deleteTeam(String teamId)
           
 Fixture getFixture()
           
 Match getMatch(String homeTeamId, String awayTeamId)
           
 Positions getPositions()
           
 Team getTeam(String teamId)
           
 Teams getTeams(String orderByCity)
           
 void initialize()
           
 void updateScore(String homeTeamId, String awayTeamId, Score score)
           
 void updateTeam(String teamId, UpdateTeam updateTeam)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeagueAPI

public LeagueAPI()
Method Detail

initialize

public void initialize()

deleteTeam

public void deleteTeam(String teamId)
                throws org.mule.module.apikit.exception.MuleRestException
Throws:
org.mule.module.apikit.exception.MuleRestException

getTeams

public Teams getTeams(String orderByCity)

getMatch

public Match getMatch(String homeTeamId,
                      String awayTeamId)
               throws org.mule.module.apikit.exception.MuleRestException
Throws:
org.mule.module.apikit.exception.MuleRestException

getTeam

public Team getTeam(String teamId)
             throws org.mule.module.apikit.exception.MuleRestException
Throws:
org.mule.module.apikit.exception.MuleRestException

getPositions

public Positions getPositions()
                       throws org.mule.module.apikit.exception.MuleRestException
Throws:
org.mule.module.apikit.exception.MuleRestException

getFixture

public Fixture getFixture()

addTeam

public String addTeam(Team team)
               throws org.mule.module.apikit.exception.MuleRestException
Throws:
org.mule.module.apikit.exception.MuleRestException

updateScore

public void updateScore(String homeTeamId,
                        String awayTeamId,
                        Score score)
                 throws org.mule.module.apikit.exception.MuleRestException
Throws:
org.mule.module.apikit.exception.MuleRestException

updateTeam

public void updateTeam(String teamId,
                       UpdateTeam updateTeam)
                throws org.mule.module.apikit.exception.MuleRestException
Throws:
org.mule.module.apikit.exception.MuleRestException


Copyright © 2013. All rights reserved.