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 RatingDAO
InternalException
public Rating[] getAllRating() throws InternalException
getAllRating
in interface RatingDAO
InternalException
public java.lang.Integer[] getAllItemId() throws InternalException
getAllItemId
in interface RatingDAO
InternalException
public Rating[] getRatingByClientId(int clientId) throws InternalException, NoClientFoundException
getRatingByClientId
in interface RatingDAO
InternalException
NoClientFoundException