@Override
	public CommerceSubscriptionEntry findByC_C_C(String CPInstanceUuid,
		long CProductId, long commerceOrderItemId)
		throws NoSuchSubscriptionEntryException {
		CommerceSubscriptionEntry commerceSubscriptionEntry = fetchByC_C_C(CPInstanceUuid,
				CProductId, commerceOrderItemId);

		if (commerceSubscriptionEntry == null) {
			StringBundler msg = new StringBundler(8);

			msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

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

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

			msg.append("}");

			if (_log.isDebugEnabled()) {
				_log.debug(msg.toString());
			}

			throw new NoSuchSubscriptionEntryException(msg.toString());
		}

		return commerceSubscriptionEntry;
	}
@ Override public CommerceSubscriptionEntry findByC_C_C ( String CPInstanceUuid , long CProductId , long commerceOrderItemId ) throws NoSuchSubscriptionEntryException { CommerceSubscriptionEntry commerceSubscriptionEntry = fetchByC_C_C ( CPInstanceUuid , CProductId , commerceOrderItemId ) ; if ( commerceSubscriptionEntry == null ) { StringBundler msg = new StringBundler ( 8 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "CPInstanceUuid=" ) ; msg . append ( CPInstanceUuid ) ; msg . append ( ", CProductId=" ) ; msg . append ( CProductId ) ; msg . append ( ", commerceOrderItemId=" ) ; msg . append ( commerceOrderItemId ) ; msg . append ( "}" ) ; if ( _log . isDebugEnabled ( ) ) { _log . debug ( msg . toString ( ) ) ; } throw new NoSuchSubscriptionEntryException ( msg . toString ( ) ) ; } return commerceSubscriptionEntry ; }
Returns the commerce subscription entry where CPInstanceUuid = &#63; and CProductId = &#63; and commerceOrderItemId = &#63; or throws a {@link NoSuchSubscriptionEntryException} if it could not be found.

@param CPInstanceUuid the cp instance uuid
@param CProductId the c product ID
@param commerceOrderItemId the commerce order item ID
@return the matching commerce subscription entry
@throws NoSuchSubscriptionEntryException if a matching commerce subscription entry could not be found