public int retiredOffering(String catalogId, String offeringId) {
   ProductCatalog pc = retrieveProductCatalog(catalogId);
   int returnCode = -1;
   if (null != pc) {
     ProductOffering prodOffering = retrieveProductOffering(offeringId);
     returnCode = pc.retired(prodOffering);
   } else {
     returnCode = ProductCatalogErrorEnum.PRODUCT_CATALOG_IS_NULL.getCode();
   }
   return returnCode;
 }
 public int publishOffering(String catalogId, String offeringId, TimePeriod validFor) {
   ProductCatalog pc = retrieveProductCatalog(catalogId);
   int returnCode = -1;
   if (null != pc) {
     ProductOffering productOffering = retrieveProductOffering(offeringId);
     returnCode = pc.publish(productOffering, validFor);
   } else {
     returnCode = ProductCatalogErrorEnum.PRODUCT_CATALOG_IS_NULL.getCode();
   }
   return returnCode;
 }