Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

au.edu.educationau.belts.mock.school
Class MockSchoolController  view MockSchoolController download MockSchoolController.java

java.lang.Object
  extended byau.edu.educationau.belts.mock.school.MockSchoolController
All Implemented Interfaces:
au.edu.educationau.belts.model.school.SchoolController

public class MockSchoolController
extends java.lang.Object
implements au.edu.educationau.belts.model.school.SchoolController

This class...

Version:
$Revision: 1.9 $ - $Date: 2003/02/28 06:43:05 $

Field Summary
 MockSchoolEntity _mockSchoolEntity
           
 
Constructor Summary
MockSchoolController()
           
 
Method Summary
 au.edu.educationau.belts.model.school.SchoolEntity create(java.lang.String id, java.lang.String name, java.lang.String street, java.lang.String suburb, au.edu.educationau.belts.model.school.State state, au.edu.educationau.belts.model.school.Country country, java.lang.String postcode, java.lang.String phoneNumber, au.edu.educationau.belts.model.school.Sector sector, au.edu.educationau.belts.model.school.Size size, au.edu.educationau.belts.model.school.Type type, boolean active)
           
 au.edu.educationau.belts.model.school.SchoolEntity get(java.lang.String id)
           
 void purge()
           
 java.util.Collection query(java.lang.String criteria)
           
 java.util.Collection query(java.lang.String criteria, java.lang.Object[] arguments)
           
 java.util.Collection queryAll()
           
 java.util.Collection queryDisabledSchools()
           
 java.util.Collection queryEnabledSchools()
           
 void remove(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_mockSchoolEntity

public MockSchoolEntity _mockSchoolEntity
Constructor Detail

MockSchoolController

public MockSchoolController()
Method Detail

create

public au.edu.educationau.belts.model.school.SchoolEntity create(java.lang.String id,
                                                                 java.lang.String name,
                                                                 java.lang.String street,
                                                                 java.lang.String suburb,
                                                                 au.edu.educationau.belts.model.school.State state,
                                                                 au.edu.educationau.belts.model.school.Country country,
                                                                 java.lang.String postcode,
                                                                 java.lang.String phoneNumber,
                                                                 au.edu.educationau.belts.model.school.Sector sector,
                                                                 au.edu.educationau.belts.model.school.Size size,
                                                                 au.edu.educationau.belts.model.school.Type type,
                                                                 boolean active)
                                                          throws au.edu.educationau.belts.model.CreateException,
                                                                 au.edu.educationau.belts.model.DuplicateException,
                                                                 java.lang.SecurityException,
                                                                 java.lang.IllegalArgumentException
Specified by:
create in interface au.edu.educationau.belts.model.school.SchoolController

get

public au.edu.educationau.belts.model.school.SchoolEntity get(java.lang.String id)
                                                       throws au.edu.educationau.belts.model.NotFoundException,
                                                              java.lang.SecurityException,
                                                              java.lang.IllegalArgumentException
Specified by:
get in interface au.edu.educationau.belts.model.school.SchoolController

query

public java.util.Collection query(java.lang.String criteria)
                           throws java.lang.SecurityException

queryAll

public java.util.Collection queryAll()
                              throws java.lang.SecurityException
Specified by:
queryAll in interface au.edu.educationau.belts.model.school.SchoolController

queryDisabledSchools

public java.util.Collection queryDisabledSchools()
                                          throws au.edu.educationau.belts.model.SystemException,
                                                 java.lang.SecurityException
Specified by:
queryDisabledSchools in interface au.edu.educationau.belts.model.school.SchoolController

queryEnabledSchools

public java.util.Collection queryEnabledSchools()
                                         throws au.edu.educationau.belts.model.SystemException,
                                                java.lang.SecurityException
Specified by:
queryEnabledSchools in interface au.edu.educationau.belts.model.school.SchoolController

remove

public void remove(java.lang.String id)
            throws au.edu.educationau.belts.model.NotFoundException,
                   java.lang.SecurityException,
                   java.lang.IllegalArgumentException
Specified by:
remove in interface au.edu.educationau.belts.model.school.SchoolController

purge

public void purge()
           throws au.edu.educationau.belts.model.SystemException,
                  java.lang.SecurityException
Specified by:
purge in interface au.edu.educationau.belts.model.school.SchoolController

query

public java.util.Collection query(java.lang.String criteria,
                                  java.lang.Object[] arguments)
                           throws au.edu.educationau.belts.model.SystemException,
                                  java.lang.SecurityException
Specified by:
query in interface au.edu.educationau.belts.model.school.SchoolController