'Provide a view for a list of flavors.
:param func: Function used to format the flavor data
:param request: API request
:param flavors: List of flavors in dictionary format
:param coll_name: Name of collection, used to generate the next link
for a pagination query
:returns: Flavor reply data in dictionary format'

def _list_view(self, func, request, flavors, coll_name):

    flavor_list = [func(request, flavor)['flavor'] for flavor in flavors]
    flavors_links = self._get_collection_links(request, flavors, coll_name, 'flavorid')
    flavors_dict = dict(flavors=flavor_list)
    if flavors_links:
        flavors_dict['flavors_links'] = flavors_links
    return flavors_dict
