code: public static com.liferay.commerce.product.model.CPRule deleteCPRule(
  		long CPRuleId)
  		throws com.liferay.portal.kernel.exception.PortalException {
  		return getService().deleteCPRule(CPRuleId);
  	}
docs: Deletes the cp rule with the primary key from the database. Also notifies the appropriate model listeners.
  
  @param CPRuleId the primary key of the cp rule
  @return the cp rule that was removed
  @throws PortalException if a cp rule with the primary key could not be found