add method get, getBy and getOneBy to handler interface