public static CommerceDiscountUsageEntry findByPrimaryKey(
		long commerceDiscountUsageEntryId)
		throws com.liferay.commerce.discount.exception.NoSuchDiscountUsageEntryException {
		return getPersistence().findByPrimaryKey(commerceDiscountUsageEntryId);
	}
public static CommerceDiscountUsageEntry findByPrimaryKey ( long commerceDiscountUsageEntryId ) throws com . liferay . commerce . discount . exception . NoSuchDiscountUsageEntryException { return getPersistence ( ) . findByPrimaryKey ( commerceDiscountUsageEntryId ) ; }
Returns the commerce discount usage entry with the primary key or throws a {@link NoSuchDiscountUsageEntryException} if it could not be found.

@param commerceDiscountUsageEntryId the primary key of the commerce discount usage entry
@return the commerce discount usage entry
@throws NoSuchDiscountUsageEntryException if a commerce discount usage entry with the primary key could not be found