getEntriesByType