Classification of Finite Topological Quandles and Shelves via Posets