Move DetachedCriteria down to dao implemental classes