it might be better to write a static function to avoid call the object DeleteManageComponent
 private static boolean isInTrashFolder(String nodePath, UIJCRExplorer uiExplorer) throws Exception{