Adding method to return all partitions for a given Partition type.