def getElementsByProductType(self, params): ptype = Structs.getProductTypeFromXmlRpc(params[0]) return Structs.getXmlRpcElementList(self.catalog.getValidationLayer().getElements(ptype))