com.ibm.websphere.samples.plantsbywebsphereejb
Interface IdGeneratorHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface IdGeneratorHome
extends javax.ejb.EJBLocalHome

Local Home interface for Enterprise Bean: IdGenerator


Method Summary
 IdGenerator create(java.lang.String idName)
          Creates an instance from a key for Entity Bean: IdGenerator
 IdGenerator create(java.lang.String idName, int idValue)
          Creates an instance from a key for Entity Bean: IdGenerator
 IdGenerator findByPrimaryKey(IdGeneratorKey primaryKey)
          Finds an instance using a key for Entity Bean: IdGenerator
 IdGenerator findByPrimaryKeyUpdate(java.lang.String idName)
          Finds an instance using a key for Entity Bean: IdGenerator
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

findByPrimaryKeyUpdate

IdGenerator findByPrimaryKeyUpdate(java.lang.String idName)
                                   throws javax.ejb.FinderException
Finds an instance using a key for Entity Bean: IdGenerator

Throws:
javax.ejb.FinderException

create

IdGenerator create(java.lang.String idName)
                   throws javax.ejb.CreateException
Creates an instance from a key for Entity Bean: IdGenerator

Throws:
javax.ejb.CreateException

create

IdGenerator create(java.lang.String idName,
                   int idValue)
                   throws javax.ejb.CreateException
Creates an instance from a key for Entity Bean: IdGenerator

Throws:
javax.ejb.CreateException

findByPrimaryKey

IdGenerator findByPrimaryKey(IdGeneratorKey primaryKey)
                             throws javax.ejb.FinderException
Finds an instance using a key for Entity Bean: IdGenerator

Throws:
javax.ejb.FinderException