com.submersion.jspshop.ejb
Interface TypeHome

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

public interface TypeHome
extends javax.ejb.EJBHome

Home interface for the Type Entity Bean

See Also:
TypeBean, Type

Method Summary
 Type create()
          creates a new instance of the bean
 java.util.Collection findByAll()
          returns a collection of all type entities
 java.util.Collection findByName(java.lang.String name)
           
 Type findByPrimaryKey(java.lang.Long typeID)
          finds an entity and returns it based on it's primarykey
 java.util.Collection findByTypeID(java.lang.Long typeID)
           
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public Type create()
            throws javax.naming.NamingException,
                   java.rmi.RemoteException,
                   javax.ejb.CreateException,
                   javax.ejb.FinderException
creates a new instance of the bean
Parameters:
typeID -  
Throws:
javax.naming.NamingException -  
java.rmi.RemoteException -  
javax.ejb.CreateException -  
javax.ejb.FinderException -  

findByPrimaryKey

public Type findByPrimaryKey(java.lang.Long typeID)
                      throws javax.ejb.FinderException,
                             java.rmi.RemoteException
finds an entity and returns it based on it's primarykey
Parameters:
typeID -  
Throws:
javax.ejb.FinderException -  
java.rmi.RemoteException -  

findByAll

public java.util.Collection findByAll()
                               throws javax.ejb.FinderException,
                                      java.rmi.RemoteException
returns a collection of all type entities
Throws:
javax.ejb.FinderException -  
java.rmi.RemoteException -  

findByName

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

findByTypeID

public java.util.Collection findByTypeID(java.lang.Long typeID)
                                  throws javax.ejb.FinderException,
                                         java.rmi.RemoteException