code: public static CommerceDiscountRule findByPrimaryKey(
  		long commerceDiscountRuleId)
  		throws com.liferay.commerce.discount.exception.NoSuchDiscountRuleException {
  		return getPersistence().findByPrimaryKey(commerceDiscountRuleId);
  	}
docs: Returns the commerce discount rule with the primary key or throws a {@link NoSuchDiscountRuleException} if it could not be found.
  
  @param commerceDiscountRuleId the primary key of the commerce discount rule
  @return the commerce discount rule
  @throws NoSuchDiscountRuleException if a commerce discount rule with the primary key could not be found