Uses of Interface
com.broadleafcommerce.inventory.domain.SkuReferenceFieldType
-
-
Uses of SkuReferenceFieldType in com.broadleafcommerce.inventory.domain
Classes in com.broadleafcommerce.inventory.domain that implement SkuReferenceFieldType Modifier and Type Class Description class
DefaultSkuReferenceFieldType
Default enumerated instance ofSkuReferenceFieldType
. -
Uses of SkuReferenceFieldType in com.broadleafcommerce.inventory.provider.jpa.repository
Methods in com.broadleafcommerce.inventory.provider.jpa.repository with parameters of type SkuReferenceFieldType Modifier and Type Method Description List<D>
DefaultJpaCustomizableSkuInventoryRepository. findAvailableBySkuReferenceForQuantity(Map<String,Integer> skuReferenceQuantities, SkuReferenceFieldType skuReferenceFieldType, String inventoryLocationId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
List<D>
DefaultJpaCustomizableSkuInventoryRepository. findAvailableBySkuReferenceForQuantity(Map<String,Integer> skuReferenceQuantities, SkuReferenceFieldType skuReferenceFieldType, Optional<Boolean> shippingLocation, Optional<Boolean> pickupLocation, Optional<Boolean> storeLocation, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
List<D>
DefaultJpaCustomizableSkuInventoryRepository. findAvailableBySkuReferenceForQuantity(Set<String> skuReferences, int minQuantityAvailable, SkuReferenceFieldType skuReferenceFieldType, Optional<Boolean> shippingLocation, Optional<Boolean> pickupLocation, Optional<Boolean> storeLocation, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
List<D>
DefaultJpaCustomizableSkuInventoryRepository. findBySkuReferencesAndLocationId(Set<String> skuReferences, Integer minQuantity, String locationId, SkuReferenceFieldType skuReferenceFieldType, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
boolean
DefaultJpaCustomizableSkuInventoryRepository. isAvailableBySkuReferenceForQuantity(String skuReference, int quantity, SkuReferenceFieldType skuReferenceFieldType, Optional<Boolean> shippingLocation, Optional<Boolean> pickupLocation, Optional<Boolean> storeLocation, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Object[][]
DefaultJpaCustomizableSkuInventoryRepository. readSummaryAvailability(SkuReferenceFieldType skuReferenceFieldType, Set<String> skuReferences, int minQuantity, Optional<Boolean> shippingLocation, Optional<Boolean> pickupLocation, Optional<Boolean> storeLocation, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
protected String
DefaultJpaCustomizableSkuInventoryRepository. resolveSkuRefFieldName(SkuReferenceFieldType skuRefFieldType)
Resolves the name of the field that should be used in a Predicate based on the providedSkuReferenceFieldType
. -
Uses of SkuReferenceFieldType in com.broadleafcommerce.inventory.repository
Methods in com.broadleafcommerce.inventory.repository with parameters of type SkuReferenceFieldType Modifier and Type Method Description List<D>
CustomizableSkuInventoryRepository. findAvailableBySkuReferenceForQuantity(Map<String,Integer> skuReferenceQuantities, SkuReferenceFieldType skuReferenceFieldType, String inventoryLocationId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
FindsSkuInventory
records with at least the mapped available quantities for a given inventory location.List<D>
CustomizableSkuInventoryRepository. findAvailableBySkuReferenceForQuantity(Map<String,Integer> skuReferenceQuantities, SkuReferenceFieldType skuReferenceFieldType, Optional<Boolean> shippingLocation, Optional<Boolean> pickupLocation, Optional<Boolean> storeLocation, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
FindsSkuInventory
records with the mapped available quantities for given fulfillment types.List<D>
CustomizableSkuInventoryRepository. findAvailableBySkuReferenceForQuantity(Set<String> skuReferences, int minQuantityAvailable, SkuReferenceFieldType skuReferenceFieldType, Optional<Boolean> shippingLocation, Optional<Boolean> pickupLocation, Optional<Boolean> storeLocation, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Finds availableSkuInventory
records for the provided skuReferences where each have at least the minQuantityAvailable.List<D>
CustomizableSkuInventoryRepository. findBySkuReferencesAndLocationId(Set<String> skuReferences, Integer minQuantity, String locationId, SkuReferenceFieldType skuReferenceFieldType, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
RetrievesSkuInventory
records, filtering onSkuRef
, based on the skuReferenceFieldType parameter, andInventoryLocation.getId()
.boolean
CustomizableSkuInventoryRepository. isAvailableBySkuReferenceForQuantity(String skuReference, int quantity, SkuReferenceFieldType skuReferenceFieldType, Optional<Boolean> shippingLocation, Optional<Boolean> pickupLocation, Optional<Boolean> storeLocation, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Determines if theSkuInventory
, identified by skuReference, is available for the specified quantity across one or moreInventoryLocation
s, identified by their allowed fulfillment types.Object[][]
CustomizableSkuInventoryRepository. readSummaryAvailability(SkuReferenceFieldType skuReferenceFieldType, Set<String> skuReferences, int minQuantity, Optional<Boolean> shippingLocation, Optional<Boolean> pickupLocation, Optional<Boolean> storeLocation, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Queries for applications and tenant IDs associated with the requested availability. -
Uses of SkuReferenceFieldType in com.broadleafcommerce.inventory.service
Methods in com.broadleafcommerce.inventory.service that return SkuReferenceFieldType Modifier and Type Method Description SkuReferenceFieldType
DefaultSkuFieldReferenceTypeUtility. determineSkuFieldReferenceType(String type, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
SkuReferenceFieldType
SkuFieldReferenceTypeUtility. determineSkuFieldReferenceType(String type, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
SkuRef
has a number of fields that may be used to uniquely identify a SKU (e.g.Methods in com.broadleafcommerce.inventory.service with parameters of type SkuReferenceFieldType Modifier and Type Method Description String
DefaultSkuFieldReferenceTypeUtility. determineSkuRefValue(SkuReferenceFieldType refType, SkuRef skuRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
protected String
DefaultSkuInventoryService. determineSkuRefValue(SkuReferenceFieldType skuReferenceFieldType, I skuInventory, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
String
SkuFieldReferenceTypeUtility. determineSkuRefValue(SkuReferenceFieldType type, SkuRef skuRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
protected List<I>
DefaultSkuInventoryService. getAvailableSkuInventories(SkuInventoryReservationRequestGroup group, SkuReferenceFieldType fieldType, Map<String,Integer> totalRequestedQuantitiesBySkuReference, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
SkuRef
DefaultSkuFieldReferenceTypeUtility. mapValueToSkuRef(SkuReferenceFieldType type, String value, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
SkuRef
SkuFieldReferenceTypeUtility. mapValueToSkuRef(SkuReferenceFieldType type, String value, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Convenience utility method to create aSkuRef
containing the right field value based on the providedSkuReferenceFieldType
.List<I>
DefaultSkuInventoryService. readSkuInventoryDetails(SkuReferenceFieldType skuRefType, Set<String> skuRefs, InventoryLocation location, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<I>
SkuInventoryService. readSkuInventoryDetails(SkuReferenceFieldType skuRefType, Set<String> skuRefs, InventoryLocation location, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
ReadsSkuInventory
details based on specificSkuRef
details, specified by theSkuReferenceFieldType
for a givenInventoryLocation
.protected void
DefaultSkuInventoryService. validateSufficientAvailableInventory(List<I> availableSkuInventories, Map<String,Integer> totalRequestedQuantitiesBySkuReference, SkuReferenceFieldType skuReferenceFieldType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-