Thanks Eugenio for quick response, sorry I wasn't clear enough, I'm still learning these things.
When ADF application starts and after the user login, I want to create a method that checks that a certain path (folder) are available. It would do that by comparing a given nodeid for example 1234567890 to an nodeid of a certain path (folder) it checks and receives in this method.
If the application finds the requested path (folder) and finds out it's nodeid, it will allow program to proceed if it matches the given nodeid of 1234567890, otherwise it will give a warning that the path (folder) has been alterned in Share or there is some other issue.
By this (folder) I mean the whole path to the "/Company_Home/ADF/Final_Destination"