@Override
	public CommercePriceList findByG_NotS_Last(long groupId, int status,
		OrderByComparator<CommercePriceList> orderByComparator)
		throws NoSuchPriceListException {
		CommercePriceList commercePriceList = fetchByG_NotS_Last(groupId,
				status, orderByComparator);

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

		StringBundler msg = new StringBundler(6);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

		msg.append(", status=");
		msg.append(status);

		msg.append("}");

		throw new NoSuchPriceListException(msg.toString());
	}
@ Override public CommercePriceList findByG_NotS_Last ( long groupId , int status , OrderByComparator < CommercePriceList > orderByComparator ) throws NoSuchPriceListException { CommercePriceList commercePriceList = fetchByG_NotS_Last ( groupId , status , orderByComparator ) ; if ( commercePriceList != null ) { return commercePriceList ; } StringBundler msg = new StringBundler ( 6 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "groupId=" ) ; msg . append ( groupId ) ; msg . append ( ", status=" ) ; msg . append ( status ) ; msg . append ( "}" ) ; throw new NoSuchPriceListException ( msg . toString ( ) ) ; }
Returns the last commerce price list in the ordered set where groupId = &#63; and status &ne; &#63;.

@param groupId the group ID
@param status the status
@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