public static CommerceWarehouse fetchByG_A_C_P_Last(long groupId,
		boolean active, long commerceCountryId, boolean primary,
		OrderByComparator<CommerceWarehouse> orderByComparator) {
		return getPersistence()
				   .fetchByG_A_C_P_Last(groupId, active, commerceCountryId,
			primary, orderByComparator);
	}
public static CommerceWarehouse fetchByG_A_C_P_Last ( long groupId , boolean active , long commerceCountryId , boolean primary , OrderByComparator < CommerceWarehouse > orderByComparator ) { return getPersistence ( ) . fetchByG_A_C_P_Last ( groupId , active , commerceCountryId , primary , orderByComparator ) ; }
Returns the last commerce warehouse in the ordered set where groupId = &#63; and active = &#63; and commerceCountryId = &#63; and primary = &#63;.

@param groupId the group ID
@param active the active
@param commerceCountryId the commerce country ID
@param primary the primary
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the last matching commerce warehouse, or <code>null</code> if a matching commerce warehouse could not be found