getOneByRestrictions