/** * Get a User Mapping DAO from a table name * * @param tableName * mapping table name * @return user mapping dao */ public UserMappingDao getMappingDao(String tableName) { return new UserMappingDao(getUserDao(tableName)); }
/** * Get a User Mapping DAO from a table name * * @param tableName mapping table name * @return user mapping dao */ public UserMappingDao getMappingDao(String tableName) { UserMappingDao userMappingDao = new UserMappingDao(getUserDao(tableName)); userMappingDao.registerCursorWrapper(getGeoPackage()); return userMappingDao; }
/** * Get a related media table DAO * * @param tableName * media table name * @return media DAO */ public MediaDao getMediaDao(String tableName) { MediaDao mediaDao = new MediaDao(getUserDao(tableName)); setContents(mediaDao.getTable()); return mediaDao; }
/** * Get a related simple attributes table DAO * * @param tableName * simple attributes table name * @return simple attributes DAO */ public SimpleAttributesDao getSimpleAttributesDao(String tableName) { SimpleAttributesDao simpleAttributesDao = new SimpleAttributesDao( getUserDao(tableName)); setContents(simpleAttributesDao.getTable()); return simpleAttributesDao; }
/** * Get a related media table DAO * * @param tableName media table name * @return media DAO */ public MediaDao getMediaDao(String tableName) { MediaDao mediaDao = new MediaDao(getUserDao(tableName)); mediaDao.registerCursorWrapper(getGeoPackage()); setContents(mediaDao.getTable()); return mediaDao; }
/** * Get a related simple attributes table DAO * * @param tableName simple attributes table name * @return simple attributes DAO */ public SimpleAttributesDao getSimpleAttributesDao(String tableName) { SimpleAttributesDao simpleAttributesDao = new SimpleAttributesDao( getUserDao(tableName)); simpleAttributesDao.registerCursorWrapper(getGeoPackage()); setContents(simpleAttributesDao.getTable()); return simpleAttributesDao; }