class MediaItemDataRepository implements MediaItemRepository {

    @SuppressWarnings( CONVERT2METHODREF )
    @Override
    public Observable<List<MediaItem>> mediaItems( final Media media, @Nullable final String title ) {

        MediaItemDataStore mediaItemDataStore = mediaItemDataStoreFactory.createMasterBackendDataStore();

        return mediaItemDataStore.mediaItems( media, title )
                .map( MediaItemDataMapper::transformMediaItems );

    }

    @Inject public  MediaItemDataRepository(
            final MediaItemDataStoreFactory mediaItemDataStoreFactory
    );

}