for (IGrantContractMovement movement : result) {
for (IGrantContractMovement movement : grantContractMovements) {
    public List readAllMovementsByContract(Integer contractId) throws ExcepcaoPersistencia {        List<IGrantContractMovement> grantContractMovements = (List<IGrantContractMovement>) readAll(GrantContractMovement.class);        List<IGrantContractMovement> result = null;        for (IGrantContractMovement movement : result) {            if (movement.getKeyGrantContract().equals(contractId)) {                result.add(movement);            }        }        return result;    }