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 FineDAO
InternalException
NoReturnFoundException
InvalidFineTypeException
public Fine[] findByClient(Client client) throws InternalException, NoClientFoundException
findByClient
in interface FineDAO
InternalException
NoClientFoundException
public void pay(Fine fine) throws InternalException
pay
in interface FineDAO
InternalException
public void delete(Fine fine) throws InternalException
delete
in interface FineDAO
InternalException