public interface PostersDao
Poster
s.Modifier and Type | Method and Description |
---|---|
void |
deletePoster(int pid)
Delete the
Mosaic from the database that has this Mosaic ID. |
Poster |
getPoster(int pid)
Get a Poster from the database based on this Poster ID.
|
java.util.List<Poster> |
getPosters()
Get a List of all of the
Mosaic s in the database. |
void |
storePoster(Poster mosaic)
Store this
Mosaic in the database. |
java.util.List<Poster> getPosters()
Mosaic
s in the database.Poster getPoster(int pid)
pid
- The Poster ID to query.void storePoster(Poster mosaic)
Mosaic
in the database.mosaic
- The Mosaic to store.void deletePoster(int pid)
Mosaic
from the database that has this Mosaic ID.pid
- The Poster ID to delete.