| Modifier and Type | Method and Description |
|---|---|
protected void |
SkuCustomPersistenceHandler.associateProductOptionValuesToSku(Entity entity,
Sku adminInstance,
DynamicEntityDao dynamicEntityDao)
This initially removes all of the product option values that are currently related to the Sku and then re-associates
the
PrdouctOptionValues |
static String |
SkuCustomPersistenceHandler.getStringValueFromGetter(String propertyName,
Sku sku,
RecordHelper helper)
Under the covers this uses PropertyUtils to call the getter of the property name for the given Sku, then undergoes
conversion according to the formatters from helper.
|
protected Entity |
SkuCustomPersistenceHandler.validateUniqueProductOptionValueCombination(Product product,
List<Property> productOptionProperties,
Sku currentSku)
Ensures that the given list of
ProductOptionValue IDs is unique for the given Product |
| 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 |
SkuAttributeImpl.sku
The sku.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Sku> |
ProductImpl.additionalSkus
The all skus.
|
protected List<Sku> |
ProductImpl.skus
The 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 |
|---|---|
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 | 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) |
protected Sku |
ValidateAddRequestActivity.findMatchingSku(Product product,
Map<String,String> attributeValues) |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
void |
SkuWrapper.wrap(Sku model,
javax.servlet.http.HttpServletRequest request) |
Copyright © 2014. All rights reserved.