|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomerTypes
The local home interface to the entity bean that represents a record
in the customer_types table.
Copyright 2003, Rakesh Vidyadharan and wedoit4u.biz
| Method Summary | |
|---|---|
CustomerType |
create(java.lang.String type)
Create a new customer_types record with just the
values for the required columns. |
CustomerType |
create(java.lang.String type,
java.lang.String description)
Create a new customer_types record. |
java.util.Collection |
findAll()
Return all the entity beans that represent all the rows in the customer_types table. |
CustomerType |
findByPrimaryKey(int customerTypeId)
Return the entity bean instance identified by the primary key value specified. |
CustomerType |
findByType(java.lang.String type)
Return the entity bean instance identified by the unique type value specified. |
| Methods inherited from interface javax.ejb.EJBLocalHome |
|---|
remove |
| Method Detail |
|---|
CustomerType create(java.lang.String type)
throws javax.ejb.CreateException
customer_types record with just the
values for the required columns. This method obtains the next
sequence value for the customer_type_id
value, and sets the customerType_id value to
the sequence value.
type - - The type value.
javax.ejb.CreateException - - If errors are encountered while creating
the new record.DatabaseHelper.getNextSequenceValue( String )
CustomerType create(java.lang.String type,
java.lang.String description)
throws javax.ejb.CreateException
customer_types record. This method
obtains the next sequence value for the
customer_id value, and sets the
customer_type_id value to the sequence value.
type - - The type value.description - - The description value.
javax.ejb.CreateException - - If errors are encountered while creating
the new record.DatabaseHelper.getNextSequenceValue( String )
CustomerType findByPrimaryKey(int customerTypeId)
throws javax.ejb.FinderException
customerTypeId - - The customer_type_id value by which to
find the appropriate bean instance.
javax.ejb.FinderException - - If errors are encountered while fetching
the appropriate instance.
CustomerType findByType(java.lang.String type)
throws javax.ejb.FinderException
type value specified.
type - - The type value by which to find the
appropriate bean instance.
javax.ejb.FinderException - - If errors are encountered while fetching
the appropriate instance.
java.util.Collection findAll()
throws javax.ejb.FinderException
customer_types table.
javax.ejb.FinderException - - If errors are encountered while fetching
the appropriate instance.
|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||