LicenseBeanLocal.java 687 Bytes
package fi.codecrew.moya.beans;

import java.util.List;

import javax.ejb.Local;

import fi.codecrew.moya.model.EventUser;
import fi.codecrew.moya.model.LicenseTarget;
import fi.codecrew.moya.model.LicenseCode;
import fi.codecrew.moya.model.LanEvent;
import fi.codecrew.moya.model.Place;

@Local
public interface LicenseBeanLocal {
	public boolean accessCode(LicenseCode code, EventUser user);
	public List<LicenseTarget> findAll(LanEvent event);
	public void saveOrCreateLicense(LicenseTarget game);
	public List<LicenseCode> findUserCodes(EventUser user);
	public List<LicenseTarget>	findUserGames(EventUser user);
	public List<LicenseTarget>	findUnopenedUserGames(EventUser user);


}