Add following methods to the API of the Contract Repository:
1.
Collection<Long> getAllID();
// reason: at this moment it is too difficult to get or modify contract for that one has not locally stored ID used by the database
2.
ContractStatus getStatus(Long contracted);
// reason: while it is easy to modify status of the contract, it is too difficult to get its current value