/* * $Id: MusicSchoolChoiceHome.java,v 1.8 2005/04/06 09:29:06 laddi Exp $ * Created on 6.4.2005 * * Copyright (C) 2005 Idega Software hf. All Rights Reserved. * * This software is the proprietary information of Idega hf. * Use is subject to license terms. */ package se.idega.idegaweb.commune.school.music.data; import java.util.Collection; import javax.ejb.FinderException; import com.idega.block.school.data.School; import com.idega.block.school.data.SchoolSeason; import com.idega.block.school.data.SchoolStudyPath; import com.idega.block.school.data.SchoolYear; import com.idega.core.location.data.Commune; import com.idega.data.IDOException; import com.idega.data.IDOHome; import com.idega.user.data.User; /** * <p> * TODO laddi Describe Type MusicSchoolChoiceHome * </p> * Last modified: $Date: 2005/04/06 09:29:06 $ by $Author: laddi $ * * @author <a href="mailto:laddi@idega.com">laddi</a> * @version $Revision: 1.8 $ */ public interface MusicSchoolChoiceHome extends IDOHome { public MusicSchoolChoice create() throws javax.ejb.CreateException; public MusicSchoolChoice findByPrimaryKey(Object pk) throws javax.ejb.FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAll */ public Collection findAll() throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByChild */ public Collection findAllByChild(User child) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByStatuses */ public Collection findAllByStatuses(School school, String[] statuses) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByStatuses */ public Collection findAllByStatuses(School school, SchoolSeason season, String[] statuses) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByStatuses */ public Collection findAllByStatuses(School school, SchoolYear year, String[] statuses) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByStatuses */ public Collection findAllByStatuses(User child, School school, String[] statuses) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByStatuses */ public MusicSchoolChoice findAllByStatuses(User child, School school, SchoolSeason season, String[] statuses) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByStatuses */ public Collection findAllByStatuses(User child, School school, SchoolSeason season, SchoolYear year, SchoolStudyPath instrument, String[] statuses, Boolean showExtraApplications) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByChildAndChoiceNumberAndSeason */ public MusicSchoolChoice findAllByChildAndChoiceNumberAndSeason(User child, int choiceNumber, SchoolSeason season) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByChildAndChoiceNumberAndSeason */ public MusicSchoolChoice findAllByChildAndChoiceNumberAndSeason(User child, int choiceNumber, SchoolSeason season, boolean showExtraApplications) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByStatuses */ public Collection findAllByStatuses(User child, String[] statuses) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByStatuses */ public Collection findAllByStatuses(User child, SchoolSeason season, String[] statuses, Boolean showExtraApplications) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbFindAllByStatuses */ public Collection findAllByStatuses(User child, SchoolSeason season, SchoolYear year, String[] statuses, Boolean showExtraApplications) throws FinderException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbHomeGetNumberOfApplications */ public int getNumberOfApplications(User child, String[] statuses) throws IDOException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbHomeGetNumberOfApplications */ public int getNumberOfApplications(User child, SchoolSeason season, String[] statuses) throws IDOException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbHomeGetNumberOfApplications */ public int getNumberOfApplications(User child, SchoolSeason season, String[] statuses, boolean extraApplication) throws IDOException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbHomeGetNumberOfApplications */ public int getNumberOfApplications(User child, SchoolYear year, String[] statuses) throws IDOException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbHomeGetNumberOfApplications */ public int getNumberOfApplications(School school, SchoolSeason season, SchoolYear year, SchoolStudyPath instrument, String types, String[] statuses) throws IDOException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbHomeGetNumberOfApplications */ public int getNumberOfApplications(User child, School school, SchoolSeason season, SchoolYear year, SchoolStudyPath instrument, String types, String[] statuses, Boolean showExtraApplications) throws IDOException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbHomeGetMusicChoiceStatistics */ public int getMusicChoiceStatistics(String status, SchoolSeason season, boolean firstChoiceOnly) throws IDOException; /** * @see se.idega.idegaweb.commune.school.music.data.MusicSchoolChoiceBMPBean#ejbHomeGetApplicationCount */ public int getApplicationCount(School school, SchoolSeason season, SchoolYear department, SchoolStudyPath instrument, String types, String[] statuses, int choiceNumber, Commune commune) throws IDOException; }