public interface VirginsDao
Virgin
s.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
Virgin s table. |
int |
getVirginCount()
Return the number of
Virgin s in the database. |
java.util.List<Virgin> |
getVirgins()
Get a List of all of the
Virgin s in the database. |
java.util.List<Virgin> |
getVirgins(int max)
Get a List of all of the
Virgin s 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 queryVirgin
s table.void deleteVirgin(java.lang.String picName) throws DataAccessException
Virgin
s table. This Pic is no longer a Virgin
.picName
- The name of the Pic
to remove.DataAccessException
- blehint getVirginCount()
Virgin
s in the database.java.util.List<Virgin> getVirgins() throws DataAccessException
Virgin
s in the database.DataAccessException
- non!java.util.List<Virgin> getVirgins(int max) throws DataAccessException
Virgin
s in the database up to max number. max
- The Maximum number of Virgin
s to put in the ListDataAccessException
- uh-uh