'Returns a list of static assets for a course.
By default all assets are returned, but start and maxresults can be provided to limit the query.
Args:
course_key (CourseKey): course identifier
asset_type (str): type of asset, such as \'asset\', \'video\', etc. If None, return assets of all types.
start (int): optional - start at this asset number
maxresults (int): optional - return at most this many, -1 means no limit
sort (array): optional - None means no sort
(sort_by (str), sort_order (str))
sort_by - one of \'uploadDate\' or \'displayname\'
sort_order - one of \'ascending\' or \'descending\'
Returns:
List of AssetMetadata objects.'

@strip_key
@contract(course_key='CourseKey', asset_type='None    |    basestring', start=int, maxresults=int, sort='tuple|None')
def get_all_asset_metadata(self, course_key, asset_type, start=0, maxresults=(-1), sort=None, **kwargs):

    store = self._get_modulestore_for_courselike(course_key)
    return store.get_all_asset_metadata(course_key, asset_type, start, maxresults, sort, **kwargs)
