| Constructor and Description |
|---|
PostgresFineDAO(java.sql.Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(Fine fine) |
void |
delete(Fine fine) |
Fine[] |
findByClient(Client client) |
void |
pay(Fine fine) |
public void create(Fine fine) throws InternalException, NoReturnFoundException, InvalidFineTypeException
create in interface FineDAOInternalExceptionNoReturnFoundExceptionInvalidFineTypeExceptionpublic Fine[] findByClient(Client client) throws InternalException, NoClientFoundException
findByClient in interface FineDAOInternalExceptionNoClientFoundExceptionpublic void pay(Fine fine) throws InternalException
pay in interface FineDAOInternalExceptionpublic void delete(Fine fine) throws InternalException
delete in interface FineDAOInternalException