@Override
	public CommerceShipmentItem findByCommerceShipment_Last(
		long commerceShipmentId,
		OrderByComparator<CommerceShipmentItem> orderByComparator)
		throws NoSuchShipmentItemException {
		CommerceShipmentItem commerceShipmentItem = fetchByCommerceShipment_Last(commerceShipmentId,
				orderByComparator);

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

		StringBundler msg = new StringBundler(4);

		msg.append(_NO_SUCH_ENTITY_WITH_KEY);

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

		msg.append("}");

		throw new NoSuchShipmentItemException(msg.toString());
	}
@ Override public CommerceShipmentItem findByCommerceShipment_Last ( long commerceShipmentId , OrderByComparator < CommerceShipmentItem > orderByComparator ) throws NoSuchShipmentItemException { CommerceShipmentItem commerceShipmentItem = fetchByCommerceShipment_Last ( commerceShipmentId , orderByComparator ) ; if ( commerceShipmentItem != null ) { return commerceShipmentItem ; } StringBundler msg = new StringBundler ( 4 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "commerceShipmentId=" ) ; msg . append ( commerceShipmentId ) ; msg . append ( "}" ) ; throw new NoSuchShipmentItemException ( msg . toString ( ) ) ; }
Returns the last commerce shipment item in the ordered set where commerceShipmentId = &#63;.

@param commerceShipmentId the commerce shipment ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the last matching commerce shipment item
@throws NoSuchShipmentItemException if a matching commerce shipment item could not be found