notice fetch by class method

new method has implemented which can return result set as per class
(level and branch)