Interface InventoryLocationRepository<T extends com.broadleafcommerce.data.tracking.core.Trackable>

Type Parameters:
T -
All Superinterfaces:
com.broadleafcommerce.common.extension.DomainTypeAware, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository, org.springframework.data.repository.Repository<T,String>, com.broadleafcommerce.data.tracking.core.TrackableRepository<T>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<T>
All Known Subinterfaces:
JpaInventoryLocationRepository<D>

@NoRepositoryBean public interface InventoryLocationRepository<T extends com.broadleafcommerce.data.tracking.core.Trackable> extends com.broadleafcommerce.data.tracking.core.TrackableRepository<T>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<T>
Spring Repository definition for saving and retrieving InventoryLocation.
Author:
Kelly Tisdell (ktisdell)
  • Method Details

    • findAllByNameContainingIgnoreCaseOrLocationNumberContainingIgnoreCase

      org.springframework.data.domain.Page<T> findAllByNameContainingIgnoreCaseOrLocationNumberContainingIgnoreCase(String name, String locationNumber, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all Inventory Locations, filtered by name or location number.
      Parameters:
      name - the location name to filter by
      locationNumber - the location number name to filter by
      page - the requested page of results from the database
      filters - additional filters to apply in the query. Should be EmptyNode if no additional filters should be applied.
      contextInfo - context information
      Returns:
      all Inventory Locations, filtered by name or location number
    • findByShippingLocationTrue

      @Policy(operationTypes=READ) List<T> findByShippingLocationTrue(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Returns all InventoryLocation references that are shipping locations.
      Parameters:
      contextInfo -
      Returns:
    • findByPickupLocationTrue

      @Policy(operationTypes=READ) List<T> findByPickupLocationTrue(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Returns all InventoryLocation references that are pickup locations.
      Parameters:
      contextInfo -
      Returns:
    • findByCountryAndPostalCode

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndPostalCode(String country, String postalCode, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references with a particular country code and postal code.
      Parameters:
      country -
      postalCode -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressPostalCode

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressPostalCode(String country, String postalCode, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references with a particular country code and postal code.
    • findByCountryAndPostalCodeAndShippingLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndPostalCodeAndShippingLocationTrue(String country, String postalCode, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are shipping locations with a particular country code and postal code.
      Parameters:
      country -
      postalCode -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressPostalCodeAndShippingLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressPostalCodeAndShippingLocationTrue(String country, String postalCode, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are shipping locations with a particular country code and postal code.
    • findByCountryAndPostalCodeAndPickupLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndPostalCodeAndPickupLocationTrue(String country, String postalCode, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are pickup locations with a particular country code and postal code.
      Parameters:
      country -
      postalCode -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressPostalCodeAndPickupLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressPostalCodeAndPickupLocationTrue(String country, String postalCode, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are pickup locations with a particular country code and postal code.
    • findByCountryAndPostalCodeAndStoreLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndPostalCodeAndStoreLocationTrue(String country, String postalCode, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are "Store" locations with a particular country and postal code.
      Parameters:
      country -
      postalCode -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressPostalCodeAndStoreLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressPostalCodeAndStoreLocationTrue(String country, String postalCode, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are "Store" locations with a particular country and postal code.
    • findByCountry

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountry(String country, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references with a particular country code.
      Parameters:
      country -
      page -
      contextInfo -
      Returns:
    • findByAddressCountry

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountry(String country, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references with a particular country code.
    • findByCountryAndPickupLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndPickupLocationTrue(String country, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are pickup locations with a particular country code.
      Parameters:
      country -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndPickupLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndPickupLocationTrue(String country, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are pickup locations with a particular country code.
    • findByCountryAndShippingLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndShippingLocationTrue(String country, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are shipping locations with a particular country.
      Parameters:
      country -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndShippingLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndShippingLocationTrue(String country, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are shipping locations with a particular country.
    • findByCountryAndStoreLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndStoreLocationTrue(String country, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are "Store" locations with a particular country code.
      Parameters:
      country -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndStoreLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndStoreLocationTrue(String country, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are "Store" locations with a particular country code.
    • findByCountryAndStateProvinceRegion

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndStateProvinceRegion(String country, String stateProvinceRegion, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references with a particular country code and state / province / region code.
      Parameters:
      country -
      stateProvinceRegion -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressStateProvinceRegion

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressStateProvinceRegion(String country, String stateProvinceRegion, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references with a particular country code and state / province / region code.
    • findByCountryAndStateProvinceRegionAndCity

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndStateProvinceRegionAndCity(String country, String stateProvinceRegion, String city, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references with a particular country code and state / province / region code and city.
      Parameters:
      country -
      stateProvinceRegion -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressStateProvinceRegionAndAddressCity

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressStateProvinceRegionAndAddressCity(String country, String stateProvinceRegion, String city, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references with a particular country code and state / province / region code and city.
    • findByCountryAndStateProvinceRegionAndPickupLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndStateProvinceRegionAndPickupLocationTrue(String country, String stateProvinceRegion, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that support pickup with a particular country code and state / province / region.
      Parameters:
      country -
      stateProvinceRegion -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressStateProvinceRegionAndPickupLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressStateProvinceRegionAndPickupLocationTrue(String country, String stateProvinceRegion, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that support pickup with a particular country code and state / province / region.
    • findByCountryAndStateProvinceRegionAndStoreLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndStateProvinceRegionAndStoreLocationTrue(String country, String stateProvinceRegion, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are "Store" locations with a particular country code and state / province / region code.
      Parameters:
      country -
      stateProvinceRegion -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressStateProvinceRegionAndStoreLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressStateProvinceRegionAndStoreLocationTrue(String country, String stateProvinceRegion, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are "Store" locations with a particular country code and state / province / region code.
    • findByCountryAndStateProvinceRegionAndCityAndPickupLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndStateProvinceRegionAndCityAndPickupLocationTrue(String country, String stateProvinceRegion, String city, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that support pickup with a particular country code and state / province / region code and city.
      Parameters:
      country -
      stateProvinceRegion -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressStateProvinceRegionAndAddressCityAndPickupLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressStateProvinceRegionAndAddressCityAndPickupLocationTrue(String country, String stateProvinceRegion, String city, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that support pickup with a particular country code and state / province / region code and city.
    • findByCountryAndStateProvinceRegionAndCityAndStoreLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndStateProvinceRegionAndCityAndStoreLocationTrue(String country, String stateProvinceRegion, String city, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are "Store" locations with a particular country code and state / province / region code and city.
      Parameters:
      country -
      stateProvinceRegion -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressStateProvinceRegionAndAddressCityAndStoreLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressStateProvinceRegionAndAddressCityAndStoreLocationTrue(String country, String stateProvinceRegion, String city, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that are "Store" locations with a particular country code and state / province / region code and city.
    • findByCountryAndStateProvinceRegionAndShippingLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndStateProvinceRegionAndShippingLocationTrue(String country, String stateProvinceRegion, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that support shipping with a particular country code and state / province / region code.
      Parameters:
      country -
      stateProvinceRegion -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressStateProvinceRegionAndShippingLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressStateProvinceRegionAndShippingLocationTrue(String country, String stateProvinceRegion, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that support shipping with a particular country code and state / province / region code.
    • findByCountryAndStateProvinceRegionAndCityAndShippingLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByCountryAndStateProvinceRegionAndCityAndShippingLocationTrue(String country, String stateProvinceRegion, String city, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that support shipping with a particular country code and state / province / region code and city.
      Parameters:
      country -
      stateProvinceRegion -
      page -
      contextInfo -
      Returns:
    • findByAddressCountryAndAddressStateProvinceRegionAndAddressCityAndShippingLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressCountryAndAddressStateProvinceRegionAndAddressCityAndShippingLocationTrue(String country, String stateProvinceRegion, String city, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Pageable query for InventoryLocation references that support shipping with a particular country code and state / province / region code and city.
    • findByLocationNumber

      @Policy(operationTypes=READ) Optional<T> findByLocationNumber(String locationNumber, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query for InventoryLocation references with a given location number, which is an arbitrary reference number (e.g. store number, store ID, warehouse ID, etc.)
      Parameters:
      locationNumber -
      contextInfo -
      Returns:
    • findByLocationNumberIn

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByLocationNumberIn(Set<String> locationNumbers, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query for InventoryLocation references with a given location number, which is an arbitrary reference number (e.g. store number, store ID, warehouse ID, etc.)
      Parameters:
      locationNumbers -
      page -
      contextInfo -
      Returns:
    • findByLatitudeBetweenAndLongitudeBetween

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByLatitudeBetweenAndLongitudeBetween(Double minLatitude, Double maxLatitude, Double minLongitude, Double maxLongitude, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query to retrieve all locations (pickup and shipping) within a bounded box.
      Parameters:
      minLatitude -
      maxLatitude -
      minLongitude -
      maxLongitude -
      page -
      contextInfo -
      Returns:
    • findByAddressLatitudeBetweenAndAddressLongitudeBetween

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressLatitudeBetweenAndAddressLongitudeBetween(Double minLatitude, Double maxLatitude, Double minLongitude, Double maxLongitude, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query to retrieve all locations (pickup and shipping) within a bounded box.
    • findByLatitudeBetweenAndLongitudeBetweenAndShippingLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByLatitudeBetweenAndLongitudeBetweenAndShippingLocationTrue(Double minLatitude, Double maxLatitude, Double minLongitude, Double maxLongitude, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query to retrieve all shipping locations with coordinates inside a bounded box.
      Parameters:
      minLatitude -
      maxLatitude -
      minLongitude -
      maxLongitude -
      page -
      contextInfo -
      Returns:
    • findByAddressLatitudeBetweenAndAddressLongitudeBetweenAndShippingLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressLatitudeBetweenAndAddressLongitudeBetweenAndShippingLocationTrue(Double minLatitude, Double maxLatitude, Double minLongitude, Double maxLongitude, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query to retrieve all shipping locations with coordinates inside a bounded box.
    • findByLatitudeBetweenAndLongitudeBetweenAndPickupLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByLatitudeBetweenAndLongitudeBetweenAndPickupLocationTrue(Double minLatitude, Double maxLatitude, Double minLongitude, Double maxLongitude, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query to retrieve all pickup locations with coordinates inside a bounded box.
      Parameters:
      minLatitude -
      maxLatitude -
      minLongitude -
      maxLongitude -
      page -
      contextInfo -
      Returns:
    • findByAddressLatitudeBetweenAndAddressLongitudeBetweenAndPickupLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressLatitudeBetweenAndAddressLongitudeBetweenAndPickupLocationTrue(Double minLatitude, Double maxLatitude, Double minLongitude, Double maxLongitude, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query to retrieve all pickup locations with coordinates inside a bounded box.
    • findByLatitudeBetweenAndLongitudeBetweenAndStoreLocationTrue

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<T> findByLatitudeBetweenAndLongitudeBetweenAndStoreLocationTrue(Double minLatitude, Double maxLatitude, Double minLongitude, Double maxLongitude, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query to retrieve all "Store" locations with coordinates inside a bounded box.
      Parameters:
      minLatitude -
      maxLatitude -
      minLongitude -
      maxLongitude -
      page -
      contextInfo -
      Returns:
    • findByAddressLatitudeBetweenAndAddressLongitudeBetweenAndStoreLocationTrue

      @Deprecated @Policy(operationTypes=READ) default org.springframework.data.domain.Page<T> findByAddressLatitudeBetweenAndAddressLongitudeBetweenAndStoreLocationTrue(Double minLatitude, Double maxLatitude, Double minLongitude, Double maxLongitude, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Query to retrieve all "Store" locations with coordinates inside a bounded box.