TournamentBeanLocal.java 466 Bytes
package fi.codecrew.moya.beans;

import java.util.List;

import javax.ejb.Local;

import fi.codecrew.moya.model.TournamentGame;
import fi.codecrew.moya.model.TournamentRule;

@Local
public interface TournamentBeanLocal {

	List<TournamentGame> getGames();
	List<TournamentRule> getRulesByGame(TournamentGame tg);
	void createGame(TournamentGame tg);
	void createRule(TournamentRule tr);
	TournamentGame findGame(Integer id);
	TournamentRule findRule(Integer id);

}