com.submersion.jspshop.ejb
Interface ClassHome

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote

public interface ClassHome
extends javax.ejb.EJBHome

Home interface for the Class Entity bean

See Also:
Class, ClassBean

Method Summary
 Class create(java.lang.String className)
          Creates a new instance of an entity bean.
 java.util.Collection findByAll()
          Returns all instances of the entity bean Class from the database.
 java.util.Collection findByContext(java.lang.String context)
           
 Class findByPrimaryKey(java.lang.String className)
          Finds an instance of a Class entity bean by it's primary key, ClassName.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public Class create(java.lang.String className)
             throws javax.ejb.CreateException,
                    java.rmi.RemoteException
Creates a new instance of an entity bean. Returns the new instance.
Parameters:
className -  
Throws:
javax.ejb.CreateException -  
java.rmi.RemoteException -  

findByPrimaryKey

public Class findByPrimaryKey(java.lang.String className)
                       throws javax.ejb.FinderException,
                              java.rmi.RemoteException
Finds an instance of a Class entity bean by it's primary key, ClassName.
Parameters:
className -  
Throws:
javax.ejb.FinderException -  
java.rmi.RemoteException -  

findByAll

public java.util.Collection findByAll()
                               throws javax.ejb.FinderException,
                                      java.rmi.RemoteException
Returns all instances of the entity bean Class from the database.
Throws:
javax.ejb.FinderException -  
java.rmi.RemoteException -  

findByContext

public java.util.Collection findByContext(java.lang.String context)
                                   throws javax.ejb.FinderException,
                                          java.rmi.RemoteException