public void searchAndDispalyChildren(SearchChildFilter searchChildFilter) { Child children[] = childStoreService.searchChildrenFromStore(searchChildFilter); if (children.length != 0) { viewChildrenScreen.setChildren(children); changeScreen(viewChildrenScreen); } else { searchChildScreen.showNoSearchResultsAlert(); } }
public void saveChild(Child child) { childStoreService.saveChildInLocalStore(child); }
public void viewChildren() { Child[] children; children = childStoreService.getAllChildrenFromPhoneStoredAsArray(); viewChildrenScreen.setChildren(children); changeScreen(viewChildrenScreen); }