net.sf.colle.mid.ejb.test
Interface Test

All Known Implementing Classes:
ClientTest, TestImpl

public interface Test

Test interface for use in net.sf.colle.mid.ejb.test tests. Generated Test interface. DO NOT EDIT. Make changes to net/sf/colle/util/InterfaceCodeGenerator.xsl and regenerate. Created: 28 Mar 2001

Version:
$Revision: 1.4 $, $Date: 2004/10/19 06:19:25 $
Author:
net/sf/colle/util/InterfaceCodeGenerator.xsl

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.
 

Method Detail

hello

public String hello(String psName)
Returns greeting.

Parameters:
psName - Thing who greeting will be directed to.

throwException

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

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.

Throws:
CloneNotSupportedException

idExists

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


delete

public void delete(int pnId)
Deletes test values.