@Override
	public CommerceSubscriptionEntry findBySubscriptionStatus_First(
		int subscriptionStatus,
		OrderByComparator<CommerceSubscriptionEntry> orderByComparator)
		throws NoSuchSubscriptionEntryException {
		CommerceSubscriptionEntry commerceSubscriptionEntry = fetchBySubscriptionStatus_First(subscriptionStatus,
				orderByComparator);

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

		StringBundler msg = new StringBundler(4);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

		msg.append("}");

		throw new NoSuchSubscriptionEntryException(msg.toString());
	}
@ Override public CommerceSubscriptionEntry findBySubscriptionStatus_First ( int subscriptionStatus , OrderByComparator < CommerceSubscriptionEntry > orderByComparator ) throws NoSuchSubscriptionEntryException { CommerceSubscriptionEntry commerceSubscriptionEntry = fetchBySubscriptionStatus_First ( subscriptionStatus , orderByComparator ) ; if ( commerceSubscriptionEntry != null ) { return commerceSubscriptionEntry ; } StringBundler msg = new StringBundler ( 4 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "subscriptionStatus=" ) ; msg . append ( subscriptionStatus ) ; msg . append ( "}" ) ; throw new NoSuchSubscriptionEntryException ( msg . toString ( ) ) ; }
Returns the first commerce subscription entry in the ordered set where subscriptionStatus = &#63;.

@param subscriptionStatus the subscription status
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the first matching commerce subscription entry
@throws NoSuchSubscriptionEntryException if a matching commerce subscription entry could not be found