org.openware.job.ejb
Class MDMSessionBean

org.openware.job.ejb.MDMSessionBean

public class MDMSessionBean

The implementation of the MDM stateless session bean. This is the EJB that receives the list of table row objects that have been modified, created, or deleted and updates the database accordingly.

Version:
$Revision: 1.23 $ $Date: 2001/07/26 01:57:23 $
Author:
Vincent Sheffer

Constructor Summary
MDMSessionBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 java.util.Collection findBy(TableRow shell, java.lang.String whereClause, java.lang.String[] joinTables)
           
 long getKeys(long numToGet)
           
 TableRow load(TableRow shell)
           
 MetaData loadMetaData(BaseDBA dba)
           
 void ping()
          See if the EJB is alive and well.
 int rawUpdate(TableRow shell)
           
 UpdateResults save(java.util.Collection list)
          Save the list of TableRow objects and return information that can be used update any cache information back in the persistent manager(s).
 void setSessionContext(javax.ejb.SessionContext context)
           
 

Constructor Detail

MDMSessionBean

public MDMSessionBean()
Method Detail

rawUpdate

public int rawUpdate(TableRow shell)
              throws PersistException,
                     java.rmi.RemoteException

save

public UpdateResults save(java.util.Collection list)
                   throws PersistException,
                          java.rmi.RemoteException
Save the list of TableRow objects and return information that can be used update any cache information back in the persistent manager(s).

getKeys

public long getKeys(long numToGet)
             throws java.rmi.RemoteException

loadMetaData

public MetaData loadMetaData(BaseDBA dba)
                      throws java.rmi.RemoteException

setSessionContext

public void setSessionContext(javax.ejb.SessionContext context)
                       throws java.rmi.RemoteException

findBy

public java.util.Collection findBy(TableRow shell,
                                   java.lang.String whereClause,
                                   java.lang.String[] joinTables)
                            throws java.rmi.RemoteException

load

public TableRow load(TableRow shell)
              throws java.rmi.RemoteException

ejbCreate

public void ejbCreate()
               throws java.rmi.RemoteException,
                      javax.ejb.CreateException

ejbActivate

public void ejbActivate()
                 throws java.rmi.RemoteException

ejbPassivate

public void ejbPassivate()
                  throws java.rmi.RemoteException

ejbRemove

public void ejbRemove()
               throws java.rmi.RemoteException

ping

public void ping()
          throws java.rmi.RemoteException
See if the EJB is alive and well.


Copyright © 2000,2001 Openware. All Rights Reserved.