protected ODataBase resolveCollection() {
try {
return buildQueryEntries(getComponentPresentations());
} catch (Exception e) {
log.error("Error occurred while querying for content", e);
return new ODataErrorResponse("Unable to build query entries", e.getMessage());
}
}