[IMP] method search in class Resources
[IMP] SyncResourceClass using Resources().search() to check the contains
in JRS
[IMP] some lines deleted