3738394041424344
} if (!returnList.isEmpty()) return registrationList; throw new RegistrationDoesNotExistsInPersistenceException(""); }
171819202122232425
protected Object executeQuery(PrevalentSystem system) { if(id == null) return system.registrations; if(!system.registrations.containsKey(id)) throw new RegistrationDoesNotExistsInPersistenceException(id); return system.registrations.get(id); }
5253545556575859
} } } if (!transactions.isEmpty()) return transactions; throw new RegistrationDoesNotExistsInPersistenceException(personId); } }
1920212223242526
if (operationId == null){ return system.operations; } else { if (system.operations.containsKey(operationId)) return system.operations.get(operationId); throw new RegistrationDoesNotExistsInPersistenceException(operationId); } }