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 MockRoleController  view MockRoleController download MockRoleController.java

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

public class MockRoleController
extends java.lang.Object
implements au.edu.educationau.belts.model.user.RoleController

This class...

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

Field Summary
 MockRoleEntity _mockRoleEntity
           
 
Constructor Summary
MockRoleController()
          Constructor for MockRoleController.
 
Method Summary
 au.edu.educationau.belts.model.user.RoleEntity create(java.lang.String id, java.lang.String name)
           
 au.edu.educationau.belts.model.user.RoleEntity get(java.lang.String id)
           
 void purge()
           
 java.util.Collection query(java.lang.String criteria)
           
 java.util.Collection queryAll()
           
 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

_mockRoleEntity

public MockRoleEntity _mockRoleEntity
Constructor Detail

MockRoleController

public MockRoleController()
Constructor for MockRoleController.

Method Detail

create

public au.edu.educationau.belts.model.user.RoleEntity create(java.lang.String id,
                                                             java.lang.String name)
                                                      throws au.edu.educationau.belts.model.DuplicateException,
                                                             java.lang.SecurityException,
                                                             java.lang.IllegalArgumentException
Specified by:
create in interface au.edu.educationau.belts.model.user.RoleController

get

public au.edu.educationau.belts.model.user.RoleEntity 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.user.RoleController

query

public java.util.Collection query(java.lang.String criteria)
                           throws java.lang.SecurityException,
                                  java.lang.IllegalArgumentException
Specified by:
query in interface au.edu.educationau.belts.model.user.RoleController

queryAll

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

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.user.RoleController

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.RoleController