'Parameters
user_id: user id in the model
int or string
order_by_id: bool
If True order by user_id otherwise by the preference values.
default = True
Returns
Return user\'s preferences, ordered by user id (if order_by_id is True)
or by the preference values (if order_by_id is False), as an array.'

def preferences_from_user(self, user_id, order_by_id=True):

    raise NotImplementedError('cannot    instantiate    Abstract    Base    Class')
