Method Summary |
|
public Project | findProjectByID(String id) The findProjectByID method performs a database query to
return a Project object
representing the row in the project table
that matches the object id.
id, the object id of the project table.the project. |
public Project[] | getAllProjects() The getAllProjects method performs a database query to
return all Project objects representing the
row in the Projects table. |
public Project[] | getAllProjectsForCustomer(String customerID) The getAllProjectsForCustomer method performs a database query to
return a Project objects representing the row in the
project table that matches the customer given by
customerID.
Parameters: customerID - the object id of Customer for which we need projects.array of projects for given customer. |
public Project[] | getAllProjectsForCustomer(Customer customer) The getAllProjectsForCustomer method performs a database query to
return a Project objects representing the row in the
project table that matches the customer
Parameters: customer - the customer for which we need projects.array of projects for given customer. |
public Project | getProject() |