public abstract class AbstractMoneyFieldPersistenceProvider extends FieldPersistenceProviderAdapter
| Constructor and Description |
|---|
AbstractMoneyFieldPersistenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
canHandleExtraction(ExtractValueRequest extractValueRequest,
Property property) |
FieldProviderResponse |
extractValue(ExtractValueRequest extractValueRequest,
Property property)
Retrieve the property value from the requestedValue field from the request.
|
protected String |
formatDisplayValue(BigDecimal value,
ExtractValueRequest extractValueRequest,
Property property) |
protected String |
formatValue(BigDecimal value,
ExtractValueRequest extractValueRequest,
Property property) |
protected abstract Currency |
getCurrency(ExtractValueRequest extractValueRequest,
Property property) |
protected abstract Locale |
getLocale(ExtractValueRequest extractValueRequest,
Property property) |
addSearchMapping, checkDirtyState, filterProperties, getOrder, populateValue, setNonDisplayableValuesalwaysRun, buildFieldInfo, getListFieldType, getMapFieldTypepublic AbstractMoneyFieldPersistenceProvider()
public FieldProviderResponse extractValue(ExtractValueRequest extractValueRequest, Property property) throws PersistenceException
FieldPersistenceProviderextractValue in interface FieldPersistenceProviderextractValue in class FieldPersistenceProviderAdapterextractValueRequest - 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(BigDecimal value, ExtractValueRequest extractValueRequest, Property property)
protected String formatDisplayValue(BigDecimal value, ExtractValueRequest extractValueRequest, Property property)
protected abstract boolean canHandleExtraction(ExtractValueRequest extractValueRequest, Property property)
protected abstract Locale getLocale(ExtractValueRequest extractValueRequest, Property property)
protected abstract Currency getCurrency(ExtractValueRequest extractValueRequest, Property property)
Copyright © 2017. All rights reserved.