added method getRecordIds