/** * Get the list of all kids * * @return List<Kid> */ public List<Kid> getKids() { // Lock it! mLock.lock(); try { startTransaction(); return kidsTable.getAllEntries(localDatabase, Kid.class, kidsTable.getMapper()); } catch (DBException e) { Logger.error(this, "Problems starting transaction"); } finally { endTransaction(); mLock.unlock(); } return null; }