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

Quick Search    Search Deep

au.edu.educationau.belts.mock.user
Class MockUserController  view MockUserController download MockUserController.java

java.lang.Object
  extended byau.edu.educationau.belts.mock.user.MockUserController
All Implemented Interfaces:
au.edu.educationau.belts.model.user.UserController

public class MockUserController
extends java.lang.Object
implements au.edu.educationau.belts.model.user.UserController

This class...

Version:
$Revision: 1.11 $ - $Date: 2003/05/15 23:00:13 $

Field Summary
 MockUserEntity _mockUserEntity
           
 
Constructor Summary
MockUserController()
           
 
Method Summary
 au.edu.educationau.belts.model.user.UserEntity create(au.edu.educationau.belts.model.school.School school, java.lang.String id, au.edu.educationau.belts.model.user.Title title, java.lang.String familyName, java.lang.String givenName, java.lang.String emailAddress)
           
 au.edu.educationau.belts.model.user.UserEntity get(java.lang.String id)
           
 au.edu.educationau.belts.model.user.User login(java.lang.String id, java.lang.String password)
           
 void purge()
           
 java.util.Collection query(java.lang.String criteria)
           
 java.util.Collection query(java.lang.String query, java.lang.Object[] arguments)
           
 java.util.Collection queryAll()
           
 java.util.Collection queryDisabledClientUsers()
           
 java.util.Collection queryDisabledGlobalUsers()
           
 java.util.Collection queryDisabledUsers(au.edu.educationau.belts.model.school.School school)
           
 java.util.Collection queryEnabledClientUsers()
           
 java.util.Collection queryEnabledGlobalUsers()
           
 java.util.Collection queryEnabledUsers(au.edu.educationau.belts.model.school.School school)
           
 java.util.Collection queryUsersInSchoolWithRole(au.edu.educationau.belts.model.school.School school, au.edu.educationau.belts.model.user.Role role, boolean active)
           
 java.util.Collection queryUsersNotInClass(au.edu.educationau.belts.model.school.SchoolClass schoolClass)
           
 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

_mockUserEntity

public MockUserEntity _mockUserEntity
Constructor Detail

MockUserController

public MockUserController()
Method Detail

create

public au.edu.educationau.belts.model.user.UserEntity create(au.edu.educationau.belts.model.school.School school,
                                                             java.lang.String id,
                                                             au.edu.educationau.belts.model.user.Title title,
                                                             java.lang.String familyName,
                                                             java.lang.String givenName,
                                                             java.lang.String emailAddress)
Specified by:
create in interface au.edu.educationau.belts.model.user.UserController

get

public au.edu.educationau.belts.model.user.UserEntity get(java.lang.String id)
Specified by:
get in interface au.edu.educationau.belts.model.user.UserController

remove

public void remove(java.lang.String id)
Specified by:
remove in interface au.edu.educationau.belts.model.user.UserController

query

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

queryAll

public java.util.Collection queryAll()
Specified by:
queryAll in interface au.edu.educationau.belts.model.user.UserController

login

public au.edu.educationau.belts.model.user.User login(java.lang.String id,
                                                      java.lang.String password)

purge

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

queryEnabledGlobalUsers

public java.util.Collection queryEnabledGlobalUsers()
                                             throws au.edu.educationau.belts.model.SystemException,
                                                    java.lang.SecurityException
Specified by:
queryEnabledGlobalUsers in interface au.edu.educationau.belts.model.user.UserController

queryDisabledGlobalUsers

public java.util.Collection queryDisabledGlobalUsers()
                                              throws au.edu.educationau.belts.model.SystemException,
                                                     java.lang.SecurityException
Specified by:
queryDisabledGlobalUsers in interface au.edu.educationau.belts.model.user.UserController

queryEnabledUsers

public java.util.Collection queryEnabledUsers(au.edu.educationau.belts.model.school.School school)
                                       throws au.edu.educationau.belts.model.SystemException,
                                              java.lang.SecurityException,
                                              java.lang.IllegalArgumentException
Specified by:
queryEnabledUsers in interface au.edu.educationau.belts.model.user.UserController

queryDisabledUsers

public java.util.Collection queryDisabledUsers(au.edu.educationau.belts.model.school.School school)
                                        throws au.edu.educationau.belts.model.SystemException,
                                               java.lang.SecurityException,
                                               java.lang.IllegalArgumentException
Specified by:
queryDisabledUsers in interface au.edu.educationau.belts.model.user.UserController

queryUsersNotInClass

public java.util.Collection queryUsersNotInClass(au.edu.educationau.belts.model.school.SchoolClass schoolClass)
                                          throws au.edu.educationau.belts.model.SystemException,
                                                 java.lang.SecurityException,
                                                 java.lang.IllegalArgumentException
Specified by:
queryUsersNotInClass in interface au.edu.educationau.belts.model.user.UserController

queryUsersInSchoolWithRole

public java.util.Collection queryUsersInSchoolWithRole(au.edu.educationau.belts.model.school.School school,
                                                       au.edu.educationau.belts.model.user.Role role,
                                                       boolean active)
                                                throws au.edu.educationau.belts.model.SystemException,
                                                       java.lang.SecurityException
Specified by:
queryUsersInSchoolWithRole in interface au.edu.educationau.belts.model.user.UserController

query

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

queryDisabledClientUsers

public java.util.Collection queryDisabledClientUsers()
                                              throws au.edu.educationau.belts.model.SystemException,
                                                     java.lang.SecurityException
Specified by:
queryDisabledClientUsers in interface au.edu.educationau.belts.model.user.UserController

queryEnabledClientUsers

public java.util.Collection queryEnabledClientUsers()
                                             throws au.edu.educationau.belts.model.SystemException,
                                                    java.lang.SecurityException
Specified by:
queryEnabledClientUsers in interface au.edu.educationau.belts.model.user.UserController