@Override
	public CPOptionValue findByGroupId_Last(long groupId,
		OrderByComparator<CPOptionValue> orderByComparator)
		throws NoSuchCPOptionValueException {
		CPOptionValue cpOptionValue = fetchByGroupId_Last(groupId,
				orderByComparator);

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

		StringBundler msg = new StringBundler(4);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

		msg.append("}");

		throw new NoSuchCPOptionValueException(msg.toString());
	}
@ Override public CPOptionValue findByGroupId_Last ( long groupId , OrderByComparator < CPOptionValue > orderByComparator ) throws NoSuchCPOptionValueException { CPOptionValue cpOptionValue = fetchByGroupId_Last ( groupId , orderByComparator ) ; if ( cpOptionValue != null ) { return cpOptionValue ; } StringBundler msg = new StringBundler ( 4 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "groupId=" ) ; msg . append ( groupId ) ; msg . append ( "}" ) ; throw new NoSuchCPOptionValueException ( msg . toString ( ) ) ; }
Returns the last cp option value in the ordered set where groupId = &#63;.

@param groupId the group ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the last matching cp option value
@throws NoSuchCPOptionValueException if a matching cp option value could not be found