@Scope(value="prototype") @Component(value="blSkuPricingPersistenceProvider") public class SkuPricingPersistenceProvider extends AbstractMoneyFieldPersistenceProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
ORDER |
| Constructor and Description |
|---|
SkuPricingPersistenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canHandleExtraction(ExtractValueRequest extractValueRequest,
Property property)
Handle all fields that have declared themselves to be apart of a Sku and have a field type of Money
|
FieldProviderResponse |
extractValue(ExtractValueRequest extractValueRequest,
Property property)
Retrieve the property value from the requestedValue field from the request.
|
protected String |
formatDisplayValue(Object value,
ExtractValueRequest extractValueRequest,
Property property) |
protected String |
formatValue(Object value,
ExtractValueRequest extractValueRequest,
Property property) |
protected Currency |
getCurrency(ExtractValueRequest extractValueRequest,
Property property) |
protected Locale |
getLocale(ExtractValueRequest extractValueRequest,
Property property) |
int |
getOrder() |
protected boolean |
isDefaultSkuProperty(ExtractValueRequest extractValueRequest,
Property property) |
formatDisplayValue, formatValueaddSearchMapping, checkDirtyState, filterProperties, populateValue, setNonDisplayableValuesalwaysRun, buildFieldInfo, getListFieldType, getMapFieldTypepublic int getOrder()
getOrder in interface org.springframework.core.OrderedgetOrder in class FieldPersistenceProviderAdapterpublic FieldProviderResponse extractValue(ExtractValueRequest extractValueRequest, Property property) throws PersistenceException
FieldPersistenceProviderextractValue in interface FieldPersistenceProviderextractValue in class AbstractMoneyFieldPersistenceProviderextractValueRequest - contains the requested value and support classes.property - the property for the admin that will contain the information harvested from the persistence valuePersistenceExceptionprotected String formatValue(Object value, ExtractValueRequest extractValueRequest, Property property)
protected String formatDisplayValue(Object value, ExtractValueRequest extractValueRequest, Property property)
protected boolean canHandleExtraction(ExtractValueRequest extractValueRequest, Property property)
canHandleExtraction in class AbstractMoneyFieldPersistenceProviderextractValueRequest - property - protected boolean isDefaultSkuProperty(ExtractValueRequest extractValueRequest, Property property)
protected Locale getLocale(ExtractValueRequest extractValueRequest, Property property)
getLocale in class AbstractMoneyFieldPersistenceProviderprotected Currency getCurrency(ExtractValueRequest extractValueRequest, Property property)
getCurrency in class AbstractMoneyFieldPersistenceProviderCopyright © 2015. All rights reserved.