|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Data access object for darts sets.
| Method Summary | |
void |
addDartsSet(DartsSet ds)
Add given darts set to the persistent store. |
DartsSet |
getDartsSet(java.lang.String spec,
java.lang.String name,
java.lang.String brand,
int weight)
Load the darts set with given properties from the persistent store. |
java.util.Vector |
getDartsSets()
Load all darts set objects available in the persistent store. |
DartsSet |
getDartsSetWithId(java.lang.Object id)
Load the darts set with specified persistent store id. |
java.util.Vector |
getUserDartsSets(User user)
Load all the darts sets of given user. |
| Methods inherited from interface org.dartra.framework.dao.DataAccessObject |
close, getConnection, getDAOFactory, init |
| Method Detail |
public void addDartsSet(DartsSet ds)
throws DataAccessException
Add given darts set to the persistent store.
DataAccessException - When there is a problem accessing the persistent store,
for instance when the given darts set is already present.
public DartsSet getDartsSetWithId(java.lang.Object id)
throws DataAccessException
Load the darts set with specified persistent store id.
DataAccessException - When there is a problem accessing the persistent store.
public DartsSet getDartsSet(java.lang.String spec,
java.lang.String name,
java.lang.String brand,
int weight)
throws DataAccessException
Load the darts set with given properties from the persistent store.
DataAccessException - When there is a problem accessing the persistent store.
public java.util.Vector getDartsSets()
throws DataAccessException
Load all darts set objects available in the persistent store.
DataAccessException - When there is a problem accessing the persistent store.
public java.util.Vector getUserDartsSets(User user)
throws DataAccessException
Load all the darts sets of given user. The user should be present in the persistent store.
DataAccessException - When there is a problem accessing the persistent store.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||