@Override
	public CommerceAddress findByG_C_C_DS_First(long groupId, long classNameId,
		long classPK, boolean defaultShipping,
		OrderByComparator<CommerceAddress> orderByComparator)
		throws NoSuchAddressException {
		CommerceAddress commerceAddress = fetchByG_C_C_DS_First(groupId,
				classNameId, classPK, defaultShipping, orderByComparator);

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

		StringBundler msg = new StringBundler(10);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

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

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

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

		msg.append("}");

		throw new NoSuchAddressException(msg.toString());
	}
@ Override public CommerceAddress findByG_C_C_DS_First ( long groupId , long classNameId , long classPK , boolean defaultShipping , OrderByComparator < CommerceAddress > orderByComparator ) throws NoSuchAddressException { CommerceAddress commerceAddress = fetchByG_C_C_DS_First ( groupId , classNameId , classPK , defaultShipping , orderByComparator ) ; if ( commerceAddress != null ) { return commerceAddress ; } StringBundler msg = new StringBundler ( 10 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "groupId=" ) ; msg . append ( groupId ) ; msg . append ( ", classNameId=" ) ; msg . append ( classNameId ) ; msg . append ( ", classPK=" ) ; msg . append ( classPK ) ; msg . append ( ", defaultShipping=" ) ; msg . append ( defaultShipping ) ; msg . append ( "}" ) ; throw new NoSuchAddressException ( msg . toString ( ) ) ; }
Returns the first commerce address in the ordered set where groupId = &#63; and classNameId = &#63; and classPK = &#63; and defaultShipping = &#63;.

@param groupId the group ID
@param classNameId the class name ID
@param classPK the class pk
@param defaultShipping the default shipping
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the first matching commerce address
@throws NoSuchAddressException if a matching commerce address could not be found