net.sf.colle.mid.ejb.test.colle_gen
Class ClientTest

java.lang.Object
  extended bynet.sf.colle.mid.ejb.ClientBean
      extended bynet.sf.colle.mid.ejb.test.colle_gen.ClientTest
All Implemented Interfaces:
Test

public class ClientTest
extends net.sf.colle.mid.ejb.ClientBean
implements Test

Generated client bean wrapper for Test. DO NOT EDIT. Make changes to net/sf/colle/mid/ejb/ClientCodeGenerator.gen and regenerate. Created: 23 Apr 2001

Version:
$Revision: 1.3 $, $Date: 2004/10/19 06:08:45 $
Author:
net/sf/colle/mid/ejb/ClientCodeGenerator.gen

Constructor Summary
ClientTest()
           
 
Method Summary
 void delete(int pnId)
          Deletes test values.
 String hello(String psName)
          Returns greeting.
 boolean idExists(int pnId)
          Checks if call to insert was rolled back.
 void insert(int pnId, boolean pbThrowException, boolean pbThrowError)
          Inserts value into test table then optionally throws an exception to test rollback exception handling.
 void throwException()
          Throws an exception, causes transaction to be rolled back.
 
Methods inherited from class net.sf.colle.mid.ejb.ClientBean
getHome, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientTest

public ClientTest()
Method Detail

hello

public String hello(String psName)
Returns greeting.

Specified by:
hello in interface Test
Parameters:
psName - Thing who greeting will be directed to.

throwException

public void throwException()
                    throws CloneNotSupportedException
Throws an exception, causes transaction to be rolled back.

Specified by:
throwException in interface Test
Throws:
CloneNotSupportedException

insert

public void insert(int pnId,
                   boolean pbThrowException,
                   boolean pbThrowError)
            throws CloneNotSupportedException
Inserts value into test table then optionally throws an exception to test rollback exception handling.

Specified by:
insert in interface Test
Throws:
CloneNotSupportedException

idExists

public boolean idExists(int pnId)
Checks if call to insert was rolled back.

Specified by:
idExists in interface Test

delete

public void delete(int pnId)
Deletes test values.

Specified by:
delete in interface Test