| |
|
| java.lang.Object barracudaDiscRack.business.disc.DiscFactory
DiscFactory | public class DiscFactory (Code) | | Used to find the instances of disc.
|
Method Summary | |
public static 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 static 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 static 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.
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 static 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 .
owner. The owner of the discsarray of discs. exception: DiscRackBusinessException - If there is a problem retrieving disc information. |
|
|
|