public interface VirginsDao
Virgins.| Modifier and Type | Method and Description |
|---|---|
void |
addVirgin(java.lang.String picName)
Add this Pic name as a
Virgin in the database. |
void |
deleteVirgin(java.lang.String picName)
Delete this Pic name from the
Virgins table. |
int |
getVirginCount()
Return the number of
Virgins in the database. |
java.util.List<Virgin> |
getVirgins()
Get a List of all of the
Virgins in the database. |
java.util.List<Virgin> |
getVirgins(int max)
Get a List of all of the
Virgins in the database up to max number. |
boolean |
isVirgin(java.lang.String picName)
Is this picName a
Virgin? |
void addVirgin(java.lang.String picName)
throws DataAccessException
Virgin in the database.picName - The name of the Pic to add.DataAccessException - not today.boolean isVirgin(java.lang.String picName)
Virgin?picName - The name of the Pic to queryVirgins table.void deleteVirgin(java.lang.String picName)
throws DataAccessException
Virgins table. This Pic is no longer a Virgin.picName - The name of the Pic to remove.DataAccessException - blehint getVirginCount()
Virgins in the database.java.util.List<Virgin> getVirgins() throws DataAccessException
Virgins in the database.DataAccessException - non!java.util.List<Virgin> getVirgins(int max) throws DataAccessException
Virgins in the database up to max number. max - The Maximum number of Virgins to put in the ListDataAccessException - uh-uh