*/
private ResolvedView determineView() {
String designDocument = entityInformation.getJavaType().getSimpleName().toLowerCase();
String viewName = "all";
final View view = viewMetadataProvider.getView();
if (view != null) {
designDocument = view.designDocument();
viewName = view.viewName();
}
return new ResolvedView(designDocument, viewName);
}