Create a separate method for each value of the parameter.
Example
For more information see page 282 of Database Refactoring
Unless otherwise noted, all material on this site is copyright Pramod Sadalage. Please link freely to this site, but if you want to copy any of the materials you should contact the relevant copyright holders first. Send site feedback to Pramod Sadalage