@Override
	public CPOptionCategory findByUuid_C_Last(String uuid, long companyId,
		OrderByComparator<CPOptionCategory> orderByComparator)
		throws NoSuchCPOptionCategoryException {
		CPOptionCategory cpOptionCategory = fetchByUuid_C_Last(uuid, companyId,
				orderByComparator);

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

		StringBundler msg = new StringBundler(6);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

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

		msg.append("}");

		throw new NoSuchCPOptionCategoryException(msg.toString());
	}
@ Override public CPOptionCategory findByUuid_C_Last ( String uuid , long companyId , OrderByComparator < CPOptionCategory > orderByComparator ) throws NoSuchCPOptionCategoryException { CPOptionCategory cpOptionCategory = fetchByUuid_C_Last ( uuid , companyId , orderByComparator ) ; if ( cpOptionCategory != null ) { return cpOptionCategory ; } StringBundler msg = new StringBundler ( 6 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "uuid=" ) ; msg . append ( uuid ) ; msg . append ( ", companyId=" ) ; msg . append ( companyId ) ; msg . append ( "}" ) ; throw new NoSuchCPOptionCategoryException ( msg . toString ( ) ) ; }
Returns the last cp option category in the ordered set where uuid = &#63; and companyId = &#63;.

@param uuid the uuid
@param companyId the company ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the last matching cp option category
@throws NoSuchCPOptionCategoryException if a matching cp option category could not be found