org.bejug.javacareers.jobs.service
Interface EducationService


public interface EducationService

Defines the "Business Facade" of the controller.

Version:
$Revision: 1.1 $ $Date: 2005/08/26 07:58:27 $
Author:
Bart Meyers (Last modified by $Author: ge0ffrey $)

Method Summary
 void deleteEducationOffer(EducationOffer offer)
          delete an educationOffer.
 AcademicEducationOffer getAcademicEducationOffer(java.lang.Integer id)
          gets an academiceducationoffer by id.
 java.util.List getAcademicEducationOffers()
          get a list of academiceducationoffers.
 java.util.List getAcademicEducationOffers(SearchCriteria searchCriteria)
          gets a EducationOffer by searchCriteria.
 int getAcademicEducationsCount()
           
 CommercialEducationOffer getCommercialEducationOffer(java.lang.Integer id)
          gets a commercialeducationoffer by id.
 java.util.List getCommercialEducationOffers()
          get a list of commercialeducationoffers.
 java.util.List getCommercialEducationOffers(SearchCriteria searchCriteria)
          gets a EducationOffer by searchCriteria.
 int getCommercialEducationsCount()
           
 int getEducationsCount()
           
 void storeEducationOffer(EducationOffer offer)
          Adds an educationOffer.
 

Method Detail

storeEducationOffer

public void storeEducationOffer(EducationOffer offer)
Adds an educationOffer.

Parameters:
offer - the educationOffer to add.

deleteEducationOffer

public void deleteEducationOffer(EducationOffer offer)
delete an educationOffer.

Parameters:
offer - the educationOffer to delete.

getAcademicEducationOffers

public java.util.List getAcademicEducationOffers()
get a list of academiceducationoffers.

Returns:
a list containing all the academiceducationoffers.

getCommercialEducationOffers

public java.util.List getCommercialEducationOffers()
get a list of commercialeducationoffers.

Returns:
a list containing all the commercialeducationoffers.

getAcademicEducationOffer

public AcademicEducationOffer getAcademicEducationOffer(java.lang.Integer id)
gets an academiceducationoffer by id.

Parameters:
id - the id of the academiceducationoffer.
Returns:
the wanted academiceducationoffer.

getCommercialEducationOffer

public CommercialEducationOffer getCommercialEducationOffer(java.lang.Integer id)
gets a commercialeducationoffer by id.

Parameters:
id - the id of the commercialeducationoffer.
Returns:
the wanted commericaleducationoffer.

getCommercialEducationOffers

public java.util.List getCommercialEducationOffers(SearchCriteria searchCriteria)
                                            throws java.lang.IllegalArgumentException
gets a EducationOffer by searchCriteria.

Parameters:
searchCriteria - the searchCriteria
Returns:
the wanted EducationOffer
Throws:
java.lang.IllegalArgumentException - if an error

getAcademicEducationOffers

public java.util.List getAcademicEducationOffers(SearchCriteria searchCriteria)
                                          throws java.lang.IllegalArgumentException
gets a EducationOffer by searchCriteria.

Parameters:
searchCriteria - the searchCriteria
Returns:
the wanted EducationOffer
Throws:
java.lang.IllegalArgumentException - if an error

getCommercialEducationsCount

public int getCommercialEducationsCount()
Returns:
an int indicating the number of commercial educations in the system.

getAcademicEducationsCount

public int getAcademicEducationsCount()
Returns:
an int indicating the number of academic educations in the system.

getEducationsCount

public int getEducationsCount()
Returns:
the total number of educatios available


Copyright © 2005-2006 BeJUG. All Rights Reserved.