@Component(value="blHTMLFieldPersistenceProvider") @Scope(value="prototype") public class HTMLFieldPersistenceProvider extends FieldPersistenceProviderAdapter
| Modifier and Type | Field and Description |
|---|---|
protected String |
staticAssetUrlPrefix |
| Constructor and Description |
|---|
HTMLFieldPersistenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canHandleExtraction(ExtractValueRequest extractValueRequest,
Property property) |
protected boolean |
canHandlePersistence(PopulateValueRequest populateValueRequest,
Serializable instance) |
FieldProviderResponse |
extractValue(ExtractValueRequest extractValueRequest,
Property property)
Retrieve the property value from the requestedValue field from the request.
|
String |
fixAssetPathsForDisplay(String val) |
String |
fixAssetPathsForStorage(String val)
Stores the image paths at the root (e.g.
|
FieldProviderResponse |
populateValue(PopulateValueRequest populateValueRequest,
Serializable instance)
Set the property value on the target object.
|
addSearchMapping, checkDirtyState, filterProperties, getOrder, setNonDisplayableValuesalwaysRun, buildFieldInfo, getListFieldType, getMapFieldType@Value(value="${asset.server.url.prefix.internal}")
protected String staticAssetUrlPrefix
protected boolean canHandlePersistence(PopulateValueRequest populateValueRequest, Serializable instance)
protected boolean canHandleExtraction(ExtractValueRequest extractValueRequest, Property property)
public FieldProviderResponse populateValue(PopulateValueRequest populateValueRequest, Serializable instance) throws PersistenceException
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 requestPersistenceExceptionpublic 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 valuePersistenceExceptionpublic String fixAssetPathsForStorage(String val)
val - Copyright © 2015. All rights reserved.