Rakesh API

biz.wedoit4u.ejb.entity
Interface SiteProperties

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface SiteProperties
extends javax.ejb.EJBLocalHome

The local home interface of the entity bean representing a record in the site_propertiess table.

Copyright 2003, Rakesh Vidyadharan

Version:
$Id: SiteProperties.java,v 1.2 2004/05/26 11:42:35 rakesh Exp $
Author:
Rakesh Vidyadharan on 25th October 2003

Method Summary
 SiteProperty create(int customerId, int topRail, int leftRail, int rightRail, int bottomRail, java.lang.String header, java.lang.String footer)
          Create a new site_properties record.
 java.util.Collection findAll()
          Return a Collection of entity bean instances that represent all the records in the database.
 SiteProperty findByPrimaryKey(int customerId)
          Return the entity bean instance identified by the primary key value specified.
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

SiteProperty create(int customerId,
                    int topRail,
                    int leftRail,
                    int rightRail,
                    int bottomRail,
                    java.lang.String header,
                    java.lang.String footer)
                    throws javax.ejb.CreateException
Create a new site_properties record.

Parameters:
customerId - - The customer_id value.
topRail - - The top_rail value.
leftRail - - The left_rail value.
rightRail - - The right_rail value.
bottomRail - - The bottom_rail value.
header - - The header value.
footer - - The footer value.
Returns:
SiteProperty - An entity bean representing the new record.
Throws:
javax.ejb.CreateException - - If errors are encountered while creating the new record.

findByPrimaryKey

SiteProperty findByPrimaryKey(int customerId)
                              throws javax.ejb.FinderException
Return the entity bean instance identified by the primary key value specified.

Parameters:
customerId - - The customer_id value by which to find the appropriate bean instance.
Returns:
SiteProperty - The appropriate entity bean instance.
Throws:
javax.ejb.FinderException - - If errors are encountered while fetching the appropriate instance.

findAll

java.util.Collection findAll()
                             throws javax.ejb.FinderException
Return a Collection of entity bean instances that represent all the records in the database.

Returns:
Collection - The collection of entity bean instances.
Throws:
javax.ejb.FinderException - - If errors are encountered while fetching the appropriate instance.

Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan