I have a collection of objects. Out of this collection I need to search for an occurrence of an object using a number of conditions. ie.
Search using Condition 1
If Condition 1 Fails use Condition 2
If Condition 2 Fails use Condition 3
If Condition 3 Fails use Condition 4
Each of these conditions consists of a number of filters.
I'm looking for suggestions with regards to a design pattern that's maintainable. Sample implementations will be appreciated.