Add a new helper to ease fetching by collection
Reviewers: bensi, dfaure, franckarrecot
Differential Revision: https://phabricator.kde.org/D7048