| |
|
| java.lang.Object discRack.business.disc.DiscGeneratorImpl
DiscGeneratorImpl | public class DiscGeneratorImpl implements DiscGenerator(Code) | | Used to find the instances of disc.
|
Method Summary | |
public Disc | findDiscByID(String id) The findDiscByID method performs a database query to
return a Disc object
representing the row in the disc table
that matches the object id. | public Disc[] | findDiscsForPerson(Person owner) The findDiscsForPerson method performs a database query to
return an array of Disc objects
representing all the rows in the disc table
that have and owner matching Person owner . |
findDiscByID | public Disc findDiscByID(String id) throws DiscRackBusinessException(Code) | | The findDiscByID method performs a database query to
return a Disc object
representing the row in the disc table
that matches the object id.
Parameters: id - , the object id of the disc table.the disc. null if there isn't a person associatedthe id exception: DiscRackBusinessException - if there is a problem retrieving person information. |
findDiscsForPerson | public Disc[] findDiscsForPerson(Person owner) throws DiscRackBusinessException(Code) | | The findDiscsForPerson method performs a database query to
return an array of Disc objects
representing all the rows in the disc table
that have and owner matching Person owner .
Parameters: owner - The owner of the discsarray of discs. exception: DiscRackBusinessException - If there is a problem retrieving disc information. |
|
|
|