@Component(value="blCategoryParentCategoryFieldPersistenceProvider") @Scope(value="prototype") public class CategoryParentCategoryFieldPersistenceProvider extends FieldPersistenceProviderAdapter
| Modifier and Type | Field and Description |
|---|---|
protected CategoryParentCategoryFieldPersistenceProviderExtensionManager |
extensionManager |
| Constructor and Description |
|---|
CategoryParentCategoryFieldPersistenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canHandleExtraction(ExtractValueRequest extractValueRequest,
Property property) |
protected boolean |
canHandlePersistence(PopulateValueRequest populateValueRequest,
Serializable instance) |
protected boolean |
checkDirtyState(Category instance,
Long checkValue) |
FieldProviderResponse |
extractValue(ExtractValueRequest extractValueRequest,
Property property)
Retrieve the property value from the requestedValue field from the request.
|
protected Category |
getDefaultCategory(Category category) |
int |
getOrder() |
FieldProviderResponse |
populateValue(PopulateValueRequest populateValueRequest,
Serializable instance)
Set the property value on the target object.
|
addSearchMapping, checkDirtyState, filterProperties, setNonDisplayableValuesalwaysRun, buildFieldInfo, getListFieldType, getMapFieldTypeprotected CategoryParentCategoryFieldPersistenceProviderExtensionManager extensionManager
public CategoryParentCategoryFieldPersistenceProvider()
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.