i need to replicate the custom create new view functionality,after selecting the condition i have to store the data in to some object .is this possible to achieve the functionality??Could you please is there any other way to achieve the functionality
What you are trying to achieve involves a lot of developing using Apex/VisualForce but if I had to do the requirement I would start by implementing AND/OR/NOT logic. That will give you the foundation and the platform you need to put together the conditions. You can find some examples here
Once you implement that you need to use some describe methods to get the fields for the object you want to sort/query etc. You can find documentation here:
Also keep in mind that you have limits for describes as well. With those sorted you then need to put them into a controller and call the various methods from the SOQL builder and the describe methods and build the view in VisualForce.