@Override
	public CommerceSubscriptionEntry findByG_U_Last(long groupId, long userId,
		OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
		throws NoSuchSubscriptionEntryException {
		CommerceSubscriptionEntry commerceSubscriptionEntry = fetchByG_U_Last(groupId,
				userId, orderByComparator);

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

		StringBundler msg = new StringBundler(6);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

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

		msg.append("}");

		throw new NoSuchSubscriptionEntryException(msg.toString());
	}
@ Override public CommerceSubscriptionEntry findByG_U_Last ( long groupId , long userId , OrderByComparator < CommerceSubscriptionEntry > orderByComparator ) throws NoSuchSubscriptionEntryException { CommerceSubscriptionEntry commerceSubscriptionEntry = fetchByG_U_Last ( groupId , userId , orderByComparator ) ; if ( commerceSubscriptionEntry != null ) { return commerceSubscriptionEntry ; } StringBundler msg = new StringBundler ( 6 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "groupId=" ) ; msg . append ( groupId ) ; msg . append ( ", userId=" ) ; msg . append ( userId ) ; msg . append ( "}" ) ; throw new NoSuchSubscriptionEntryException ( msg . toString ( ) ) ; }
Returns the last commerce subscription entry in the ordered set where groupId = &#63; and userId = &#63;.

@param groupId the group ID
@param userId the user ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the last matching commerce subscription entry
@throws NoSuchSubscriptionEntryException if a matching commerce subscription entry could not be found