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

All Superinterfaces:
EJBObject, Remote

public interface Test
extends EJBObject

Generated EJB remote interface for Test. A remote interface defines the business methods that a client may call. The business methods are implemented in the enterprise bean code. DO NOT EDIT. Make changes to net/sf/colle/mid/ejb/RemoteCodeGenerator.gen and regenerate. Created: 17 Apr 2001

Version:
$Revision: 1.2 $, $Date: 2003/06/26 16:41:01 $
Author:
net/sf/colle/mid/ejb/RemoteCodeGenerator.gen

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 interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

hello

public String hello(String psName)
             throws RemoteException
Returns greeting.

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

throwException

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

Throws:
CloneNotSupportedException
RemoteException

insert

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

Throws:
CloneNotSupportedException
RemoteException

idExists

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

Throws:
RemoteException

delete

public void delete(int pnId)
            throws RemoteException
Deletes test values.

Throws:
RemoteException