@Override
	public CPOption findByUuid_C_First(String uuid, long companyId,
		OrderByComparator<CPOption> orderByComparator)
		throws NoSuchCPOptionException {
		CPOption cpOption = fetchByUuid_C_First(uuid, companyId,
				orderByComparator);

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

		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 NoSuchCPOptionException(msg.toString());
	}
@ Override public CPOption findByUuid_C_First ( String uuid , long companyId , OrderByComparator < CPOption > orderByComparator ) throws NoSuchCPOptionException { CPOption cpOption = fetchByUuid_C_First ( uuid , companyId , orderByComparator ) ; if ( cpOption != null ) { return cpOption ; } 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 NoSuchCPOptionException ( msg . toString ( ) ) ; }
Returns the first cp option 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 first matching cp option
@throws NoSuchCPOptionException if a matching cp option could not be found