@Override
	public CommercePriceList findByCompanyId_Last(long companyId,
		OrderByComparator<CommercePriceList> orderByComparator)
		throws NoSuchPriceListException {
		CommercePriceList commercePriceList = fetchByCompanyId_Last(companyId,
				orderByComparator);

		if (commercePriceList != null) {
			return commercePriceList;
		}

		StringBundler msg = new StringBundler(4);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

		msg.append("companyId=");
		msg.append(companyId);

		msg.append("}");

		throw new NoSuchPriceListException(msg.toString());
	}
@ Override public CommercePriceList findByCompanyId_Last ( long companyId , OrderByComparator < CommercePriceList > orderByComparator ) throws NoSuchPriceListException { CommercePriceList commercePriceList = fetchByCompanyId_Last ( companyId , orderByComparator ) ; if ( commercePriceList != null ) { return commercePriceList ; } StringBundler msg = new StringBundler ( 4 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "companyId=" ) ; msg . append ( companyId ) ; msg . append ( "}" ) ; throw new NoSuchPriceListException ( msg . toString ( ) ) ; }
Returns the last commerce price list in the ordered set where companyId = &#63;.

@param companyId the company ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the last matching commerce price list
@throws NoSuchPriceListException if a matching commerce price list could not be found