Hello Kaushik,
Can you be a little more specific? You need to hide these UI elements based on a certain criteria or is it the same all the time and you just don't want to see them anymore? If the second, I suggest you use simple customizing. Just add &sap-config-mode=X at the end of your application URL to active Admin mode, afterwards, left-click and hide all the necessary elements. Also you can set the hidden to final so regular users cannot display it back.
Tudor