1 2 package league.ejb.session; 3 4 import java.util.Collection ; 5 import league.util.League; 6 import league.util.Match; 7 import league.util.Round; 8 9 10 13 public interface LeagueFacadeRemoteBusiness { 14 league.util.League createLeague(java.lang.String name, java.util.Date startDate, java.util.Date endDate, java.lang.String note) throws java.rmi.RemoteException ; 15 16 void createRound(java.lang.Integer leagueId, java.lang.String name, java.util.Date startDate) throws java.rmi.RemoteException ; 17 18 java.util.Collection getPlayersInRound(league.ejb.entity.RoundLocal rl) throws java.rmi.RemoteException ; 19 20 java.lang.Integer createPlayer(java.lang.String name, java.lang.String note, java.lang.String userId) throws java.rmi.RemoteException ; 21 22 void addPlayerToTeam(java.lang.Integer playerId, java.lang.Integer teamId) throws java.rmi.RemoteException ; 23 24 java.lang.Integer createTeam(java.lang.String name, Integer league) throws java.rmi.RemoteException ; 25 26 java.util.Collection getLeagues() throws java.rmi.RemoteException ; 27 28 30 Collection getTeamsInLeague(java.lang.Integer id) throws java.rmi.RemoteException ; 31 32 String testGroups() throws java.rmi.RemoteException ; 33 34 league.util.Round getRound(java.lang.Integer id) throws java.rmi.RemoteException ; 35 36 Integer createMatch(java.lang.Integer roundId, java.util.Hashtable results) throws java.rmi.RemoteException ; 37 38 Collection getMatches(Integer roundId) throws java.rmi.RemoteException ; 39 40 Round getActiveRound(java.lang.Integer leagueId) throws java.rmi.RemoteException ; 41 42 Match getMatchById(java.lang.Integer matchId) throws java.rmi.RemoteException ; 43 44 void updateMatch(Match m) throws java.rmi.RemoteException ; 45 46 void addTeamToLastPlace(java.lang.Integer roundId, java.lang.Integer teamId) throws java.rmi.RemoteException ; 47 48 League getLeagueById(java.lang.Integer leagueId) throws java.rmi.RemoteException ; 49 50 java.util.Collection getRounds(java.lang.Integer leagueId) throws java.rmi.RemoteException ; 51 52 void setTeamStartPoints(java.lang.Integer teamId, java.lang.Integer groupId, java.lang.Integer startPoints) throws java.rmi.RemoteException ; 53 } 54 | Popular Tags |