| Constructor and Description |
|---|
PostgresRatingDAO(java.sql.Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(Rating rating) |
java.lang.Integer[] |
getAllItemId() |
Rating[] |
getAllRating() |
Rating[] |
getRatingByClientId(int clientId) |
public void create(Rating rating) throws InternalException
create in interface RatingDAOInternalExceptionpublic Rating[] getAllRating() throws InternalException
getAllRating in interface RatingDAOInternalExceptionpublic java.lang.Integer[] getAllItemId()
throws InternalException
getAllItemId in interface RatingDAOInternalExceptionpublic Rating[] getRatingByClientId(int clientId) throws InternalException, NoClientFoundException
getRatingByClientId in interface RatingDAOInternalExceptionNoClientFoundException