@Component(value="blProductParentCategoryFieldPersistenceProvider") @Scope(value="prototype") public class ProductParentCategoryFieldPersistenceProvider extends FieldPersistenceProviderAdapter
| Modifier and Type | Field and Description |
|---|---|
protected ProductParentCategoryFieldPersistenceProviderExtensionManager |
extensionManager |
| Constructor and Description |
|---|
ProductParentCategoryFieldPersistenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canHandleExtraction(ExtractValueRequest extractValueRequest,
Property property) |
protected boolean |
canHandlePersistence(PopulateValueRequest populateValueRequest,
Serializable instance) |
protected boolean |
checkDirtyState(Product instance,
Long checkValue) |
FieldProviderResponse |
extractValue(ExtractValueRequest extractValueRequest,
Property property)
Retrieve the property value from the requestedValue field from the request.
|
protected Category |
getDefaultCategory(Product product) |
int |
getOrder() |
FieldProviderResponse |
populateValue(PopulateValueRequest populateValueRequest,
Serializable instance)
Set the property value on the target object.
|
addSearchMapping, checkDirtyState, filterProperties, setNonDisplayableValuesalwaysRun, buildFieldInfo, getListFieldType, getMapFieldTypeprotected ProductParentCategoryFieldPersistenceProviderExtensionManager extensionManager
public ProductParentCategoryFieldPersistenceProvider()
public FieldProviderResponse populateValue(PopulateValueRequest populateValueRequest, Serializable instance)
FieldPersistenceProviderpopulateValue in interface FieldPersistenceProviderpopulateValue in class FieldPersistenceProviderAdapterpopulateValueRequest - contains the requested value and support classes.instance - the persistence entity instance on which to set the value harvested from the requestpublic FieldProviderResponse extractValue(ExtractValueRequest extractValueRequest, Property property)
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 valueprotected boolean canHandlePersistence(PopulateValueRequest populateValueRequest, Serializable instance)
protected boolean canHandleExtraction(ExtractValueRequest extractValueRequest, Property property)
public int getOrder()
getOrder in interface org.springframework.core.OrderedgetOrder in class FieldPersistenceProviderAdapterCopyright © 2015. All rights reserved.