Ramsey classes and partial orders