| Modifier and Type | Method and Description |
|---|---|
Sku |
SkuDaoImpl.create() |
Sku |
SkuDao.create()
Create a new
Sku instance. |
Sku |
SkuDaoImpl.readFirstSku() |
Sku |
SkuDao.readFirstSku()
Retrieve the
Sku instance whose primary key is the smallest
of all skus in the datastore |
Sku |
SkuDaoImpl.readSkuById(Long skuId) |
Sku |
SkuDao.readSkuById(Long skuId)
Retrieve a
Sku instance by its primary key |
Sku |
SkuDaoImpl.save(Sku sku) |
Sku |
SkuDao.save(Sku sku)
Persist a
Sku instance to the datastore |
| Modifier and Type | Method and Description |
|---|---|
List<Sku> |
SkuDaoImpl.readAllSkus() |
List<Sku> |
SkuDao.readAllSkus()
Retrieve all
Sku instances from the datastore |
List<Sku> |
SkuDaoImpl.readSkusById(List<Long> ids) |
List<Sku> |
SkuDao.readSkusById(List<Long> ids)
Find all the
Sku instances whose primary key matches
one of the values from the passed in list |
| Modifier and Type | Method and Description |
|---|---|
void |
SkuDaoImpl.delete(Sku sku) |
void |
SkuDao.delete(Sku sku)
Remove the
Sku instance from the datastore |
Sku |
SkuDaoImpl.save(Sku sku) |
Sku |
SkuDao.save(Sku sku)
Persist a
Sku instance to the datastore |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ProductDaoImpl.attachActiveRestriction(Date currentDate,
javax.persistence.criteria.Path<? extends Product> product,
javax.persistence.criteria.Path<? extends Sku> sku,
List<javax.persistence.criteria.Predicate> restrictions) |
protected void |
ProductDaoImpl.attachOrderBy(ProductSearchCriteria searchCriteria,
javax.persistence.criteria.From<?,? extends Product> product,
javax.persistence.criteria.Path<? extends Sku> sku,
javax.persistence.criteria.CriteriaQuery<?> criteria) |
protected void |
ProductDaoImpl.attachProductSearchCriteria(ProductSearchCriteria searchCriteria,
javax.persistence.criteria.From<?,? extends Product> product,
javax.persistence.criteria.From<?,? extends Sku> sku,
List<javax.persistence.criteria.Predicate> restrictions) |
| Modifier and Type | Class and Description |
|---|---|
class |
SkuImpl
The Class SkuImpl is the default implementation of
Sku. |
| Modifier and Type | Field and Description |
|---|---|
protected Sku |
ProductImpl.defaultSku |
protected Sku |
SkuBundleItemImpl.sku |
protected Sku |
SkuAttributeImpl.sku
The sku.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Sku> |
ProductImpl.additionalSkus |
protected List<Sku> |
ProductImpl.skus |
protected List<Sku> |
SkuFeeImpl.skus |
| Modifier and Type | Method and Description |
|---|---|
Sku |
ProductImpl.getDefaultSku() |
Sku |
Product.getDefaultSku()
Gets the default
Sku associated with this Product. |
Sku |
SkuAttribute.getSku()
Gets the sku.
|
Sku |
SkuBundleItem.getSku() |
Sku |
SkuBundleItemImpl.getSku() |
Sku |
SkuAttributeImpl.getSku() |
protected Sku |
SkuImpl.lookupDefaultSku() |
| Modifier and Type | Method and Description |
|---|---|
List<Sku> |
ProductImpl.getAdditionalSkus() |
List<Sku> |
Product.getAdditionalSkus()
Gets all the additional Skus associated with this Product.
|
List<Sku> |
ProductImpl.getAllSkus() |
List<Sku> |
Product.getAllSkus()
Returns all the
Skus that are associated with this Product (including Product.getDefaultSku())
regardless of whether or not the Skus are active or not
Note: in the event that the default Sku was added to the list of Product.getAdditionalSkus(), it is filtered out
so that only a single instance of Product.getDefaultSku() is contained in the resulting list |
List<Sku> |
ProductImpl.getSkus() |
List<Sku> |
SkuFee.getSkus()
Gets the Skus associated with this surcharge
|
List<Sku> |
SkuFeeImpl.getSkus() |
List<Sku> |
Product.getSkus()
Returns a list of
Skus filtered by whether the Skus are active or not. |
| Modifier and Type | Method and Description |
|---|---|
Money |
SkuBundleItemImpl.getDynamicSalePrice(Sku sku,
BigDecimal salePrice) |
void |
ProductImpl.setDefaultSku(Sku defaultSku) |
void |
Product.setDefaultSku(Sku defaultSku)
Sets the default Sku for this Product
Note: this operation is cascaded with CascadeType.ALL which saves from having to persist the Product in 2 operations: first persist the Sku and then take the merged Sku, set it as this Product's default Sku, and then persist this Product. |
void |
SkuAttribute.setSku(Sku sku)
Sets the sku.
|
void |
SkuBundleItem.setSku(Sku sku) |
void |
SkuBundleItemImpl.setSku(Sku sku) |
void |
SkuAttributeImpl.setSku(Sku sku) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProductImpl.setAdditionalSkus(List<Sku> skus) |
void |
Product.setAdditionalSkus(List<Sku> skus)
Sets the additional Skus associated to this Product.
|
void |
SkuFee.setSkus(List<Sku> skus)
Sets the Skus associated with this surcharge
|
void |
SkuFeeImpl.setSkus(List<Sku> skus) |
| Modifier and Type | Method and Description |
|---|---|
Sku |
CatalogServiceImpl.createSku() |
Sku |
CatalogService.createSku() |
Sku |
CatalogServiceImpl.findSkuById(Long skuId) |
Sku |
CatalogService.findSkuById(Long skuId) |
Sku |
CatalogServiceImpl.saveSku(Sku sku) |
Sku |
CatalogService.saveSku(Sku sku) |
| Modifier and Type | Method and Description |
|---|---|
List<Sku> |
CatalogServiceImpl.findAllSkus() |
List<Sku> |
CatalogService.findAllSkus() |
List<Sku> |
CatalogServiceImpl.findSkusByIds(List<Long> ids) |
List<Sku> |
CatalogService.findSkusByIds(List<Long> ids) |
| Modifier and Type | Method and Description |
|---|---|
Sku |
CatalogServiceImpl.saveSku(Sku sku) |
Sku |
CatalogService.saveSku(Sku sku) |
| Modifier and Type | Method and Description |
|---|---|
Date |
DynamicSkuActiveDatesService.getDynamicSkuActiveEndDate(Sku sku)
Returns the activeEndDate for the SKU if it has been overridden.
|
Date |
DynamicSkuActiveDatesService.getDynamicSkuActiveStartDate(Sku sku)
Returns the activeStartDate for the SKU if it has been overridden.
|
DynamicSkuPrices |
DynamicSkuPricingService.getSkuPrices(Sku sku,
HashMap skuPricingConsiderations)
While this method should return a
DynamicSkuPrices (and not just null) the members of the result can all
be null; they do not have to be set |
DynamicSkuPrices |
DefaultDynamicSkuPricingServiceImpl.getSkuPrices(Sku sku,
HashMap skuPricingConsiderations) |
| Constructor and Description |
|---|
DefaultDynamicSkuPricingInvocationHandler(Sku sku) |
DefaultDynamicSkuPricingInvocationHandler(Sku sku,
BigDecimal salePriceOverride)
This is used with SkuBundleItem to allow the bundle override price.
|
DefaultDynamicSkuPricingInvocationHandler(Sku sku,
Money adjustments)
Used to add ProductOptionValue price adjustments to the proxy Sku
|
| Modifier and Type | Method and Description |
|---|---|
Map<Sku,Integer> |
InventoryServiceImpl.retrieveQuantitiesAvailable(Collection<Sku> skus) |
Map<Sku,Integer> |
InventoryService.retrieveQuantitiesAvailable(Collection<Sku> skus)
Retrieves the quantity available for a given sku.
|
Map<Sku,Integer> |
InventoryServiceImpl.retrieveQuantitiesAvailable(Collection<Sku> skus,
Map<String,Object> context) |
Map<Sku,Integer> |
ContextualInventoryService.retrieveQuantitiesAvailable(Collection<Sku> skus,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
InventoryServiceImpl.checkBasicAvailablility(Sku sku) |
boolean |
InventoryService.checkBasicAvailablility(Sku sku)
Without worrying about quantities, just checks to see if the given Sku is available.
|
void |
InventoryServiceImpl.decrementInventory(Sku sku,
int quantity) |
void |
InventoryService.decrementInventory(Sku sku,
int quantity)
Attempts to decrement inventory if it is available.
|
void |
InventoryServiceImpl.decrementInventory(Sku sku,
int quantity,
Map<String,Object> context) |
void |
ContextualInventoryService.decrementInventory(Sku sku,
int quantity,
Map<String,Object> context)
Pass through for
ContextualInventoryService.decrementInventory(Map, Map) |
void |
InventoryServiceImpl.incrementInventory(Sku sku,
int quantity) |
void |
InventoryService.incrementInventory(Sku sku,
int quantity)
Attempts to increment inventory.
|
void |
InventoryServiceImpl.incrementInventory(Sku sku,
int quantity,
Map<String,Object> context) |
void |
ContextualInventoryService.incrementInventory(Sku sku,
int quantity,
Map<String,Object> context) |
boolean |
InventoryServiceImpl.isAvailable(Sku sku,
int quantity) |
boolean |
InventoryService.isAvailable(Sku sku,
int quantity)
Indicates whether the given quantity is available for the particular skuId.
|
boolean |
InventoryServiceImpl.isAvailable(Sku sku,
int quantity,
Map<String,Object> context) |
boolean |
ContextualInventoryService.isAvailable(Sku sku,
int quantity,
Map<String,Object> context) |
Integer |
InventoryServiceImpl.retrieveQuantityAvailable(Sku sku) |
Integer |
InventoryService.retrieveQuantityAvailable(Sku sku)
Retrieves the quantity available for a given sku.
|
Integer |
InventoryServiceImpl.retrieveQuantityAvailable(Sku sku,
Map<String,Object> context) |
Integer |
ContextualInventoryService.retrieveQuantityAvailable(Sku sku,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
void |
InventoryServiceImpl.decrementInventory(Map<Sku,Integer> skuQuantities) |
void |
InventoryService.decrementInventory(Map<Sku,Integer> skuQuantities)
Attempts to decrement inventory for a map of Skus and quantities
|
void |
InventoryServiceImpl.decrementInventory(Map<Sku,Integer> skuQuantities,
Map<String,Object> context) |
void |
ContextualInventoryService.decrementInventory(Map<Sku,Integer> skuQuantities,
Map<String,Object> context)
Usually invoked from
DecrementInventoryActivity |
ExtensionResultStatusType |
AbstractInventoryServiceExtensionHandler.decrementInventory(Map<Sku,Integer> skuQuantities,
Map<String,Object> context) |
ExtensionResultStatusType |
InventoryServiceExtensionHandler.decrementInventory(Map<Sku,Integer> skuQuantities,
Map<String,Object> context)
Usually invoked within the
DecrementInventoryActivity to decrement inventory for the Skus that are in
skuQuantities |
void |
InventoryServiceImpl.incrementInventory(Map<Sku,Integer> skuQuantities) |
void |
InventoryService.incrementInventory(Map<Sku,Integer> skuQuantities)
Attempts to increment inventory for a map of Skus and quantities.
|
void |
InventoryServiceImpl.incrementInventory(Map<Sku,Integer> skuQuantities,
Map<String,Object> context) |
void |
ContextualInventoryService.incrementInventory(Map<Sku,Integer> skuQuantities,
Map<String,Object> context)
Callers that invoke this method directly should check for a
ContextualInventoryService.ROLLBACK_STATE_KEY in the given context. |
ExtensionResultStatusType |
AbstractInventoryServiceExtensionHandler.incrementInventory(Map<Sku,Integer> skuQuantities,
Map<String,Object> context) |
ExtensionResultStatusType |
InventoryServiceExtensionHandler.incrementInventory(Map<Sku,Integer> skuQuantities,
Map<String,Object> context) |
Map<Sku,Integer> |
InventoryServiceImpl.retrieveQuantitiesAvailable(Collection<Sku> skus) |
Map<Sku,Integer> |
InventoryService.retrieveQuantitiesAvailable(Collection<Sku> skus)
Retrieves the quantity available for a given sku.
|
Map<Sku,Integer> |
InventoryServiceImpl.retrieveQuantitiesAvailable(Collection<Sku> skus,
Map<String,Object> context) |
Map<Sku,Integer> |
ContextualInventoryService.retrieveQuantitiesAvailable(Collection<Sku> skus,
Map<String,Object> context) |
ExtensionResultStatusType |
AbstractInventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus,
Map<String,Object> context,
ExtensionResultHolder<Map<Sku,Integer>> result) |
ExtensionResultStatusType |
AbstractInventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus,
Map<String,Object> context,
ExtensionResultHolder<Map<Sku,Integer>> result) |
ExtensionResultStatusType |
InventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus,
Map<String,Object> context,
ExtensionResultHolder<Map<Sku,Integer>> result)
Usually invoked within the
CheckAvailabilityActivity to retrieve the quantity that is available for the given
skus. |
ExtensionResultStatusType |
InventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus,
Map<String,Object> context,
ExtensionResultHolder<Map<Sku,Integer>> result)
Usually invoked within the
CheckAvailabilityActivity to retrieve the quantity that is available for the given
skus. |
| Modifier and Type | Field and Description |
|---|---|
protected Sku |
BundleOrderItemImpl.sku |
protected Sku |
DiscreteOrderItemImpl.sku |
| Modifier and Type | Method and Description |
|---|---|
Sku |
BundleOrderItemImpl.getSku() |
Sku |
DiscreteOrderItem.getSku() |
Sku |
DiscreteOrderItemImpl.getSku() |
Sku |
SkuAccessor.getSku() |
Sku |
BundleOrderItem.getSku()
For BundleOrderItem created from a ProductBundle, this will represent the default sku of
the product bundle.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Order.containsSku(Sku sku)
Checks the DiscreteOrderItems in the cart and returns whether or not the given SKU was found.
|
boolean |
OrderImpl.containsSku(Sku sku) |
boolean |
NullOrderImpl.containsSku(Sku sku) |
void |
BundleOrderItemImpl.setSku(Sku sku) |
void |
DiscreteOrderItem.setSku(Sku sku) |
void |
DiscreteOrderItemImpl.setSku(Sku sku) |
void |
BundleOrderItem.setSku(Sku sku) |
void |
DynamicPriceDiscreteOrderItemImpl.setSku(Sku sku) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
OrderServiceImpl.itemMatches(Sku item1Sku,
Product item1Product,
Map<String,OrderItemAttribute> item1Attributes,
OrderItemRequestDTO item2) |
| Modifier and Type | Field and Description |
|---|---|
protected Sku |
ProductBundleOrderItemRequest.sku |
protected Sku |
AbstractOrderItemRequest.sku |
| Modifier and Type | Method and Description |
|---|---|
Sku |
ProductBundleOrderItemRequest.getSku() |
Sku |
AbstractOrderItemRequest.getSku() |
| Modifier and Type | Method and Description |
|---|---|
ProductBundleOrderItemRequest |
ProductBundleOrderItemRequest.setSku(Sku sku) |
void |
AbstractOrderItemRequest.setSku(Sku sku) |
| Modifier and Type | Method and Description |
|---|---|
protected Sku |
LegacyOrderServiceImpl.determineSku(Product product,
Long skuId,
Map<String,String> attributeValues)
Deprecated.
|
protected Sku |
LegacyOrderServiceImpl.findMatchingSku(Product product,
Map<String,String> attributeValues)
Deprecated.
Checks to make sure the correct SKU is still attached to the order.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
LegacyOrderServiceImpl.checkSkuForMatch(Sku sku,
Map<String,String> attributeValues)
Deprecated.
|
DiscreteOrderItemRequest |
LegacyOrderServiceImpl.createDiscreteOrderItemRequest(Order order,
BundleOrderItem bundleOrderItem,
Sku sku,
Product product,
Category category,
Integer quantity,
Map<String,String> itemAttributes)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Sku |
ValidateAddRequestActivity.determineSku(Product product,
Long skuId,
Map<String,String> attributeValues,
ActivityMessages messages) |
protected Sku |
ValidateAddRequestActivity.findMatchingSku(Product product,
Map<String,String> attributeValues,
ActivityMessages messages) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ValidateAddRequestActivity.checkSkuForMatch(Sku sku,
Map<String,String> attributeValues) |
| Modifier and Type | Method and Description |
|---|---|
protected FulfillmentType |
FulfillmentGroupItemStrategyImpl.resolveFulfillmentType(Sku sku) |
Copyright © 2014. All Rights Reserved.